/* ============================================================
   BIBO 必博体育 · 共享站点样式 /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, figure, blockquote, dl, dd { margin: 0; }

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

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

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

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

[hidden] { display: none !important; }

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- tokens ---------- */
:root {
  --ink: #0C1A16;
  --panel: #141B18;
  --pine: #1D362D;
  --pine-lift: #24453A;
  --paper: #F1E9D8;
  --paper-edge: #D8CBB2;
  --cyan: #38E1C6;
  --cyan-deep: #06201B;
  --amber: #E9A63C;
  --coral: #FF6F5E;
  --mist: #93A79E;
  --ink-text: #16211D;
  --deep-link: #0A6156;

  --line: rgba(147, 167, 158, 0.22);
  --line-soft: rgba(147, 167, 158, 0.12);

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell-max: 1280px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 120px;
}

/* ---------- base ---------- */
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(147, 167, 158, 0.05) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(147, 167, 158, 0.04) 0 1px, transparent 1px 100%);
  background-size: 88px 88px, 88px 88px;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body p { text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

::selection { background: var(--cyan); color: var(--cyan-deep); }

/* ---------- layout utilities ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

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

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, 16px);
}

/* ---------- typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.data-heading {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
  color: var(--mist);
  max-width: 68ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--amber);
  text-transform: uppercase;
}

.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.text-link {
  color: var(--cyan);
  border-bottom: 1px solid rgba(56, 225, 198, 0.35);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.text-link:hover {
  color: var(--paper);
  border-color: var(--paper);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: 3px 10px 3px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease),
    color 160ms var(--ease), border-color 160ms var(--ease);
}

.btn--primary {
  background-color: var(--cyan);
  color: var(--cyan-deep);
  border-color: var(--cyan);
}

.btn--primary:hover {
  background-color: #5FF0DA;
  border-color: #5FF0DA;
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--paper);
  border-color: rgba(147, 167, 158, 0.45);
}

.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn--quiet {
  padding-inline: 0;
  color: var(--cyan);
  border-color: transparent;
}

.btn--quiet:hover { color: var(--paper); }

/* ---------- chips & status dots ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgba(241, 233, 216, 0.03);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--mist);
  white-space: nowrap;
}

.chip--cyan { color: var(--cyan); border-color: rgba(56, 225, 198, 0.4); }
.chip--amber { color: var(--amber); border-color: rgba(233, 166, 60, 0.4); }
.chip--coral { color: var(--coral); border-color: rgba(255, 111, 94, 0.42); }

.status-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 225, 198, 0.16);
}

.status-dot--amber {
  background-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(233, 166, 60, 0.16);
}

.status-dot--coral {
  background-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 111, 94, 0.18);
}

.status-dot--mist {
  background-color: var(--mist);
  box-shadow: 0 0 0 3px rgba(147, 167, 158, 0.16);
}

/* ---------- paper block ---------- */
.paper-block {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
  background-color: var(--paper);
  color: var(--ink-text);
  border-radius: 2px 14px 2px 14px;
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, 0.9);
}

.paper-block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(22, 33, 29, 0.05) 0 1px,
    transparent 1px 4px
  );
  opacity: 0.5;
}

.paper-block > * { position: relative; z-index: 1; }

.paper-block h1,
.paper-block h2,
.paper-block h3 { color: var(--ink-text); }

.paper-block a {
  color: var(--deep-link);
  border-bottom: 1px solid rgba(10, 97, 86, 0.35);
}

.paper-block a:hover { border-color: var(--deep-link); }

.paper-block .mono { color: #3B4A44; }

/* ---------- archive card ---------- */
.archive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
  padding: 16px 18px 16px 20px;
  background-color: var(--pine);
  border: 1px solid var(--line-soft);
  border-radius: 2px 10px 2px 10px;
  color: var(--mist);
  transition: transform 160ms var(--ease), background-color 160ms var(--ease),
    border-color 160ms var(--ease);
}

.archive-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--cyan);
  border-radius: 2px 0 0 2px;
}

.archive-card--amber::before { background-color: var(--amber); }
.archive-card--coral::before { background-color: var(--coral); }

.archive-card:hover {
  transform: translateY(-2px);
  background-color: var(--pine-lift);
  border-color: rgba(56, 225, 198, 0.4);
}

