:root {
  --bg-deep: #0B1026;
  --bg-nebula: #11203B;
  --bg-elevated: #172A4D;
  --accent-silver: #5B8DEF;
  --accent-purple: #9B6DFF;
  --accent-teal: #2DD4BF;
  --accent-gold: #FBBF24;
  --text-light: #E2E8F0;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  --line-glow: rgba(91, 141, 239, 0.22);
  --line-purple: rgba(155, 109, 255, 0.3);
  --font-heading: "Orbitron", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-sm: 14px;
  --container-width: 1200px;
  --header-width: 1320px;
  --shadow-header: 0 12px 40px rgba(5, 8, 26, 0.55);
  --shadow-card: 0 18px 50px rgba(5, 8, 26, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-deep); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-silver); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--accent-silver); text-decoration: underline; }

body {
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(720px 420px at 85% 8%, rgba(91, 141, 239, 0.14), transparent 60%),
    radial-gradient(640px 420px at 8% 26%, rgba(155, 109, 255, 0.1), transparent 60%),
    radial-gradient(720px 500px at 55% 100%, rgba(45, 212, 191, 0.05), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(226, 232, 240, 0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 78% 12%, rgba(155, 109, 255, 0.55) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 66% 78%, rgba(91, 141, 239, 0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 32% 70%, rgba(226, 232, 240, 0.32) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 62%, rgba(45, 212, 191, 0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 48% 42%, rgba(226, 232, 240, 0.26) 50%, transparent 50%),
    radial-gradient(1px 1px at 20% 88%, rgba(226, 232, 240, 0.22) 50%, transparent 50%);
  background-size: 480px 480px;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.18; font-weight: 700; color: var(--text-light); letter-spacing: 0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { color: var(--text-light); }

::selection { background: rgba(155, 109, 255, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-purple); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0B1026; }
::-webkit-scrollbar-thumb { background: #1E2F52; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2E4473; }

.container { width: min(100% - 2.5rem, var(--container-width)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 0.75rem;
}
.section-kicker::before { content: ""; width: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-purple)); }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 0.75rem; }
.section-lead { color: var(--text-muted); font-size: 1.05rem; max-width: 56ch; }

.page-header { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem); }
.page-header__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 0.9rem;
}
.page-header__title { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18em; }
.page-header__lead { margin-top: 1rem; color: var(--text-muted); max-width: 60ch; font-size: 1.1rem; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; padding: 0; margin: 0 0 2.25rem; list-style: none; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-inline: 0.4rem; color: rgba(148, 163, 184, 0.5); }
.breadcrumb a { color: var(--accent-silver); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-light); }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(145deg, rgba(17, 32, 59, 0.85), rgba(11, 16, 38, 0.9));
  border: 1px solid var(--line-glow);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(91, 141, 239, 0.45); box-shadow: var(--shadow-card), 0 0 0 1px rgba(91, 141, 239, 0.1); }
