/* ============================================================
   金多宝赛事 · /assets/site.css
   档案室 × 转播台 共享外壳与通用组件
   ============================================================ */

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

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

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

ul, ol { padding: 0; list-style: none; }

img, svg, picture { display: block; max-width: 100%; }

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- tokens ---------- */
:root {
  --ink-deep: #0B2E27;
  --ink-arch: #12463C;
  --moss: #1F6B58;
  --gold: #C7A24C;
  --gold-light: #E8CE8C;
  --red: #C2453A;
  --stone: #D8DEDB;
  --paper: #F7F4EC;
  --graphite: #22302C;
  --indigo: #1B3A4B;

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: var(--font-head);
  --font-data: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max-w: 1280px;
  --gutter: clamp(18px, 4vw, 56px);
  --gap: clamp(18px, 2.4vw, 32px);
  --header-h: 100px;
}

@media (max-width: 1000px) {
  :root { --header-h: 66px; }
}

/* ---------- base typography ---------- */
body {
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--graphite);
}

h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }

.site-header :where(h1, h2, h3, h4, p, span, li, a),
.site-footer :where(h1, h2, h3, h4, p, span, li, a),
.arc-panel--dark :where(h1, h2, h3, h4, p, span, li),
.arc-panel--arch :where(h1, h2, h3, h4, p, span, li) { color: inherit; }

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.arc-panel--dark :focus-visible,
.arc-panel--arch :focus-visible {
  outline-color: var(--gold-light);
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: -9999px;
  z-index: 200;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  outline-color: var(--gold-light);
}

/* ============================================================
   HEADER — 固定档案标尺
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: transparent;
  color: var(--paper);
  --scroll-progress: 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    rgba(232, 206, 140, 0.55) 0 1px,
    transparent 1px 14px
  );
  opacity: 0.75;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header.is-solid {
  background: var(--ink-arch);
  box-shadow: 0 1px 0 0 var(--moss), 0 18px 38px -30px rgba(11, 46, 39, 0.9);
}

.site-header.is-solid::after { opacity: 1; }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: block;
  width: 13px;
  height: 27px;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: 0.05em;
  color: var(--paper);
}

.brand-sub {
  margin-top: 4px;
  font-family: var(--font-data);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold-light);
}

.header-tagline {
  justify-self: start;
  min-width: 0;
  padding-left: clamp(12px, 2vw, 28px);
  border-left: 1px solid rgba(232, 206, 140, 0.26);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(232, 206, 140, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  justify-self: end;
  color: var(--gold-light);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 12px;
  flex: 0 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.22s ease, top 0.22s ease, bottom 0.22s ease;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.nav-toggle-label {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.site-header[data-open] .nav-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle-bars::after { bottom: 5px; transform: rotate(-45deg); }

/* nav */
.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 9px 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(247, 244, 236, 0.86);
  transition: color 0.18s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}

.nav-list a:hover { color: var(--gold-light); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] { color: var(--gold); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); height: 2px; }

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-cta:hover { background: var(--gold); color: var(--ink-deep); }

/* header filter note */
.header-filter-note {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 10px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(247, 244, 236, 0.55);
}

.filter-note-label {
  padding-right: 14px;
  border-right: 1px solid rgba(232, 206, 140, 0.34);
  color: var(--gold);
}

.filter-note-value { text-transform: uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--ink-deep);
  color: var(--paper);
}

.footer-ruler {
  height: 8px;
  border-top: 1px solid var(--moss);
  background-color: var(--ink-deep);
  background-image: repeating-linear-gradient(
    to right,
    var(--moss) 0 1px,
    transparent 1px 18px
  );
  opacity: 0.85;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(38px, 5.5vw, 76px) var(--gutter);
}

.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.06em;
  color: var(--paper);
}

.footer-intro {
  margin-top: 14px;
  max-width: 32ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(247, 244, 236, 0.72);
}

.footer-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.footer-cta:hover { background: var(--gold); color: var(--ink-deep); }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 34px);
}

.footer-col-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 107, 88, 0.7);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-light);
}

.footer-links { display: grid; gap: 9px; }

.footer-links a {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(247, 244, 236, 0.82);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer-links a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

.footer-contact-list {
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 244, 236, 0.8);
  word-break: break-word;
}

.footer-contact-key {
  display: inline-block;
  min-width: 40px;
  margin-right: 8px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.footer-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 107, 88, 0.55);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(247, 244, 236, 0.62);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid rgba(31, 107, 88, 0.55);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 236, 0.6);
}