.archive-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.archive-card__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.archive-card__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(147, 167, 158, 0.85);
}

/* ---------- media frame ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-image: linear-gradient(150deg, var(--pine), #0F221C);
  background-color: var(--pine);
  border: 1px solid var(--line-soft);
  border-radius: 2px 16px 2px 16px;
}

.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  background-color: rgba(12, 26, 22, 0.78);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  border-radius: 2px;
}

/* ---------- breadcrumb ---------- */
.breadcrumb { padding-block: 18px 0; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(147, 167, 158, 0.8);
}

.breadcrumb__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(147, 167, 158, 0.45);
}

.breadcrumb__list a {
  color: var(--mist);
  transition: color 160ms var(--ease);
}

.breadcrumb__list a:hover { color: var(--cyan); }

.breadcrumb__list [aria-current="page"] { color: var(--paper); }

/* ---------- section head ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-block: 8px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.section-head__index {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.section-head__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
  color: var(--paper);
}

.section-head__note {
  margin-left: auto;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- accordion ---------- */
.accordion { border-top: 1px solid var(--line); }

.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 4px;
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: var(--paper);
  cursor: pointer;
  transition: color 160ms var(--ease);
}

.accordion__trigger:hover { color: var(--cyan); }

.accordion__trigger::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 220ms var(--ease);
}

.accordion__trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }

.accordion__panel {
  padding: 0 4px 20px;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- filter bar ---------- */
.filter-bar {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 16px;
  background-color: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px 12px 3px 12px;
}

.filter-bar__field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 240px;
  min-width: 0;
}

.filter-bar__input {
  width: 100%;
  padding: 9px 12px;
  background-color: rgba(241, 233, 216, 0.05);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.filter-bar__input::placeholder { color: rgba(147, 167, 158, 0.75); }

.filter-bar__input:focus {
  border-color: var(--cyan);
  background-color: rgba(56, 225, 198, 0.07);
  outline: none;
}

.filter-bar__input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.filter-bar__count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  white-space: nowrap;
}

.empty-note {
  padding: 22px 4px;
  font-size: 14px;
  color: var(--mist);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

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

/* ============================================================
   HEADER
   ============================================================ */
.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 200;
  padding: 10px 16px;
  background-color: var(--cyan);
  color: var(--cyan-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 2px 8px 2px 8px;
  transition: top 160ms var(--ease);
}

.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(12, 26, 22, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 200ms var(--ease);
}

.site-header[data-scrolled="true"] {
  box-shadow: 0 22px 44px -32px rgba(0, 0, 0, 0.95);
}

/* --- layer 1 --- */
.header-meta {
  background-color: var(--panel);
  border-bottom: 1px solid var(--line-soft);
}

.header-meta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 3vw, 40px);
  min-height: 56px;
  padding-block: 8px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--paper);
}

.brand-lockup__glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  background-color: var(--cyan);
  color: var(--cyan-deep);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border-radius: 3px 10px 3px 3px;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-lockup__name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.brand-lockup__tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.header-claim {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(147, 167, 158, 0.85);
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.header-meta__side {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.status-chip:hover { border-color: rgba(56, 225, 198, 0.5); color: var(--paper); }

.status-chip__label { color: rgba(147, 167, 158, 0.9); }

.status-chip__value { color: var(--paper); font-weight: 500; }

.header-phone {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
  border-bottom: 1px dashed rgba(147, 167, 158, 0.4);
  padding-bottom: 1px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.header-phone:hover { color: var(--cyan); border-color: var(--cyan); }

/* --- layer 2 --- */
.header-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  min-height: 64px;
  padding-block: 8px;
}

.search-jump {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 260px;
  min-width: 0;
  padding: 9px 14px;
  background-color: rgba(241, 233, 216, 0.04);
  border: 1px solid var(--line);
  border-radius: 2px 8px 2px 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
  transition: border-color 160ms var(--ease), color 160ms var(--ease),
    background-color 160ms var(--ease);
}

.search-jump:hover {
  border-color: rgba(56, 225, 198, 0.55);
  background-color: rgba(56, 225, 198, 0.06);
  color: var(--paper);
}

.search-jump__icon {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.search-jump__icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -2px;
  width: 6px;
  height: 1.5px;
  background-color: currentColor;
  transform: rotate(45deg);
}

.search-jump__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.primary-nav { margin-inline: auto; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mist);
  border-radius: 2px;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}

.nav-link:hover { color: var(--paper); background-color: rgba(241, 233, 216, 0.05); }

.nav-link[aria-current="page"] {
  color: var(--paper);
  background-color: rgba(56, 225, 198, 0.08);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background-color: var(--cyan);
  transform: translateY(-50%);
}

.header-cta { flex: none; }

/* --- mobile toggle --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.nav-toggle:hover { color: var(--cyan); border-color: rgba(56, 225, 198, 0.55); }

.nav-toggle__bars { display: block; width: 16px; }

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background-color: currentColor;
  transition: transform 200ms var(--ease);
}

.nav-toggle__bars span + span { margin-top: 5px; }

.site-header[data-open="true"] .nav-toggle {
  color: var(--cyan);
  border-color: var(--cyan);
}

.site-header[data-open="true"] .nav-toggle__bars span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

/* --- reading progress --- */
.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  overflow: hidden;
}

