/* ===== 金赢国际 · 共享站点样式 /assets/site.css ===== */

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

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

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

ul, ol { padding: 0; }

img, svg, video {
  max-width: 100%;
  height: auto;
}

button { font: inherit; }

:root {
  --ink: #0B3B3A;
  --ink-deep: #082C2B;
  --ink-2: #14544E;
  --gold: #C9A227;
  --gold-soft: #E8C76E;
  --mist: #F5F1E6;
  --paper: #FBF8F0;
  --clay: #C8653D;
  --t1: #6F908B;
  --t2: #8E9A63;
  --t3: #A07F6B;
  --t4: #7E91B0;
  --t5: #9B7F9A;
  --t6: #8B8F70;
  --hair: rgba(11, 59, 58, 0.12);
  --hair-strong: rgba(11, 59, 58, 0.22);
  --on-ink: rgba(245, 241, 230, 0.78);
  --on-ink-dim: rgba(245, 241, 230, 0.46);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --rail-w: 268px;
  --topbar-h: 62px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.68, 0.3, 1);
}

body {
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(44px, 6vw, 96px); font-weight: 300; }
h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 300; }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.4; letter-spacing: 0.02em; }

p { margin-bottom: 0.9em; }

a { color: var(--ink-2); }

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

[hidden] { display: none !important; }

#main-content {
  display: block;
  scroll-margin-top: 24px;
}

/* ---------- 工具 ---------- */
.u-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.u-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.u-heavy { font-weight: 700; }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #082C2B;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--ink);
}

/* ---------- 头部骨架 ---------- */
.site-header {
  position: relative;
  z-index: 70;
}

.topbar { display: none; }

/* ---------- 左侧轨道 ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  height: 100vh;
  height: 100dvh;
  padding: 30px 24px 26px;
  background: var(--ink);
  color: var(--on-ink);
  border-right: 1px solid rgba(232, 199, 110, 0.2);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 199, 110, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 199, 110, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.rail__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(232, 199, 110, 0.22);
}

.rail__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.rail__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 0.04em;
}

.rail__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rail__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--mist);
  line-height: 1.3;
}

.rail__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(232, 199, 110, 0.72);
  line-height: 1.4;
}

.rail__close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid rgba(232, 199, 110, 0.4);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-soft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.rail__close:hover {
  background: rgba(232, 199, 110, 0.16);
  border-color: var(--gold-soft);
}

.rail__nav {
  position: relative;
  margin-top: 24px;
}

.rail__label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--on-ink-dim);
  text-transform: uppercase;
}

.nav-list {
  counter-reset: nav;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid rgba(245, 241, 230, 0.08);
  color: rgba(245, 241, 230, 0.8);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease), background 0.22s var(--ease);
}

.nav-link::before {
  counter-increment: nav;
  content: counter(nav, decimal-leading-zero);
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0.72;
}

.nav-link:hover {
  color: var(--mist);
  padding-left: 8px;
  background: linear-gradient(90deg, rgba(232, 199, 110, 0.1), transparent 80%);
}

.nav-link[aria-current="page"] {
  color: var(--gold-soft);
  padding-left: 10px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.2), transparent 78%);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.rail :focus-visible { outline-color: var(--gold-soft); }

.rail__foot {
  position: relative;
  margin-top: auto;
  padding-top: 24px;
}

.rail__switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(232, 199, 110, 0.4);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.rail__switch:hover {
  background: rgba(232, 199, 110, 0.14);
  border-color: var(--gold-soft);
}

.rail__note {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--on-ink-dim);
}

.rail__progress {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: rgba(245, 241, 230, 0.1);
  overflow: hidden;
  pointer-events: none;
}

.rail__progress span {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  transition: height 0.15s linear;
}

/* ---------- 遮罩 ---------- */
.nav-scrim { display: none; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink-deep);
  color: var(--on-ink);
  overflow: hidden;
  -webkit-clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 199, 110, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 199, 110, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 18% 0%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 18% 0%, #000, transparent 72%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.16), transparent 66%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(72px, 9vw, 108px) clamp(18px, 4vw, 56px) 0;
}

.footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(232, 199, 110, 0.82);
}

.footer__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.footer__brand {
  display: inline-block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}

.footer__brand:hover { color: var(--gold-soft); }

.footer__summary {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 241, 230, 0.72);
}

.footer__contact-line {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}

.footer__note {
  margin: 14px 0 0;
  max-width: 32em;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(245, 241, 230, 0.5);
}

.footer__cta { margin-top: 22px; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  align-content: start;
}

.footer__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(232, 199, 110, 0.85);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  font-size: 14.5px;
  color: rgba(245, 241, 230, 0.78);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer__link::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(232, 199, 110, 0.55);
  border-radius: 50%;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer__link:hover { color: var(--gold-soft); }