.footer-legal { color: rgba(247, 244, 236, 0.52); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.arc-offset { padding-top: var(--header-h); }

.arc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.arc-col-3 { grid-column: span 3; }
.arc-col-4 { grid-column: span 4; }
.arc-col-5 { grid-column: span 5; }
.arc-col-6 { grid-column: span 6; }
.arc-col-7 { grid-column: span 7; }
.arc-col-8 { grid-column: span 8; }
.arc-col-12 { grid-column: span 12; }

/* ---------- frame shell ---------- */
.arc-shell {
  position: relative;
  padding: clamp(24px, 4vw, 64px);
  background: var(--ink-deep);
  color: var(--paper);
  border: 1px solid rgba(232, 206, 140, 0.3);
}

.arc-shell::before,
.arc-shell::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--gold);
  pointer-events: none;
}

.arc-shell::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.arc-shell::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.arc-shell--paper {
  background: var(--paper);
  color: var(--graphite);
  border-color: var(--moss);
}

.arc-shell--paper::before,
.arc-shell--paper::after { border-color: var(--moss); }

/* ---------- panels ---------- */
.arc-panel {
  padding: clamp(22px, 3vw, 40px);
  background: var(--paper);
  border: 1px solid var(--stone);
}

.arc-panel--dark { background: var(--ink-deep); color: var(--paper); border-color: var(--moss); }
.arc-panel--arch { background: var(--ink-arch); color: var(--paper); border-color: var(--moss); }
.arc-panel--stone { background: var(--stone); border-color: transparent; }
.arc-panel--flush { padding: 0; border: 0; background: transparent; }

.arc-panel--dark .arc-note,
.arc-panel--arch .arc-note {
  color: rgba(247, 244, 236, 0.72);
  border-left-color: var(--moss);
}

.arc-panel--dark .arc-section-head,
.arc-panel--arch .arc-section-head { border-bottom-color: var(--gold); }

.arc-panel--dark .arc-indexbar,
.arc-panel--arch .arc-indexbar { border-color: var(--moss); }

.arc-panel--dark .arc-indexbar__count,
.arc-panel--arch .arc-indexbar__count { color: var(--gold); }

/* ---------- editorial labels ---------- */
.arc-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--moss);
}

.arc-panel--dark .arc-label,
.arc-panel--arch .arc-label,
.arc-shell .arc-label { color: var(--gold); }

.arc-kicker {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.arc-note {
  padding-left: 14px;
  border-left: 2px solid var(--stone);
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(34, 48, 44, 0.7);
}

.arc-data {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.arc-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(30px, 5vw, 64px) 0;
  color: var(--moss);
}

.arc-rule::before {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.arc-rule::after {
  content: "";
  flex: 0 0 auto;
  width: 64px;
  height: 6px;
  background-image: repeating-linear-gradient(
    to right,
    currentColor 0 1px,
    transparent 1px 8px
  );
  opacity: 0.7;
}

/* ---------- section head ---------- */
.arc-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: clamp(22px, 3vw, 36px);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--graphite);
}

.arc-section-head__title {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.arc-section-head__aside {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--moss);
  text-align: right;
}

.arc-panel--dark .arc-section-head__aside,
.arc-panel--arch .arc-section-head__aside,
.arc-shell .arc-section-head__aside { color: var(--gold-light); }

/* ---------- tags & status ---------- */
.arc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--moss);
  background: transparent;
  white-space: nowrap;
}

.arc-tag--gold { color: var(--gold); }
.arc-tag--red { color: var(--red); }
.arc-tag--indigo { color: var(--indigo); }
.arc-tag--ghost { color: rgba(247, 244, 236, 0.78); }

.arc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

.arc-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--moss);
}

.arc-status--check::before { background: var(--gold); }

.arc-status--live::before {
  background: var(--red);
  animation: arc-pulse 2s ease-in-out infinite;
}

@keyframes arc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

/* ---------- indexbar ---------- */
.arc-indexbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 12px 0;
  border-top: 1px solid var(--moss);
  border-bottom: 1px solid var(--moss);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--moss);
}

.arc-indexbar__count {
  font-weight: 700;
  color: var(--graphite);
}

/* ---------- list ---------- */
.arc-list {
  display: grid;
  border-top: 1px solid var(--stone);
}

.arc-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--stone);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.arc-list__item:hover { background: rgba(216, 222, 219, 0.55); }

.arc-panel--dark .arc-list,
.arc-panel--arch .arc-list { border-top-color: var(--moss); }

.arc-panel--dark .arc-list__item,
.arc-panel--arch .arc-list__item { border-bottom-color: rgba(31, 107, 88, 0.6); }

.arc-panel--dark .arc-list__item:hover,
.arc-panel--arch .arc-list__item:hover { background: rgba(31, 107, 88, 0.28); }

/* ---------- timeline ---------- */
.arc-timeline {
  position: relative;
  padding-left: clamp(20px, 3vw, 36px);
}

.arc-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--moss);
}

