:root {
  --cream: #FAF4E8;
  --cream-soft: #FDF9F1;
  --navy: #16283F;
  --navy-soft: #20364F;
  --orange: #E86A2D;
  --orange-deep: #B84116;
  --gold: #D8B36A;
  --ink: #2B2118;
  --apricot: #F6C9A8;
  --sage: #6F8F86;
  --rose: #C98F8A;
  --paper: #E7E0D2;
  --muted: #6B5C4D;

  --line: rgba(22, 40, 63, 0.14);
  --line-strong: rgba(22, 40, 63, 0.3);

  --font-display: "Alibaba PuHuiTi 3.0", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --bar-h: 66px;
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
.cmd-bar :focus-visible,
.site-foot :focus-visible { outline-color: var(--gold); }

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

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -130%);
  z-index: 200;
  padding: 0.6rem 1.1rem;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-radius: 0 0 12px 12px;
  transition: transform 0.18s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ---------- command bar ---------- */
.cmd-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  border-bottom: 1px solid rgba(216, 179, 106, 0.35);
}

.cmd-bar__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  z-index: 3;
}

.cmd-bar__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  min-height: var(--bar-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
}

/* ---------- brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  padding-block: 0.5rem;
}
.brand__mark {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px 14px 14px 4px;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  flex: 0 0 auto;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.brand__line {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: rgba(250, 244, 232, 0.56);
  margin-top: 0.15rem;
}

/* ---------- nav toggle ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.8rem;
  background: transparent;
  border: 1px solid rgba(250, 244, 232, 0.35);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav-toggle:hover { border-color: var(--gold); background: rgba(250, 244, 232, 0.1); }
.nav-toggle__bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle__bars > span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:first-child { transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* ---------- nav ---------- */
.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); }
.nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(250, 244, 232, 0.84);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav__index {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0.75;
}
.nav__link:hover { color: #fff; background: rgba(250, 244, 232, 0.1); }
.nav__link[aria-current="page"] {
  color: #fff;
  background: rgba(232, 106, 45, 0.2);
  box-shadow: inset 0 -2px 0 var(--orange);
}
.nav__link[aria-current="page"] .nav__index { color: var(--orange); opacity: 1; }
.nav__item--cta { display: none; }

/* ---------- actions ---------- */
.cmd-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}
.sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(216, 179, 106, 0.38);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(250, 244, 232, 0.72);
  white-space: nowrap;
}
.sync-badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(111, 143, 134, 0.24);
  flex: 0 0 auto;
}

