/* ============================================================
   四季安装站 · 共享样式 /assets/site.css
   框架式导航 + 纸张叠层 + 赛季刻度
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-night);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
hr { border: 0; }

/* ---------- tokens ---------- */
:root {
  --c-green: #0E8F5A;
  --c-green-deep: #075E43;
  --c-night: #0B1B3A;
  --c-night-2: #132A55;
  --c-orange: #F05A28;
  --c-orange-soft: #FF8A4C;
  --c-silver: #C9D1D9;
  --c-paper: #F7F4EC;
  --c-slate: #5B6675;
  --c-cyan: #2BB3C0;

  --c-line: rgba(11, 27, 58, 0.14);
  --c-line-soft: rgba(11, 27, 58, 0.08);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui,
    -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    "Courier New", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-paper: 0 1px 0 rgba(11, 27, 58, 0.06), 0 16px 32px -22px rgba(11, 27, 58, 0.45);
  --wrap: 1320px;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- type base ---------- */
.section-title {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.01em;
}
h2.section-title { font-weight: 900; }
.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--c-slate);
  max-width: 64ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-green);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-orange);
}
.prose { max-width: 68ch; color: var(--c-slate); }
.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--c-night); font-weight: 700; }
.divider { height: 1px; background: var(--c-line); margin: clamp(24px, 4vw, 48px) 0; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding: clamp(40px, 6vw, 88px) 0; }
.section--paper { background: var(--c-paper); }
.section--tint {
  background: linear-gradient(180deg, rgba(14, 143, 90, 0.09), rgba(43, 179, 192, 0.05));
}
.section--band {
  background: linear-gradient(125deg, var(--c-night) 0%, var(--c-night-2) 48%, var(--c-green-deep) 100%);
  color: var(--c-paper);
}
.section--band .section-title,
.section--band .lede,
.section--band .prose { color: rgba(247, 244, 236, 0.92); }
.section--band .lede,
.section--band .prose { color: rgba(201, 209, 217, 0.88); }
.section--band .eyebrow { color: var(--c-cyan); }

.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--c-orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn--primary {
  background: linear-gradient(120deg, var(--c-orange), var(--c-orange-soft));
  color: #fff;
  box-shadow: 0 16px 28px -20px rgba(240, 90, 40, 0.95);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 32px -20px rgba(240, 90, 40, 1); }
.btn--green { background: var(--c-green); color: #fff; }
.btn--green:hover { background: var(--c-green-deep); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(11, 27, 58, 0.18);
  color: var(--c-night);
}
.btn--ghost:hover { border-color: var(--c-green); color: var(--c-green-deep); background: #fff; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- tags / crest / ruler ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(201, 209, 217, 0.22);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-slate);
  line-height: 1.5;
}
.tag--orange {
  background: rgba(240, 90, 40, 0.12);
  border-color: rgba(240, 90, 40, 0.35);
  color: #B83C12;
}
.tag--green {
  background: rgba(14, 143, 90, 0.12);
  border-color: rgba(14, 143, 90, 0.32);
  color: var(--c-green-deep);
}
.tag--mono { font-family: var(--font-mono); letter-spacing: 0.08em; }

.crest {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(150deg, var(--c-green), var(--c-green-deep));
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}

.ruler {
  position: relative;
  display: flex;
  border-top: 2px solid var(--c-line);
  padding-top: 16px;
  overflow: hidden;
}
.ruler-tick {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-slate);
}
.ruler-tick::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 1px;
  height: 8px;
  background: var(--c-silver);
}
.ruler-tick--hot { color: var(--c-orange); font-weight: 700; }
.ruler-tick--hot::before { background: var(--c-orange); height: 12px; width: 2px; }

/* ---------- card (paper stack) ---------- */
.card {
  position: relative;
  z-index: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.2vw, 26px);
  box-shadow: var(--shadow-paper);
}
.card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9px -9px -9px 9px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: rgba(201, 209, 217, 0.24);
}
.card--accent { border-left: 4px solid var(--c-green); }
.card-title { font-size: clamp(17px, 1.6vw, 20px); font-weight: 800; line-height: 1.35; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
  margin-bottom: 8px;
}
.card-body { margin-top: 10px; font-size: 15px; color: var(--c-slate); }