.arc-timeline__item {
  position: relative;
  padding-bottom: clamp(20px, 3vw, 34px);
}

.arc-timeline__item:last-child { padding-bottom: 0; }

.arc-timeline__marker {
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 2px solid var(--moss);
  transform: translateX(-50%);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.arc-timeline__item:hover .arc-timeline__marker,
.arc-timeline__item:focus-within .arc-timeline__marker {
  background: var(--gold);
  border-color: var(--gold);
}

.arc-panel--dark .arc-timeline__marker,
.arc-panel--arch .arc-timeline__marker {
  background: var(--ink-deep);
}

.arc-timeline__body { padding-top: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
  font-weight: 700;
}

.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--ghost {
  border-color: var(--moss);
  color: var(--graphite);
}

.btn--ghost:hover { background: var(--moss); border-color: var(--moss); color: var(--paper); }

.btn--light {
  border-color: rgba(232, 206, 140, 0.75);
  color: var(--paper);
}

.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--moss);
}

.breadcrumb a { border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-bottom-color: currentColor; }
.breadcrumb__sep { opacity: 0.5; }

/* ---------- prose ---------- */
.prose {
  font-size: 17px;
  line-height: 1.85;
  color: var(--graphite);
}

.prose > * + * { margin-top: 1.15em; }

.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 1.5em;
  font-size: 20px;
}

.prose ul { padding-left: 0; }

.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-top: 0.6em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--moss);
}

.prose strong { font-weight: 700; }

.prose a { color: var(--moss); border-bottom: 1px solid var(--moss); }

.prose blockquote {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: rgba(34, 48, 44, 0.82);
}

.arc-panel--dark .prose,
.arc-panel--arch .prose,
.arc-shell .prose { color: rgba(247, 244, 236, 0.9); }

.arc-panel--dark .prose a,
.arc-panel--arch .prose a,
.arc-shell .prose a { color: var(--gold-light); border-bottom-color: var(--gold-light); }

/* ---------- figure ---------- */
.arc-figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-arch);
  border: 1px solid var(--moss);
}

.arc-figure--16x9 { aspect-ratio: 16 / 9; }
.arc-figure--4x3 { aspect-ratio: 4 / 3; }
.arc-figure--3x4 { aspect-ratio: 3 / 4; }
.arc-figure--1x1 { aspect-ratio: 1 / 1; }
.arc-figure--21x9 { aspect-ratio: 21 / 9; }

.arc-figure > img,
.arc-figure > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arc-figure__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(232, 206, 140, 0.16) 0 1px, transparent 1px 100%),
    linear-gradient(to bottom, rgba(232, 206, 140, 0.16) 0 1px, transparent 1px 100%);
  background-size: 33.3333% 33.3333%;
  opacity: 0.9;
}

.arc-figure__caption {
  display: block;
  padding-top: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: rgba(34, 48, 44, 0.68);
}

.arc-panel--dark .arc-figure__caption,
.arc-panel--arch .arc-figure__caption,
.arc-shell .arc-figure__caption { color: rgba(247, 244, 236, 0.66); }

/* ---------- reveal ---------- */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    min-height: 64px;
  }

  .header-tagline { display: none; }

  .nav-toggle { display: inline-flex; }

  .header-filter-note { display: none; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0;
    background: var(--ink-deep);
    border-top: 1px solid var(--moss);
    border-bottom: 1px solid var(--moss);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-header[data-open] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    display: block;
    padding: 6px 0;
  }

  .nav-list li { border-bottom: 1px solid rgba(31, 107, 88, 0.45); }

  .nav-list a {
    display: block;
    padding: 15px var(--gutter);
    font-size: 16px;
  }

  .nav-list a::after { display: none; }

  .nav-list a[aria-current="page"] {
    color: var(--gold);
    box-shadow: inset 3px 0 0 0 var(--gold);
  }

  .nav-cta {
    display: block;
    margin: 16px var(--gutter) 20px;
    padding: 13px 18px;
    text-align: center;
  }

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

  .arc-col-3 { grid-column: span 6; }
  .arc-col-4 { grid-column: span 6; }
  .arc-col-5 { grid-column: span 12; }
  .arc-col-6 { grid-column: span 12; }
  .arc-col-7 { grid-column: span 12; }
  .arc-col-8 { grid-column: span 12; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .arc-grid { gap: 18px; }

  .arc-col-3,
  .arc-col-4,
  .arc-col-5,
  .arc-col-6,
  .arc-col-7,
  .arc-col-8 { grid-column: span 12; }

  .arc-section-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .arc-section-head__aside { text-align: left; }

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

  .footer-base { flex-direction: column; align-items: flex-start; }

  .arc-list__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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;
    scroll-behavior: auto !important;
  }

  html.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
