:root {
  --navy-900: #0A1F44;
  --navy-800: #102A5C;
  --navy-700: #1B3A6F;
  --gold-500: #C9A063;
  --gold-300: #E3C78A;
  --orange-500: #FF6B35;
  --orange-100: #FFE3D6;
  --teal-400: #2DD4BF;
  --violet-400: #A78BFA;
  --paper: #F7F3EC;
  --muted: #ADB6C8;
  --line: rgba(255, 255, 255, 0.12);
  --font-serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  --font-sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", "Cascadia Code", "Fira Mono", "Courier New", monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 300ms;
  --header-h: 72px;
  --header-h-mobile: 64px;
  --radius: 6px;
  --shadow-card: 0 8px 28px rgba(3, 10, 28, 0.35);
  --shadow-hover: 0 16px 40px rgba(3, 10, 28, 0.5);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--paper);
  background-color: var(--navy-900);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul, ol {
  list-style: none;
}

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

input, select, textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--gold-500);
  color: var(--navy-900);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--navy-900);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-700);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 30px rgba(201, 160, 99, 0.12);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  margin-bottom: 1.2rem;
}
h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.75rem);
  margin-bottom: 1rem;
}
h3 {
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

strong {
  color: var(--gold-300);
  font-weight: 600;
}

.mono {
  font-family: var(--font-mono);
}

.content a {
  color: var(--teal-400);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(45, 212, 191, 0.4);
  transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease);
}
.content a:hover {
  color: var(--gold-300);
  text-decoration-color: rgba(227, 199, 138, 0.6);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section {
  padding: 96px 0;
}
.section--tight {
  padding: 48px 0;
}
.section--loose {
  padding: 128px 0;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.g-1 { grid-column: span 1; }
.g-2 { grid-column: span 2; }
.g-3 { grid-column: span 3; }
.g-4 { grid-column: span 4; }
.g-5 { grid-column: span 5; }
.g-6 { grid-column: span 6; }
.g-7 { grid-column: span 7; }
.g-8 { grid-column: span 8; }
.g-9 { grid-column: span 9; }
.g-10 { grid-column: span 10; }
.g-11 { grid-column: span 11; }
.g-12 { grid-column: span 12; }

.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cut-corner {
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}
.cut-corner--reverse {
  clip-path: polygon(0 32px, 32px 0, 100% 0, 100% 100%, 0 100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}
.btn--primary:hover {
  background: #ff7d4d;
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--gold-300);
  border-color: rgba(201, 160, 99, 0.5);
}
.btn--ghost:hover {
  border-color: var(--gold-500);
  background: rgba(201, 160, 99, 0.08);
}
.btn--small {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

.site-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 12px 24px;
  border-radius: 0 0 6px 6px;
  transition: top 0.25s var(--ease);
}
.site-skip:focus {
  top: 0;
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 31, 68, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 160, 99, 0.22);
}

.site-header__inner {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--orange-500));
  z-index: 1;
  pointer-events: none;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  border-radius: 4px;
  padding: 4px 0;
}

.site-brand__mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 12px rgba(201, 160, 99, 0.45);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-brand:hover .site-brand__mark {
  transform: rotate(90deg);
  box-shadow: 0 0 20px rgba(201, 160, 99, 0.7);
}

.site-brand__words {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.site-brand__word {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  white-space: nowrap;
}

.site-brand__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav-toggle:hover {
  background: rgba(201, 160, 99, 0.08);
  border-color: rgba(201, 160, 99, 0.4);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav__list {
  counter-reset: nav-item;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item {
  counter-increment: nav-item;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.site-nav__item::before {
  content: "0" counter(nav-item);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--gold-500);
  opacity: 0.55;
  letter-spacing: 0.08em;
  transition: opacity 0.3s var(--ease);
}

.site-nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 4px;
  position: relative;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.site-nav__link:hover {
  color: var(--paper);
  background: rgba(201, 160, 99, 0.08);
  transform: translateY(-1px);
}
.site-nav__link:hover::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--paper);
}
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange-500);
}

.site-nav__item:hover::before {
  opacity: 1;
  color: var(--gold-300);
}

.site-footer {
  background: var(--navy-800);
  border-top: 1px solid rgba(201, 160, 99, 0.3);
  position: relative;
  margin-top: 96px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background-image: repeating-linear-gradient(90deg, var(--gold-500) 0 8px, transparent 8px 20px);
  opacity: 0.4;
  pointer-events: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 48px;
  padding: 72px 0 48px;
}

.site-footer__brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.site-brand__mark--footer {
  width: 24px;
  height: 24px;
  box-shadow: 0 0 8px rgba(201, 160, 99, 0.3);
}

