/* ============================================================
   杏彩赛场 · shared site kit  /assets/site.css
   ============================================================ */

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

:root {
  --ink: #0E1512;
  --ink-deep: #0A100E;
  --panel: #16302A;
  --panel-soft: #1B3A32;
  --apricot: #FF7A2F;
  --apricot-deep: #C64F12;
  --gold: #F2C14E;
  --blue: #3FA9F5;
  --paper: #F4EFE6;
  --mist: #8FA39B;
  --ink-black: #12100E;
  --glass: rgba(255, 255, 255, 0.08);

  --line-soft: rgba(244, 239, 230, 0.12);
  --line-strong: rgba(244, 239, 230, 0.22);
  --text-soft: rgba(244, 239, 230, 0.78);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Roboto Mono", Consolas,
    "Liberation Mono", "Courier New", monospace;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-pill: 999px;

  --shell: 1200px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 84% -8%, rgba(255, 122, 47, 0.16), transparent 62%),
    radial-gradient(720px 460px at 6% 2%, rgba(63, 169, 245, 0.10), transparent 66%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--apricot);
  outline-offset: 3px;
}

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

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 120;
  transform: translateY(-180%);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--apricot);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.header-shell {
  position: relative;
  pointer-events: auto;
  width: min(var(--shell), calc(100% - 8px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 8px 10px 8px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 46px -28px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: min-height 0.24s var(--ease), background 0.24s var(--ease),
    padding 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.site-header.is-compact .header-shell {
  min-height: 52px;
  padding-left: 14px;
  background: rgba(11, 18, 15, 0.9);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  color: var(--paper);
  flex: none;
}

.brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--apricot), var(--apricot-deep));
  box-shadow: 0 8px 20px -10px rgba(255, 122, 47, 0.95);
  display: grid;
  place-items: center;
}
.brand__mark::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: rgba(14, 21, 18, 0.88);
  box-shadow: 0 5px 0 rgba(14, 21, 18, 0.88), 0 -5px 0 rgba(14, 21, 18, 0.5);
  transform: rotate(-14deg);
}

.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--mist);
  line-height: 1.3;
}
.site-header.is-compact .brand__tag { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.site-nav__item { list-style: none; }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.site-nav__link:hover { color: #fff; background: var(--glass); }
.site-nav__link[aria-current="page"] {
  color: var(--ink);
  background: var(--apricot);
  font-weight: 700;
}
.site-nav__link[aria-current="page"]:hover { background: var(--apricot); color: var(--ink); }

.nav-cta { margin-left: 6px; flex: none; }

.site-nav__meta {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.site-nav__meta-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(242, 193, 78, 0.16);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: rgba(244, 239, 230, 0.07);
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--apricot), var(--gold) 58%, var(--blue));
  will-change: transform;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  padding-top: 64px;
  background: linear-gradient(180deg, #0b120f 0%, #0d1613 45%, #091210 100%);
  border-top: 1px solid var(--line-soft);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(420px, 60%);
  height: 2px;
  background: linear-gradient(90deg, var(--apricot), transparent);
}

.footer-shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.05fr;
  gap: 48px;
  padding-bottom: 52px;
}

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

.footer-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--paper);
}
.footer-brand::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold), var(--apricot));
}

.footer-desc {
  max-width: 26em;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--mist);
}

