/* ============================================================
   8868赛场 · 共享站点样式 /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, h6, p, ul, ol, dl, dd, figure, blockquote, fieldset {
  margin: 0;
}

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

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

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

a { color: inherit; }

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

/* ---------- tokens ---------- */
:root {
  --ink: #071C16;
  --forest: #0E2B22;
  --console: #143D30;
  --edge: #2B5B4A;
  --lime: #C8FF4D;
  --orange: #FF8A3D;
  --cream: #F3EFE3;
  --paper: #D9D2C2;
  --sage: #A8B8AE;
  --aqua: #5CE0C0;
  --amber: #FFD166;
  --ink-text: #14231D;

  --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-editorial: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Roboto Mono", "IBM Plex Mono", Menlo, Consolas, monospace;

  --shell: 1180px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 2px;
  --shadow-soft: 0 18px 44px -30px rgba(0, 0, 0, 0.95);
}

/* ---------- base typography ---------- */
body {
  background: var(--ink);
  color: rgba(243, 239, 227, 0.9);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.35rem); letter-spacing: 0.005em; }

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

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

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px dashed var(--lime);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.section--light :focus-visible,
.panel--light :focus-visible {
  outline-color: #10573F;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  background: var(--lime);
  color: #06180F;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--ink);
}

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

#main-content { display: block; }

/* ---------- reading progress ---------- */
.read-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 95;
  background: rgba(43, 91, 74, 0.45);
  pointer-events: none;
}

.read-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--aqua), var(--lime) 75%, var(--amber));
  transition: width 0.12s linear;
}

/* ---------- header : signal bar ---------- */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--ink);
  color: var(--cream);
}

.signal-bar {
  background: var(--forest);
  border-bottom: 1px solid var(--edge);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.signal-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
  padding-block: 0.35rem;
}

.signal-bar__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(168, 184, 174, 0.95);
}

.signal-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 255, 77, 0.16);
  animation: signal-breathe 2.8s ease-in-out infinite;
}

@keyframes signal-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200, 255, 77, 0.14); }
  50% { box-shadow: 0 0 0 6px rgba(200, 255, 77, 0.04); }
}

.signal-bar__channel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(92, 224, 192, 0.9);
  font-size: 0.7rem;
}

.signal-bar__sep { color: rgba(43, 91, 74, 1); }

/* ---------- header : masthead ---------- */
.masthead {
  padding-block: clamp(1.1rem, 2.6vw, 1.9rem);
  background:
    radial-gradient(120% 180% at 50% -40%, rgba(20, 61, 48, 0.9) 0%, rgba(7, 28, 22, 0) 62%),
    var(--ink);
  border-bottom: 1px solid var(--edge);
}

.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.masthead__meta {
  font-size: 0.66rem;
  line-height: 1.6;
  letter-spacing: 0.22em;
  color: rgba(168, 184, 174, 0.6);
}

.masthead__brand { text-align: center; }

.masthead__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
}

.masthead__logo:hover { color: var(--lime); }

.masthead__logo-mark { color: var(--orange); font-size: 0.7em; }

.masthead__logo-sub {
  font-family: var(--font-mono);
  font-size: 0.42em;
  letter-spacing: 0.24em;
  color: var(--lime);
  transform: translateY(-0.35em);
}

.masthead__descriptor {
  margin-top: 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: rgba(168, 184, 174, 0.88);
}

.masthead__utility {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 1.2rem;
}

.utility-link {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(168, 184, 174, 0.95);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.utility-link:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ---------- header : nav deck ---------- */
.nav-deck {
  position: relative;
  background: var(--forest);
  border-bottom: 1px solid var(--edge);
}

.nav-deck__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  gap: 1rem;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 1.7vw, 1.7rem);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.35rem 0.05rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 227, 0.76);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav__link:hover {
  color: var(--cream);
  border-bottom-color: var(--edge);
}

.site-nav__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  transition: opacity 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.site-nav__num {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: rgba(168, 184, 174, 0.55);
}

.site-nav__link[aria-current="page"] {
  color: var(--lime);
  font-weight: 600;
  border-bottom-color: var(--lime);
}

.site-nav__link[aria-current="page"] .site-nav__num { color: rgba(200, 255, 77, 0.7); }