.card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card__text { color: var(--text-muted); font-size: 0.95rem; flex: 1 1 auto; }
.card--accent { border-top: 3px solid var(--accent-purple); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--accent-silver) 0%, var(--accent-purple) 100%); color: var(--bg-deep); box-shadow: 0 4px 24px rgba(91, 141, 239, 0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(91, 141, 239, 0.5); color: var(--bg-deep); }
.btn--ghost { background: rgba(91, 141, 239, 0.08); border-color: rgba(91, 141, 239, 0.45); color: var(--accent-silver); }
.btn--ghost:hover { background: rgba(91, 141, 239, 0.14); border-color: var(--accent-silver); transform: translateY(-2px); color: var(--accent-silver); }
.btn--purple { background: rgba(155, 109, 255, 0.12); border-color: rgba(155, 109, 255, 0.5); color: #B89BFF; }
.btn--purple:hover { background: rgba(155, 109, 255, 0.2); border-color: var(--accent-purple); transform: translateY(-2px); color: #C9B3FF; }

.panel { background: var(--bg-nebula); border: 1px solid var(--line-glow); border-radius: var(--radius-card); padding: clamp(1.5rem, 4vw, 2.5rem); }
.alert { display: flex; align-items: flex-start; gap: 0.75rem; border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; border: 1px solid; font-size: 0.95rem; }
.alert--notice { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.35); color: #FDE68A; }
.alert--success { background: rgba(45, 212, 191, 0.08); border-color: rgba(45, 212, 191, 0.35); color: #99F6E4; }

.tag { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); background: rgba(155, 109, 255, 0.12); border: 1px solid rgba(155, 109, 255, 0.3); color: #C4B5FD; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; }
.tag--silver { background: rgba(91, 141, 239, 0.12); border-color: rgba(91, 141, 239, 0.3); color: #93C5FD; }
.tag--teal { background: rgba(45, 212, 191, 0.1); border-color: rgba(45, 212, 191, 0.3); color: #5EEAD4; }

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-teal); box-shadow: 0 0 8px rgba(45, 212, 191, 0.8); flex-shrink: 0; }
.status-dot--purple { background: var(--accent-purple); box-shadow: 0 0 8px rgba(155, 109, 255, 0.8); }
.status-dot--gold { background: var(--accent-gold); box-shadow: 0 0 8px rgba(251, 191, 36, 0.8); }

.muted { color: var(--text-muted); }
.text-gradient {
  background: linear-gradient(135deg, #E2E8F0 0%, #93C5FD 45%, #C4B5FD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hr-cosmic { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(91, 141, 239, 0.5), rgba(155, 109, 255, 0.5), transparent); margin: 2rem 0; }

.image-frame { position: relative; border-radius: var(--radius-card); overflow: hidden; background: linear-gradient(145deg, var(--bg-nebula), #0B1026); border: 1px solid var(--line-glow); aspect-ratio: 4 / 3; }
.image-frame--wide { aspect-ratio: 16 / 9; }
.image-frame--portrait { aspect-ratio: 3 / 4; }
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(91, 141, 239, 0.18), transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(155, 109, 255, 0.14), transparent 50%);
  opacity: 0.8;
  transition: opacity 0.4s ease;
}
.image-frame:hover::before { opacity: 1; }
.image-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

.skip-link {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  z-index: 1300;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-silver), var(--accent-purple));
  color: var(--bg-deep);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(91, 141, 239, 0.4);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus-visible { transform: translateX(-50%) translateY(0); text-decoration: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-silver), var(--accent-purple), var(--accent-teal));
  z-index: 1200;
  pointer-events: none;
}

.site-header { position: sticky; top: 14px; z-index: 1100; padding-inline: 1.5rem; }
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: var(--header-width);
  margin-inline: auto;
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 38, 0.82);
  border: 1px solid rgba(91, 141, 239, 0.2);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-header);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.site-brand:hover { color: #fff; text-decoration: none; }
.site-brand__mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  border: 1px solid rgba(91, 141, 239, 0.5);
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.2), rgba(155, 109, 255, 0.12));
  animation: brand-pulse 4.5s ease-in-out infinite;
}
.site-brand__mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(226, 232, 240, 0.45);
}
.site-brand__mark::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-silver);
  box-shadow: 0 0 10px rgba(91, 141, 239, 0.9), 0 0 3px rgba(91, 141, 239, 1);
}
@keyframes brand-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(91, 141, 239, 0.35); }
  50% { box-shadow: 0 0 22px rgba(155, 109, 255, 0.55), 0 0 4px rgba(91, 141, 239, 0.4); }
}
.site-brand__text { letter-spacing: 0.04em; }
.site-brand__text strong { font-weight: 800; color: #fff; }
.site-brand__region { font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0.18em; margin-left: 0.15rem; }
.site-brand--footer { font-size: 1.3rem; }

.site-nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav__item { list-style: none; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.site-nav__link:hover { color: var(--text-light); background: rgba(91, 141, 239, 0.12); text-decoration: none; }
.site-nav__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.28), rgba(155, 109, 255, 0.22));
  box-shadow: inset 0 0 0 1px rgba(91, 141, 239, 0.4), 0 0 16px rgba(91, 141, 239, 0.15);
}
.site-nav__toggle { display: none; padding: 0; border: 0; background: transparent; cursor: pointer; }
.site-nav__toggle-bar { display: block; border-radius: 2px; }