/* ---------- axis strip ---------- */
.cmd-bar__strip {
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid rgba(216, 179, 106, 0.45);
}
.cmd-bar__strip-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0.36rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.axis-hint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #4A3D31;
}
.axis-hint__key {
  padding: 0.02rem 0.38rem;
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}
.axis-hint__sep { color: var(--gold); }
.axis-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
  white-space: nowrap;
  border-bottom: 1px solid rgba(184, 65, 22, 0.4);
  padding-bottom: 1px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.axis-link:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.btn--primary:hover { background: #F0783C; border-color: #F0783C; }
.btn--sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
.btn--ghost { background: transparent; border-color: rgba(250, 244, 232, 0.45); color: var(--cream); }
.btn--ghost:hover { background: rgba(250, 244, 232, 0.14); }
.btn--ink { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn--ink:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn--outline { background: transparent; border-color: var(--line-strong); color: var(--orange-deep); }
.btn--outline:hover { border-color: var(--orange); color: var(--navy); }

/* ---------- layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(40px, 6vw, 82px); }
.section--tight { padding-block: clamp(26px, 4vw, 50px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  flex: 0 0 auto;
}

.h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.03; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.12; }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.26; }
.h4 { font-size: 1.02rem; line-height: 1.35; }

.lede {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.72;
  color: #4A3D31;
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose ul, .prose ol { list-style: disc; padding-left: 1.25em; margin-top: 0.8em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--orange-deep); border-bottom: 1px solid rgba(184, 65, 22, 0.35); }
.prose a:hover { border-color: currentColor; }

.rule { height: 1px; border: 0; background: var(--line); margin-block: clamp(20px, 3vw, 36px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--orange-deep);
  border-bottom: 1px solid rgba(184, 65, 22, 0.4);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.link-arrow::after { content: "→"; font-family: var(--font-mono); }
.link-arrow:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- breadcrumbs ---------- */
.crumbs {
  margin-top: clamp(14px, 2vw, 22px);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.crumbs__item { display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs__item + .crumbs__item::before { content: "／"; color: var(--gold); }
.crumbs__link { color: var(--orange-deep); border-bottom: 1px solid transparent; }
.crumbs__link:hover { border-color: currentColor; }
.crumbs__current { color: var(--muted); }

/* ---------- grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- cards ---------- */
.card {
  position: relative;
  padding: clamp(16px, 2vw, 26px);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(22, 40, 63, 0.1);
  border-color: rgba(22, 40, 63, 0.26);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.32;
  color: var(--navy);
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  color: var(--sage);
}
.card__body { margin-top: 0.6rem; font-size: 0.94rem; line-height: 1.7; color: #4A3D31; }

/* ---------- chips & badges ---------- */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.tag-chip:hover { border-color: var(--orange); color: var(--orange-deep); }
.tag-chip[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
  box-shadow: 0 2px 0 rgba(22, 40, 63, 0.18);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge--orange { background: rgba(232, 106, 45, 0.16); color: var(--orange-deep); }
.badge--gold { background: rgba(216, 179, 106, 0.3); color: #6B4F14; }
.badge--sage { background: rgba(111, 143, 134, 0.2); color: #3C5B52; }
.badge--rose { background: rgba(201, 143, 138, 0.26); color: #7D4440; }

/* ---------- note ---------- */
.note {
  padding: 0.2rem 0 0.2rem 0.9rem;
  border-left: 3px solid var(--gold);
  font-size: 0.88rem;
  line-height: 1.72;
  color: #5A4C3E;
}

/* ---------- media ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background-color: var(--apricot);
  background-image: repeating-linear-gradient(135deg, rgba(216, 179, 106, 0.24) 0 14px, rgba(246, 201, 168, 0.34) 14px 28px);
}
.media img { position: relative; z-index: 1; 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__caption {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(22, 40, 63, 0.84);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

/* ---------- timeline ---------- */
.timeline {
  --tl-pad: clamp(20px, 3vw, 34px);
  position: relative;
  padding-left: var(--tl-pad);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 0.4rem; bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(216, 179, 106, 0.22));
}
.timeline__item { position: relative; padding-bottom: clamp(18px, 2.4vw, 28px); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node {
  position: absolute;
  left: calc(1px - var(--tl-pad));
  top: 0.5rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--cream);
}
.timeline__node--orange { background: var(--orange); }
.timeline__node--rose { background: var(--rose); }
.timeline__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sage);
  margin-bottom: 0.25rem;
}
.timeline__body { font-size: 0.95rem; line-height: 1.72; color: #4A3D31; }
.timeline__body > * + * { margin-top: 0.5em; }

/* ---------- filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.4rem;
}
.filter-btn {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange-deep); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.filter-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--sage);
}
[data-filtered-out] { display: none !important; }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.36s var(--ease), transform 0.36s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.site-foot {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 110px);
  background: var(--navy);
  color: rgba(250, 244, 232, 0.78);
  border-top: 4px solid var(--gold);
}
.site-foot::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: min(560px, 76vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, rgba(232, 106, 45, 0.24), rgba(232, 106, 45, 0) 64%);
  pointer-events: none;
}
.site-foot__inner {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.8fr);
  gap: clamp(26px, 4vw, 56px);
}
.site-foot__lead { min-width: 0; }
.brand--foot .brand__mark { background: var(--gold); color: var(--navy); }
.brand--foot .brand__name { color: var(--cream); }
.brand--foot .brand__line { color: rgba(250, 244, 232, 0.55); }
.site-foot__summary {
  margin-top: 1rem;
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(250, 244, 232, 0.74);
}
.foot-contact {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(250, 244, 232, 0.74);
}
.foot-contact li { display: flex; gap: 0.6rem; line-height: 1.62; }
.foot-contact__key { flex: 0 0 auto; color: var(--gold); min-width: 2.2em; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 34px);
  align-content: start;
}
.foot-col__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.foot-list li + li { margin-top: 0.55rem; }
.foot-list a {
  font-size: 0.92rem;
  color: rgba(250, 244, 232, 0.76);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.foot-list a:hover { color: var(--orange); border-color: var(--orange); }

.site-foot__base {
  position: relative;
  background: rgba(9, 18, 30, 0.36);
  border-top: 1px solid rgba(216, 179, 106, 0.28);
}
.site-foot__base-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0.95rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(250, 244, 232, 0.6);
}
.site-foot__legal { color: rgba(250, 244, 232, 0.6); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.foot-legal a {
  color: rgba(250, 244, 232, 0.68);
  border-bottom: 1px solid rgba(216, 179, 106, 0.32);
  padding-bottom: 1px;
  transition: color 0.16s var(--ease);
}
.foot-legal a:hover { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .sync-badge { display: none; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; margin-inline-start: auto; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin: 0;
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    background: var(--navy-soft);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 18px 30px rgba(8, 16, 27, 0.4);
    z-index: 110;
    transition: grid-template-rows 0.24s var(--ease), visibility 0s linear 0.24s;
  }
  .nav[data-open] {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.24s var(--ease), visibility 0s;
  }
  .nav__list {
    display: block;
    overflow: hidden;
    min-height: 0;
    padding: 0.4rem var(--gutter) 1rem;
  }
  .nav__item + .nav__item { border-top: 1px solid rgba(216, 179, 106, 0.18); }
  .nav__link {
    display: flex;
    padding: 0.85rem 0.2rem;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1rem;
  }
  .nav__link[aria-current="page"] { color: var(--orange); }
  .nav__link[aria-current="page"] .nav__index { color: var(--orange); }
  .nav__item--cta { display: block; border-top: 0; padding-top: 0.85rem; }
  .nav__item--cta .btn { width: 100%; }
  .cmd-bar__strip { display: none; }
  .brand__line { display: none; }
  .cmd-bar__actions { margin-inline-start: 0; }
}

@media (max-width: 900px) {
  .site-foot__inner { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 6; }
}

@media (max-width: 640px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__base-inner { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .cmd-bar__actions { display: none; }
  .brand__mark { width: 32px; height: 32px; font-size: 0.95rem; }
  .brand__name { font-size: 0.96rem; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  [class*="span-"] { grid-column: 1 / -1; }
}

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