.site-footer__brandword {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.site-footer__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.site-footer__about {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  max-width: 34ch;
  margin-bottom: 14px;
}

.site-footer__trust {
  color: var(--gold-300);
  font-size: 0.8125rem;
  border-left: 2px solid var(--orange-500);
  padding-left: 12px;
  opacity: 0.85;
  max-width: 40ch;
  margin-bottom: 18px;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__meta-item {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
}

.site-footer__heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 160, 99, 0.4);
  text-shadow: none;
}
.site-footer__heading::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  border-radius: 1px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.site-footer__links li {
  margin-bottom: 6px;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 0.9375rem;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.site-footer__links a:hover {
  color: var(--gold-300);
  padding-left: 6px;
}

.site-footer__contact-item {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-footer__contact-item:first-child {
  padding-top: 0;
}

.site-footer__contact-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  opacity: 0.8;
  margin-bottom: 2px;
}

.site-footer__contact-value {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}

.site-footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}

.site-footer__legal a {
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.site-footer__legal a:hover {
  color: var(--gold-300);
}

.site-footer__dot {
  color: rgba(201, 160, 99, 0.5);
}

.site-footer__copyright {
  font-size: 0.8125rem;
  color: var(--muted);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: var(--navy-800);
  border: 1px solid rgba(201, 160, 99, 0.4);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0;
}
.section-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange-500);
  border-radius: 1px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tag-pill:hover {
  border-color: rgba(201, 160, 99, 0.6);
  color: var(--gold-300);
  background: rgba(201, 160, 99, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(3, 10, 28, 0.3);
}

.archive-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: 8px 8px 8px 2px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.archive-card::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(201, 160, 99, 0.4);
  background: var(--navy-900);
}
.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 160, 99, 0.5);
}
.archive-card:active {
  transform: scale(0.98);
}

.archive-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 6px;
  padding-right: 24px;
  text-shadow: none;
}

.archive-card__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.archive-card__text {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.stat-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-block__number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-500);
}
.stat-block__number--teal {
  color: var(--teal-400);
}
.stat-block__number--orange {
  color: var(--orange-500);
}
.stat-block__label {
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.edition-mark {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 160, 99, 0.22);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 0 0 28px;
}
.breadcrumbs__sep {
  color: rgba(201, 160, 99, 0.5);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}
.breadcrumbs a:hover {
  color: var(--gold-300);
}
.breadcrumbs [aria-current="page"] {
  color: var(--paper);
}

.img-frame {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.img-frame--ratio {
  aspect-ratio: 4 / 3;
}
.img-frame--ratio-wide {
  aspect-ratio: 16 / 9;
}
.img-frame--ratio-tall {
  aspect-ratio: 3 / 4;
}
.img-frame--ratio-square {
  aspect-ratio: 1 / 1;
}

.hero-enter-left {
  animation: heroSlideLeft 0.8s var(--ease) both;
}
.hero-enter-right {
  animation: heroSlideRight 0.8s var(--ease) both;
}
.hero-fade-up {
  animation: heroFadeUp 0.8s var(--ease) both;
}

@keyframes heroSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6 {
    grid-column: span 6;
  }
  .g-7, .g-8, .g-9, .g-10, .g-11, .g-12 {
    grid-column: span 12;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: var(--header-h-mobile);
    padding: 0 20px;
  }
  .site-brand__word {
    font-size: 1.0625rem;
  }
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-800);
    border-bottom: 2px solid rgba(201, 160, 99, 0.35);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .site-nav[data-open="true"] {
    max-height: calc(100vh - var(--header-h-mobile));
    overflow-y: auto;
    visibility: visible;
    transition: max-height 0.4s var(--ease), visibility 0s;
    box-shadow: 0 24px 40px rgba(3, 10, 28, 0.5);
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 24px;
    gap: 0;
  }
  .site-nav__item {
    display: block;
  }
  .site-nav__item::before {
    display: none;
  }
  .site-nav__link {
    display: block;
    width: 100%;
    padding: 16px 4px;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
  }
  .site-nav__link::after {
    left: 4px;
    right: auto;
    bottom: 0;
    width: 0;
    height: 2px;
  }
  .site-nav__link:hover {
    background: rgba(201, 160, 99, 0.06);
    transform: none;
  }
  .site-nav__link[aria-current="page"]::after {
    width: 28px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 768px) {
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6,
  .g-7, .g-8, .g-9, .g-10, .g-11, .g-12 {
    grid-column: span 12;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 32px;
  }
  .site-footer__brand {
    grid-column: auto;
  }
  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-brand__tag {
    letter-spacing: 0.12em;
  }
  .site-brand__mark {
    width: 28px;
    height: 28px;
  }
  .site-footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8125rem;
  }
}

@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;
  }
  .site-brand__mark {
    transition: none;
  }
  .archive-card,
  .tag-pill,
  .btn,
  .site-nav__link {
    transition: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .nav-toggle {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