.return-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(91, 141, 239, 0.45);
  background: rgba(11, 16, 38, 0.9);
  color: var(--accent-silver);
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.return-top:hover { border-color: var(--accent-purple); color: #fff; box-shadow: 0 0 24px rgba(155, 109, 255, 0.35); }
.return-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.return-top span { display: inline-flex; }

.site-footer { position: relative; margin-top: clamp(3rem, 8vw, 7rem); background: linear-gradient(180deg, rgba(11, 16, 38, 0.4) 0%, #06091A 100%); border-top: 1px solid rgba(91, 141, 239, 0.15); overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(155, 109, 255, 0.08), transparent 60%),
    radial-gradient(600px 300px at 85% 10%, rgba(91, 141, 239, 0.08), transparent 60%);
}
.site-footer__glow { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: min(720px, 80%); height: 1px; background: linear-gradient(90deg, transparent, rgba(91, 141, 239, 0.6), rgba(155, 109, 255, 0.6), transparent); }
.site-footer__inner { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(3rem, 7vw, 5.5rem) 2.75rem; }
.site-footer__col { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.site-footer__col--brand { gap: 1.25rem; }
.site-footer__col--contact { gap: 1.25rem; }
.site-footer__heading { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(91, 141, 239, 0.15); }
.site-footer__statement { color: var(--text-muted); font-size: 0.92rem; max-width: 40ch; line-height: 1.8; }
.site-footer__trust { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.site-footer__trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.92rem; padding-block: 0.35rem; transition: color 0.25s ease, transform 0.25s ease; }
.site-footer__links a::before { content: "→"; color: var(--accent-purple); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease; font-size: 0.8em; }
.site-footer__links a:hover { color: var(--text-light); transform: translateX(4px); text-decoration: none; }
.site-footer__links a:hover::before { opacity: 1; transform: translateX(0); }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; font-size: 0.92rem; color: var(--text-muted); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 0.65rem; line-height: 1.65; }
.site-footer__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(91, 141, 239, 0.3);
  background: rgba(91, 141, 239, 0.08);
  color: var(--accent-silver);
  font-size: 0.8rem;
  font-style: normal;
}
.site-footer__icon--purple { border-color: rgba(155, 109, 255, 0.35); background: rgba(155, 109, 255, 0.1); color: var(--accent-purple); }
.site-footer__bottom { position: relative; border-top: 1px solid rgba(91, 141, 239, 0.12); padding-block: 1.4rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.82rem; }
.site-footer__copyright { color: var(--text-faint); }
.site-footer__icp { color: var(--text-faint); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-header { padding-inline: 0.75rem; top: 10px; }
  .site-header__inner { padding: 0.5rem 0.5rem 0.5rem 1rem; }
  .site-nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(91, 141, 239, 0.3);
    background: rgba(91, 141, 239, 0.08);
  }
  .site-nav__toggle-bar { width: 18px; height: 2px; background: var(--accent-silver); transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease; }
  .site-nav__toggle:hover .site-nav__toggle-bar { background: #fff; }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.45s var(--ease-out), opacity 0.35s ease, transform 0.35s var(--ease-out), visibility 0.35s;
  }
  .site-nav[data-open] { max-height: 70vh; opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav__list {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(11, 16, 38, 0.97);
    border: 1px solid rgba(91, 141, 239, 0.25);
    box-shadow: 0 24px 60px rgba(5, 8, 26, 0.75);
  }
  .site-nav__link { width: 100%; justify-content: space-between; padding: 0.85rem 1.25rem; font-size: 0.95rem; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 2rem, var(--container-width)); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .return-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-brand__mark { animation: none; }
}