.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background-image: linear-gradient(90deg, var(--cyan), var(--amber));
  transition: width 80ms linear;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: clamp(56px, 8vw, 120px);
  background-color: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--mist);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px);
}

.footer-brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.footer-brand__motto {
  margin-top: 10px;
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.footer-brand__cta { margin-top: 20px; }

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

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.footer-col__title::before {
  content: "";
  flex: none;
  width: 12px;
  height: 2px;
  background-color: var(--amber);
}

.footer-links li + li { margin-top: 10px; }

.footer-links a {
  display: inline-block;
  position: relative;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--mist);
  transition: color 160ms var(--ease), padding-left 160ms var(--ease);
}

.footer-links a:hover { color: var(--paper); padding-left: 10px; }

.footer-links a:hover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 1px;
  background-color: var(--cyan);
  transform: translateY(-50%);
}

.footer-contact__list { margin-bottom: 14px; }

.footer-contact__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 6px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-contact__label {
  flex: none;
  width: 34px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(147, 167, 158, 0.75);
}

.footer-contact__value {
  color: var(--paper);
  word-break: break-word;
}

.footer-note {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(147, 167, 158, 0.8);
}

.footer-legal {
  background-color: rgba(12, 26, 22, 0.62);
  border-top: 1px solid var(--line-soft);
}

.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-legal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(147, 167, 158, 0.8);
}

.footer-legal__sep { color: rgba(147, 167, 158, 0.4); }

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal__links a {
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.footer-legal__links a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .header-claim { display: none; }
  .search-jump { flex-basis: 210px; }
  .nav-link { padding-inline: 10px; font-size: 13.5px; }
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
}

@media (max-width: 920px) {
  :root { --header-h: 112px; }

  .header-meta__inner { min-height: 52px; }
  .header-bar__inner { min-height: 60px; }
  .header-meta__side { gap: 10px; }
  .header-phone { display: none; }

  .search-jump { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background-color: var(--panel);
    border-bottom: 1px solid var(--line);
    transition: max-height 260ms var(--ease), visibility 260ms var(--ease);
  }

  .site-header[data-open="true"] .primary-nav {
    max-height: 72vh;
    overflow-y: auto;
    visibility: visible;
    box-shadow: 0 26px 44px -30px rgba(0, 0, 0, 0.95);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 18px;
  }

  .nav-link {
    display: block;
    padding: 14px 10px;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }

  .nav-link[aria-current="page"] { background-color: transparent; }

  .nav-link[aria-current="page"]::after {
    left: 0;
    height: 18px;
  }

  .filter-bar { position: static; }
}

@media (max-width: 900px) {
  .span-3,
  .span-4,
  .span-5,
  .span-7,
  .span-8 { grid-column: span 12; }

  .section-head__note { margin-left: 0; max-width: none; }
}

@media (max-width: 680px) {
  .brand-lockup__tag { display: none; }
  .status-chip__label { display: none; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact__list { grid-template-columns: minmax(0, 1fr); }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; }
  .footer-legal__links { gap: 14px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

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

  .read-progress__bar { transition: none; }

  .archive-card:hover,
  .btn--primary:hover { transform: none; }
}