/* ---------- stat ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-green-deep);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 12.5px; letter-spacing: 0.08em; color: var(--c-slate); }
.section--band .stat-value { color: var(--c-orange-soft); }
.section--band .stat-label { color: rgba(201, 209, 217, 0.8); }

/* ---------- table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.data-table { width: 100%; min-width: 560px; font-size: 14.5px; }
.data-table th {
  background: var(--c-green-deep);
  color: #fff;
  text-align: left;
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.data-table td { padding: 11px 14px; border-top: 1px solid var(--c-line-soft); }
.data-table tbody tr:nth-child(even) { background: rgba(19, 42, 85, 0.035); }
.data-table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--c-slate);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumb li + li::before { content: "/"; color: var(--c-silver); }
.breadcrumb a { color: var(--c-green-deep); }
.breadcrumb a:hover { color: var(--c-orange); }
.breadcrumb [aria-current="page"] { color: var(--c-slate); }

/* ---------- media ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--c-night), var(--c-green-deep));
}
.media img,
.media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 12px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(0deg, rgba(11, 27, 58, 0.92), rgba(11, 27, 58, 0));
}
.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(240, 90, 40, 0.94);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ---------- accordion ---------- */
.accordion {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.accordion-item + .accordion-item { border-top: 1px solid var(--c-line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-night);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.accordion-trigger:hover { background: rgba(14, 143, 90, 0.07); }
.accordion-trigger[aria-expanded="true"] { background: rgba(14, 143, 90, 0.1); color: var(--c-green-deep); }
.accordion-icon {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-green);
}
.accordion-panel {
  padding: 0 18px 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--c-slate);
}
.accordion-panel[hidden] { display: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--c-night);
  color: var(--c-paper);
  border-bottom: 1px solid rgba(201, 209, 217, 0.2);
  box-shadow: 0 22px 44px -34px rgba(0, 0, 0, 0.95);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--c-green) 0%, var(--c-cyan) 42%, var(--c-orange) 100%);
}
.header-inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.header-inner::before,
.header-inner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 209, 217, 0.35), rgba(201, 209, 217, 0));
  pointer-events: none;
}
.header-inner::before { left: calc(var(--pad) - 14px); }
.header-inner::after { right: calc(var(--pad) - 14px); }

.header-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 209, 217, 0.16);
}
.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(247, 244, 236, 0.72);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 0 rgba(14, 143, 90, 0.65);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 143, 90, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(14, 143, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 143, 90, 0); }
}

/* season switch */
.season-switch { position: relative; flex: none; }
.season-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid rgba(201, 209, 217, 0.32);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--c-paper);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.season-trigger:hover { border-color: var(--c-cyan); background: rgba(43, 179, 192, 0.14); }
.season-trigger-label { color: rgba(201, 209, 217, 0.72); letter-spacing: 0.1em; }
.season-trigger-value { color: var(--c-orange-soft); font-weight: 700; letter-spacing: 0.06em; }
.season-trigger-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.8;
  transition: transform 0.2s var(--ease);
}
.season-trigger[aria-expanded="true"] .season-trigger-caret { transform: rotate(180deg); }

.season-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(330px, 88vw);
  padding: 16px;
  border: 1px solid rgba(201, 209, 217, 0.28);
  border-radius: 16px;
  background: var(--c-night-2);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.9);
  z-index: 120;
}
.season-panel[hidden] { display: none; }
.season-panel-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--c-cyan);
  margin-bottom: 12px;
}
.season-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.season-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: rgba(11, 27, 58, 0.62);
  color: var(--c-paper);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.season-item:hover { border-color: var(--c-cyan); }
.season-item[aria-pressed="true"] { background: var(--c-green); border-color: var(--c-green); }
.season-year { font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.season-meta { font-size: 10px; letter-spacing: 0.04em; color: rgba(201, 209, 217, 0.66); }
.season-item[aria-pressed="true"] .season-meta { color: rgba(255, 255, 255, 0.85); }
.season-panel-note {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed rgba(201, 209, 217, 0.24);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(247, 244, 236, 0.7);
}

/* header bar */
.header-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  padding: 13px 0 11px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-badge {
  flex: none;
  width: 44px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--c-green), var(--c-green-deep));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}
.brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.2;
}
.brand-tagline {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(201, 209, 217, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav { min-width: 0; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.nav-list a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(247, 244, 236, 0.84);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(43, 179, 192, 0.9);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover { background: rgba(19, 42, 85, 0.9); color: #fff; }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] {
  background: var(--c-green);
  color: #fff;
  box-shadow: 0 12px 24px -18px rgba(14, 143, 90, 1);
}
.nav-list a[aria-current="page"] .nav-index { color: rgba(255, 255, 255, 0.85); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); background: var(--c-orange-soft); }

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

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(201, 209, 217, 0.32);
  border-radius: 10px;
  color: var(--c-paper);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.nav-toggle:hover { border-color: var(--c-cyan); }
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-ticks {
  height: 7px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(201, 209, 217, 0.45) 0 1px,
    transparent 1px 26px
  );
  opacity: 0.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--c-night) 0%, var(--c-night-2) 52%, var(--c-green-deep) 100%);
  color: rgba(247, 244, 236, 0.86);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-green), var(--c-cyan), var(--c-orange));
}
.footer-timeline {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--pad) 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(201, 209, 217, 0.5);
}
.timeline-node { position: relative; padding-top: 14px; text-align: center; }
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 7px;
  background: rgba(201, 209, 217, 0.42);
}
.timeline-node--now { color: var(--c-orange-soft); }
.timeline-node--now::before { width: 2px; height: 11px; background: var(--c-orange); }

.footer-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 56px) var(--pad) clamp(20px, 3vw, 34px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.6fr;
  gap: clamp(20px, 3vw, 44px);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-pitch {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(201, 209, 217, 0.86);
  max-width: 34ch;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-badges .tag {
  background: rgba(247, 244, 236, 0.08);
  border-color: rgba(201, 209, 217, 0.3);
  color: rgba(247, 244, 236, 0.88);
}
.footer-col-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-cyan);
  margin-bottom: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(247, 244, 236, 0.82);
  transition: color 0.18s var(--ease);
}
.footer-links a::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--c-silver);
  transition: width 0.18s var(--ease), background-color 0.18s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { width: 16px; background: var(--c-orange); }

.footer-contact { display: flex; flex-direction: column; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(201, 209, 217, 0.2);
  font-size: 14px;
}
.contact-row:first-child { padding-top: 0; }
.contact-key {
  flex: none;
  min-width: 42px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(43, 179, 192, 0.95);
}
.contact-value { color: rgba(247, 244, 236, 0.92); word-break: break-word; }
.copy-btn {
  padding: 2px 9px;
  border: 1px solid rgba(201, 209, 217, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.copy-btn:hover { background: rgba(43, 179, 192, 0.16); }
.copy-btn.is-copied { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.footer-note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(201, 209, 217, 0.72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(24px, 3.5vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(201, 209, 217, 0.2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(201, 209, 217, 0.75);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal-links a { color: rgba(201, 209, 217, 0.85); }
.footer-legal-links a:hover { color: var(--c-orange-soft); }
.footer-copy { color: rgba(201, 209, 217, 0.75); }

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--c-green), var(--c-cyan), var(--c-orange));
  z-index: 140;
  pointer-events: none;
}
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 209, 217, 0.34);
  border-radius: 14px;
  background: var(--c-night);
  color: var(--c-paper);
  font-size: 17px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
    background-color 0.24s var(--ease), visibility 0.24s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-green); }

/* ---------- focus ---------- */
:focus-visible {
  outline: 3px solid var(--c-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--c-orange-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .header-inner::before,
  .header-inner::after { display: none; }

  .header-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(201, 209, 217, 0.18);
  }
  .site-nav[data-open="true"] { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 0 14px; }
  .nav-list a {
    padding: 12px 12px;
    font-size: 16px;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    background: rgba(19, 42, 85, 0.5);
  }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { border-left-color: var(--c-orange); }
  .header-actions { display: none; grid-column: 1 / -1; padding-bottom: 16px; }
  .site-nav[data-open="true"] ~ .header-actions { display: flex; }
  .header-actions .btn { width: 100%; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .brand-tagline { display: none; }
  .brand-name { font-size: 18px; }
  .brand-badge { width: 38px; height: 40px; font-size: 12.5px; }
  .topbar-note { font-size: 11px; letter-spacing: 0.02em; }
  .header-topbar { padding: 9px 0; }
  .footer-timeline { font-size: 9.5px; letter-spacing: 0; padding-top: 14px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-col--contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .card::after { inset: 7px -6px -6px 7px; }
}

@media (max-width: 420px) {
  .season-panel { width: min(300px, 92vw); }
  .season-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .to-top { transform: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .scroll-progress,
  .nav-toggle,
  .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .card { box-shadow: none; border-color: #999; }
  .card::after { display: none; }
  .section { padding: 12pt 0; }
  .data-table th { background: #eee; color: #000; }
}