.site-nav__link[aria-current="page"] .site-nav__dot {
  opacity: 1;
  background: var(--lime);
  box-shadow: 0 0 9px rgba(200, 255, 77, 0.85);
}

.nav-deck__index {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(168, 184, 174, 0.5);
}

/* ---------- header : nav toggle ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.15rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--lime);
  transition: background 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--lime);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(243, 239, 227, 0.82);
  border-top: 1px solid var(--edge);
  padding-block: clamp(2.4rem, 5vw, 3.8rem) 1.4rem;
  margin-top: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: min(460px, 72%);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--lime) 55%, rgba(200, 255, 77, 0));
}

.footer-inner {
  display: grid;
  gap: clamp(1.6rem, 3.4vw, 2.6rem);
}

.footer-head {
  display: grid;
  gap: 0.9rem;
  padding-bottom: clamp(1.2rem, 2.6vw, 2rem);
  border-bottom: 1px dashed rgba(43, 91, 74, 0.9);
}

.footer-brand__mark {
  font-family: var(--font-editorial);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cream);
}

.footer-brand__line {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  color: var(--lime);
}

.footer-desc {
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(168, 184, 174, 0.95);
}

.footer-grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.footer-group__title {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.footer-group__num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: var(--orange);
}

.footer-group__list { display: grid; gap: 0.3rem; }

.footer-group__list a {
  display: inline-block;
  padding-block: 0.16rem;
  font-size: 0.9rem;
  color: rgba(243, 239, 227, 0.75);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-group__list a:hover {
  color: var(--lime);
  border-bottom-color: rgba(200, 255, 77, 0.6);
}

.contact-list {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.contact-list__row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.86rem;
}

.contact-list__row dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: rgba(168, 184, 174, 0.8);
}

.contact-list__row dd {
  color: rgba(243, 239, 227, 0.9);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-note {
  max-width: 42ch;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(168, 184, 174, 0.78);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(43, 91, 74, 0.75);
  font-size: 0.78rem;
  color: rgba(168, 184, 174, 0.88);
}

.footer-legal__icp {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.footer-legal__links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

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

.footer-legal__copy {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  inset-inline-end: clamp(0.9rem, 3vw, 1.6rem);
  inset-block-end: clamp(0.9rem, 3vw, 1.6rem);
  z-index: 85;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--forest);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}

.to-top[data-visible] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--console);
  border-color: var(--lime);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn--signal {
  background: var(--lime);
  border-color: var(--lime);
  color: #06180F;
}

.btn--signal:hover { background: #DCFF8A; border-color: #DCFF8A; }

.btn--warm {
  background: transparent;
  border-color: rgba(255, 138, 61, 0.62);
  color: var(--orange);
}

.btn--warm:hover { background: rgba(255, 138, 61, 0.12); border-color: var(--orange); }

.btn--ghost {
  background: transparent;
  border-color: var(--edge);
  color: var(--cream);
}

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

.section--light .btn--ghost,
.panel--light .btn--ghost {
  border-color: rgba(20, 61, 48, 0.38);
  color: var(--ink-text);
}

.section--light .btn--ghost:hover,
.panel--light .btn--ghost:hover {
  border-color: #10573F;
  color: #10573F;
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(168, 184, 174, 0.82);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumbs li::after {
  content: "/";
  color: rgba(43, 91, 74, 1);
}

.breadcrumbs li:last-child::after { content: none; }

.breadcrumbs a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

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

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

.section--light .breadcrumbs { color: rgba(20, 61, 48, 0.7); }
.section--light .breadcrumbs [aria-current="page"] { color: var(--ink-text); }
.section--light .breadcrumbs a:hover { color: #10573F; border-bottom-color: #10573F; }

/* ---------- sections ---------- */
.section {
  position: relative;
  padding-block: clamp(2.6rem, 6vw, 5rem);
}

.section--dark { background: var(--ink); }

.section--forest {
  background: var(--forest);
  border-block: 1px solid var(--edge);
}