.footer-note {
  margin-top: 14px;
  max-width: 26em;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(143, 163, 155, 0.82);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.footer-links a:hover { color: var(--apricot); }

.footer-contact {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-contact li {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}
.footer-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  padding-top: 2px;
}
.footer-value { min-width: 0; word-break: break-word; }

.footer-base {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.footer-copy { max-width: none; }
.footer-icp { color: rgba(143, 163, 155, 0.72); }

/* ---------- layout primitives ---------- */
.container {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}
.container--narrow {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
}

.main-offset { padding-top: 128px; }

#main-content { scroll-margin-top: 110px; }

.section { padding: 72px 0; }
.section__inner {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}
.section--paper {
  background: var(--paper);
  color: var(--ink-black);
}
.section--paper a { color: var(--apricot-deep); }
.section--panel { background: var(--panel); }
.section--tight { padding: 44px 0; }

/* ---------- type ---------- */
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 12px;
}
.lede {
  max-width: 34em;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.85;
  color: var(--text-soft);
}
.prose {
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.9;
}
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 {
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-top: 1.8em;
}
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); }
.prose h3 { font-size: clamp(18px, 1.8vw, 21px); }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 22px;
}
.section-heading__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--apricot);
  border-left: 2px solid var(--apricot);
  padding-left: 10px;
  line-height: 1.2;
}
.section-heading__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.section-heading__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.section--paper .section-heading__hint { color: rgba(18, 16, 14, 0.55); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(255, 122, 47, 0.65), var(--line-soft) 45%, var(--line-soft));
}
.section--paper .rule {
  background: linear-gradient(90deg, var(--apricot-deep), rgba(18, 16, 14, 0.14) 45%, rgba(18, 16, 14, 0.14));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: linear-gradient(140deg, var(--apricot), var(--apricot-deep));
  color: #fff;
  box-shadow: 0 14px 28px -16px rgba(255, 122, 47, 0.95);
}
.btn--accent:hover { background: linear-gradient(140deg, #ff8c4a, var(--apricot-deep)); }

.btn--ghost {
  border-color: var(--line-strong);
  background: var(--glass);
  color: var(--paper);
}
.btn--ghost:hover { border-color: rgba(255, 122, 47, 0.6); color: #fff; }

.btn--gold {
  background: linear-gradient(120deg, var(--gold), #ffcf7a);
  color: var(--ink-black);
  box-shadow: 0 14px 28px -18px rgba(242, 193, 78, 0.9);
}

.btn--block { width: 100%; }

.section--paper .btn--ghost {
  border-color: rgba(18, 16, 14, 0.22);
  background: rgba(18, 16, 14, 0.04);
  color: var(--ink-black);
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; list-style: none; }
.breadcrumbs li + li::before {
  content: "/";
  color: rgba(143, 163, 155, 0.55);
}
.breadcrumbs a { text-decoration: none; color: inherit; }
.breadcrumbs a:hover { color: var(--apricot); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }
.breadcrumbs--dark { color: rgba(18, 16, 14, 0.55); }
.breadcrumbs--dark [aria-current="page"] { color: var(--ink-black); }
.breadcrumbs--dark a:hover { color: var(--apricot-deep); }

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.8;
  white-space: nowrap;
}
.tag--apricot { background: var(--apricot); border-color: transparent; color: var(--ink); }
.tag--gold {
  background: linear-gradient(120deg, var(--gold), #ffd47a);
  border-color: transparent;
  color: var(--ink);
}
.tag--blue { border-color: rgba(63, 169, 245, 0.5); color: var(--blue); background: rgba(63, 169, 245, 0.08); }
.tag--outline { background: transparent; color: var(--text-soft); }
.section--paper .tag { border-color: rgba(18, 16, 14, 0.2); color: rgba(18, 16, 14, 0.62); background: transparent; }

/* ---------- cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: var(--panel);
  color: var(--paper);
  min-width: 0;
}
.card--paper {
  background: var(--paper);
  border-color: rgba(18, 16, 14, 0.12);
  color: var(--ink-black);
}
.card--glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--apricot);
  text-transform: uppercase;
}
.card__title {
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.45;
}
.card__text {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-soft);
  max-width: 32em;
}
.card--paper .card__text { color: rgba(18, 16, 14, 0.72); }
.card--paper .card__label { color: var(--apricot-deep); }

/* ---------- grid ---------- */
.grid { display: grid; gap: 22px; }
.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)); }
.grid--wide { gap: 32px; }

/* ---------- media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-m);
  background:
    linear-gradient(150deg, rgba(63, 169, 245, 0.12), transparent 55%),
    linear-gradient(180deg, var(--panel-soft), #0c1714);
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: inherit;
  pointer-events: none;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media--clay { background: linear-gradient(150deg, rgba(255, 122, 47, 0.22), transparent 60%), var(--panel); }
.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
  line-height: 1.7;
}

/* ---------- filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.section--paper .filter-bar {
  background: rgba(18, 16, 14, 0.04);
  border-color: rgba(18, 16, 14, 0.16);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.filter-chip:hover { color: var(--paper); border-color: var(--line-strong); }
.filter-chip[aria-pressed="true"] {
  background: var(--apricot);
  border-color: transparent;
  color: var(--ink);
  font-weight: 700;
}
.section--paper .filter-chip { color: rgba(18, 16, 14, 0.6); }
.section--paper .filter-chip:hover { color: var(--ink-black); border-color: rgba(18, 16, 14, 0.22); }
.section--paper .filter-chip[aria-pressed="true"] { color: var(--ink); }
.filter-count {
  margin-left: auto;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
  white-space: nowrap;
}

.is-hidden { display: none !important; }

/* ---------- reveal ---------- */
[data-reveal] {
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}
.has-js [data-reveal] { opacity: 0; transform: translateY(12px); }
.has-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .site-nav__link { padding: 0 11px; font-size: 13.5px; }
  .header-shell { padding-left: 16px; }
}

@media (max-width: 1024px) {
  .footer-shell { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col--contact { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 60px 0; }
}

@media (max-width: 980px) {
  .site-header { top: 12px; padding: 0 12px; }
  .header-shell { padding: 8px 10px 8px 14px; gap: 10px; min-height: 62px; }
  .brand__tag { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: var(--radius-l);
    background: rgba(10, 17, 14, 0.97);
    border: 1px solid var(--line-strong);
    box-shadow: 0 34px 64px -34px rgba(0, 0, 0, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .site-nav[data-open] {
    display: flex;
    animation: nav-in 0.2s var(--ease) both;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav__link {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 15.5px;
  }
  .nav-cta { width: 100%; margin: 8px 0 0; }
  .site-nav__meta {
    display: flex;
    padding: 8px 14px 2px;
    flex-wrap: wrap;
  }

  .main-offset { padding-top: 108px; }
  .footer-base { font-size: 11.5px; }
}

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

@media (max-width: 720px) {
  .footer-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-bottom: 40px;
  }
  .footer-col--contact { grid-column: auto; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { border-radius: var(--radius-l); padding: 10px; }
  .filter-count { margin-left: 4px; padding: 0 8px 4px; }
  .section { padding: 52px 0; }
  .site-footer { padding-top: 48px; }
}

@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .container, .section__inner, .footer-shell, .footer-base {
    width: calc(100% - 32px);
  }
  .container--narrow { width: calc(100% - 32px); }
  .breadcrumbs { font-size: 11px; gap: 6px; }
}

@media (max-width: 420px) {
  .brand__name { font-size: 15.5px; letter-spacing: 0.05em; }
  .btn { padding: 0 16px; }
  .nav-toggle__label { display: none; }
}

@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;
  }
  .has-js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