.footer__link:hover::before {
  background: var(--gold);
  border-color: var(--gold);
}

.footer__link[aria-current="page"] {
  color: var(--gold-soft);
}

.footer__link[aria-current="page"]::before {
  background: var(--gold);
  border-color: var(--gold);
}

.footer__base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(232, 199, 110, 0.18);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(245, 241, 230, 0.5);
}

.footer__legal,
.footer__icp,
.footer__address { margin: 0; }

.footer__address { margin-left: auto; }

/* ---------- 通用布局 ---------- */
.shell {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 56px);
}

.section { padding-block: clamp(40px, 6vw, 76px); }

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(11, 59, 58, 0.55);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--gold);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: #082C2B;
  font-weight: 600;
}

.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

/* ---------- 小标签 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(11, 59, 58, 0.58);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(11, 59, 58, 0.03);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gold);
  opacity: 0.85;
}

.card__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.card__meta {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(11, 59, 58, 0.52);
}

.card--ink {
  background: var(--ink-2);
  border-color: rgba(232, 199, 110, 0.24);
  color: rgba(245, 241, 230, 0.82);
}

.card--ink .card__title,
.card--ink h2,
.card--ink h3 { color: var(--mist); }

.card--ink .card__meta { color: rgba(232, 199, 110, 0.78); }

/* ---------- 分类微标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(11, 59, 58, 0.05);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.tag::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}

.tag--1 { color: #4E736E; background: rgba(111, 144, 139, 0.14); border-color: rgba(111, 144, 139, 0.42); }
.tag--2 { color: #6C7748; background: rgba(142, 154, 99, 0.16); border-color: rgba(142, 154, 99, 0.44); }
.tag--3 { color: #87614C; background: rgba(160, 127, 107, 0.16); border-color: rgba(160, 127, 107, 0.44); }
.tag--4 { color: #5B6C8B; background: rgba(126, 145, 176, 0.16); border-color: rgba(126, 145, 176, 0.44); }
.tag--5 { color: #7A5F79; background: rgba(155, 127, 154, 0.16); border-color: rgba(155, 127, 154, 0.44); }
.tag--6 { color: #6B7050; background: rgba(139, 143, 112, 0.18); border-color: rgba(139, 143, 112, 0.46); }
.tag--gold { color: #8A6D10; background: rgba(201, 162, 39, 0.16); border-color: rgba(201, 162, 39, 0.46); }

/* ---------- 图片容器基础 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(140deg, var(--ink-2), var(--ink) 68%),
    var(--ink);
  aspect-ratio: 16 / 10;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 199, 110, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 199, 110, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000, transparent 78%);
}

.media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--band { aspect-ratio: 21 / 9; border-radius: 22px; }

.media__caption {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(11, 59, 58, 0.52);
}

/* ---------- 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-soft);
}

.filter-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(11, 59, 58, 0.5);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .footer__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.32fr);
    align-items: start;
  }

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

@media (max-width: 1023px) {
  body { padding-top: var(--topbar-h); }

  body[data-nav-locked] { overflow: hidden; }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--topbar-h);
    padding: 0 16px;
    background: var(--ink);
    color: var(--mist);
    border-bottom: 1px solid rgba(232, 199, 110, 0.24);
  }

  .topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mist);
    text-decoration: none;
  }

  .topbar__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    background: rgba(201, 162, 39, 0.12);
    color: var(--gold-soft);
    font-family: var(--font-mono);
    font-size: 14px;
  }

  .topbar__name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .topbar__switch {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(232, 199, 110, 0.36);
    border-radius: 999px;
    color: var(--gold-soft);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(232, 199, 110, 0.5);
    border-radius: 999px;
    background: transparent;
    color: var(--gold-soft);
    font-size: 13px;
    letter-spacing: 0.1em;
    cursor: pointer;
  }

  .nav-toggle__label { line-height: 1; }

  .nav-toggle__bars {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 16px;
  }

  .nav-toggle__bars span {
    display: block;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.24s var(--ease);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
    transform: translateY(2.75px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
    transform: translateY(-2.75px) rotate(-45deg);
  }

  .rail {
    z-index: 110;
    width: min(88vw, 340px);
    padding: 22px 20px 24px;
    transform: translateX(-104%);
    transition: transform 0.34s var(--ease);
    box-shadow: 0 24px 60px rgba(4, 26, 25, 0.45);
  }

  .rail[data-open] { transform: translateX(0); }

  .rail[data-open] .rail__close { display: inline-flex; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    background: rgba(6, 32, 31, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }

  .nav-scrim[data-open] {
    opacity: 1;
    pointer-events: auto;
  }

  .footer__address { margin-left: 0; }

  .site-footer {
    -webkit-clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 419px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .topbar__switch { 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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