.section--light {
  background: var(--cream);
  color: #1B2A24;
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 { color: var(--ink-text); }

.section--light .note,
.section--light .footer-note { color: rgba(27, 42, 36, 0.7); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.section--light .eyebrow { color: #17604A; }

.section-head {
  display: grid;
  gap: 0.7rem;
  max-width: 72ch;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

.section-num {
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: rgba(200, 255, 77, 0.2);
  -webkit-text-stroke: 1px rgba(200, 255, 77, 0.45);
}

.section--light .section-num {
  color: rgba(20, 61, 48, 0.12);
  -webkit-text-stroke: 1px rgba(20, 61, 48, 0.38);
}

.section-title { font-size: clamp(1.7rem, 3vw, 2.6rem); }

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.9;
  color: rgba(243, 239, 227, 0.82);
}

.section--light .lede { color: rgba(27, 42, 36, 0.84); }

.note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(168, 184, 174, 0.82);
}

/* ---------- prose ---------- */
.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.9;
}

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

.prose ul,
.prose ol {
  list-style: revert;
  padding-left: 1.4em;
}

.prose li + li { margin-top: 0.35em; }

.prose strong {
  font-weight: 700;
  color: var(--lime);
}

.section--light .prose strong { color: #14624A; }

.prose a {
  text-decoration: underline;
  text-decoration-color: rgba(200, 255, 77, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--lime); }

.section--light .prose a { text-decoration-color: rgba(20, 61, 48, 0.5); }
.section--light .prose a:hover { color: #10573F; }

/* ---------- grids ---------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

/* ---------- panels ---------- */
.panel {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--forest);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.panel--light {
  background: #FBF8EF;
  border-color: #CFC6B3;
  color: #1B2A24;
  box-shadow: 0 16px 34px -28px rgba(7, 28, 22, 0.55);
}

.panel--light h2,
.panel--light h3,
.panel--light h4 { color: var(--ink-text); }

/* ---------- media frames ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #0E2B22 0%, #143D30 46%, #0A211A 100%);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 22, 0) 46%, rgba(7, 28, 22, 0.78) 100%);
  pointer-events: none;
}

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

.media-frame--slant {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.2rem), 0 100%);
}

.media-frame__caption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 2;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 227, 0.85);
}

.section--light .media-frame { border-color: rgba(20, 61, 48, 0.35); }

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 227, 0.78);
  border: 1px solid var(--edge);
  border-radius: 999px;
}

.tag--lime {
  color: var(--lime);
  border-color: rgba(200, 255, 77, 0.5);
}

.tag--warm {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.48);
}

.section--light .tag {
  color: rgba(20, 61, 48, 0.82);
  border-color: rgba(20, 61, 48, 0.32);
}

/* ---------- reveal ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ---------- responsive : tablet ---------- */
@media (max-width: 1080px) {
  .nav-deck__index { display: none; }
}

@media (max-width: 900px) {
  .signal-bar { font-size: 0.68rem; letter-spacing: 0.06em; }

  .masthead__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    text-align: center;
  }

  .masthead__meta { display: none; }
  .masthead__utility { justify-content: center; }

  .nav-deck__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 52px;
    padding-block: 0.4rem;
  }

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

  .site-nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
  }

  .site-nav[data-open] {
    display: block;
    padding-bottom: 0.7rem;
    animation: nav-drop 0.22s ease;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    justify-content: flex-start;
    gap: 0.6rem;
    width: 100%;
    padding: 0.72rem 0.2rem;
    font-size: 0.96rem;
    border-bottom: 1px solid rgba(43, 91, 74, 0.55);
    border-radius: 0;
  }

  .site-nav__link:hover { border-bottom-color: rgba(43, 91, 74, 0.55); }

  .site-nav__link[aria-current="page"] {
    border-bottom-color: rgba(200, 255, 77, 0.55);
  }

  .site-nav__num { margin-left: 0; }

  .site-nav__link > .site-nav__dot { order: -1; }

  .site-nav__link > .site-nav__num { order: 3; margin-left: auto; }

  .footer-legal { gap: 0.5rem 1rem; }
  .footer-legal__copy { margin-left: 0; }
}

@media (min-width: 820px) {
  .footer-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: end;
    gap: 2rem;
  }
}

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

/* ---------- responsive : phone ---------- */
@media (max-width: 640px) {
  .signal-bar__inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.2rem 0.9rem;
    padding-block: 0.45rem;
  }

  .signal-bar__channel { font-size: 0.64rem; }

  .masthead__descriptor { font-size: 0.72rem; letter-spacing: 0.1em; }

  .masthead__utility { gap: 0.3rem 1rem; }

  .contact-list__row { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }

  .to-top { width: 38px; height: 38px; }
}

/* ---------- 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;
  }

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