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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
}

body, h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; }

:root {
  --grass-deep: #0B3B2B;
  --grass-mid: #15604A;
  --night: #0E1726;
  --whistle: #FF6A13;
  --score-red: #D7263D;
  --paper: #F6F4EE;
  --mint: #4CE0A0;
  --card: #FFC53D;
  --index: #B9C0B4;
  --ink: #0A0C0A;

  --font-mono: 'DIN Alternate', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: 'Noto Sans SC', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --bd: 3px;
  --shell-max: 1440px;
  --gutter: clamp(16px, 4vw, 56px);
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-mid: 4px 4px 0 var(--ink);
  --shadow-soft: 3px 3px 0 rgba(10, 12, 10, .55);
  --ease: cubic-bezier(.22, .68, .36, 1);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.18;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.2vw, 62px); }
h2 { font-size: clamp(26px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 27px); }
h4 { font-size: clamp(17px, 1.5vw, 20px); }
p { text-wrap: pretty; }

.mono, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

::selection { background: var(--whistle); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--whistle);
  outline-offset: 3px;
}

#main-content { scroll-margin-top: 110px; }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-220%);
  transition: transform .18s var(--ease);
  background: var(--card);
  color: var(--ink);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-mid);
  padding: 11px 18px;
  font: 700 14px/1 var(--font-sans);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 悬浮胶囊头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: clamp(10px, 1.6vw, 18px) var(--gutter);
  pointer-events: none;
}

.masthead {
  pointer-events: auto;
  position: relative;
  max-width: var(--shell-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand toggle"
    "meta  meta";
  align-items: center;
  gap: 8px clamp(10px, 2vw, 22px);
  padding: 10px 12px;
  background: var(--grass-deep);
  border: var(--bd) solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow-mid);
  transition: padding .22s var(--ease), border-radius .22s var(--ease), box-shadow .22s var(--ease);
}

.site-header[data-scrolled] .masthead {
  padding: 6px 12px;
  border-radius: 18px;
  box-shadow: 2px 2px 0 var(--ink);
}
.site-header[data-scrolled] .brand__mark { width: 30px; height: 30px; font-size: 12px; }
.site-header[data-scrolled] .brand__season { display: none; }
.site-header[data-scrolled] .round-badge__num { font-size: 20px; }

/* 品牌 */
.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--paper);
}
.brand__mark {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--whistle);
  color: var(--ink);
  font: 700 15px/1 var(--font-mono);
  letter-spacing: -.02em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: width .22s var(--ease), height .22s var(--ease), font-size .22s var(--ease);
}
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font: 800 18px/1.1 var(--font-sans);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand__season {
  display: block;
  margin-top: 4px;
  font: 400 11px/1 var(--font-mono);
  letter-spacing: .14em;
  color: var(--index);
  white-space: nowrap;
}

/* 移动端菜单按钮 */
.nav-toggle {
  grid-area: toggle;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 2px solid rgba(246, 244, 238, .35);
  border-radius: 999px;
  color: var(--paper);
  font: 600 13px/1 var(--font-sans);
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.nav-toggle:hover { border-color: var(--card); color: var(--card); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color .2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), top .2s var(--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); }

/* 导航面板 —— 移动优先 */
.site-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 6;
  display: none;
  padding: 10px;
  background: var(--night);
  border: var(--bd) solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 rgba(10, 12, 10, .6);
}
.site-nav[data-open] { display: block; }

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-nav__list a {
  display: block;
  padding: 12px 16px;
  font: 600 15px/1.25 var(--font-sans);
  color: var(--paper);
  text-decoration: none;
  border: 2px solid rgba(246, 244, 238, .28);
  border-radius: 999px;
  transition: background-color .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  border-color: var(--card);
  color: var(--card);
}
.site-nav__list a[aria-current="page"] {
  background: var(--whistle);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

/* 元信息 */
.masthead__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px dashed rgba(246, 244, 238, .22);
}
.round-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-mono);
  color: var(--index);
}
.round-badge__num {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--card);
  transition: font-size .22s var(--ease);
}
.round-badge__label { font-size: 11px; letter-spacing: .14em; }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 5px;
  height: 3px;
  pointer-events: none;
}
.scroll-progress::before {
  content: "";
  display: block;
  height: 100%;
  background: var(--whistle);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform .12s linear;
}

/* ---------- 桌面布局 ---------- */
@media (min-width: 1140px) {
  .masthead {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav meta";
    border-radius: 999px;
    padding: 9px 14px;
  }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .site-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(2px, .5vw, 8px);
  }
  .site-nav__list a { padding: 8px 13px; font-size: 14px; }
  .masthead__meta {
    flex-wrap: nowrap;
    justify-content: flex-end;
    padding-top: 0;
    padding-left: 15px;
    border-top: 0;
    border-left: 2px solid rgba(246, 244, 238, .22);
  }
}

/* ---------- 通用容器与展区 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.exhibit { padding-block: clamp(44px, 7vw, 104px); }
.exhibit--tight { padding-block: clamp(26px, 4vw, 52px); }

.exhibit__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font: 400 12px/1 var(--font-mono);
  letter-spacing: .18em;
  color: var(--grass-mid);
}
.exhibit__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 12px);
  opacity: .5;
}

.lede {
  max-width: 62ch;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.75;
  color: rgba(10, 12, 10, .74);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font: 400 12px/1.6 var(--font-mono);
  letter-spacing: .14em;
  color: var(--grass-mid);
}
.crumbs a { text-decoration: none; border-bottom: 1px solid currentColor; }
.crumbs a:hover { color: var(--whistle); border-color: var(--whistle); }
.crumbs__sep { color: var(--index); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 12px 20px;
  font: 700 15px/1.1 var(--font-sans);
  letter-spacing: .01em;
  color: var(--ink);
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--whistle { background: var(--whistle); }
.btn--mint { background: var(--mint); }
.btn--card { background: var(--card); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--sm { padding: 9px 15px; font-size: 13px; box-shadow: 2px 2px 0 rgba(10, 12, 10, .55); }
.btn--sm:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- 展板 ---------- */
.panel {
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: clamp(20px, 3vw, 34px);
}
.panel + .panel { margin-top: 22px; }
.panel--grass { background: var(--grass-deep); color: var(--paper); }
.panel--night { background: var(--night); color: var(--paper); }
.panel--mint { background: var(--mint); color: var(--ink); }
.panel--card { background: var(--card); color: var(--ink); }
.panel--red { background: var(--score-red); color: var(--paper); }

/* ---------- 展签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font: 400 12px/1 var(--font-mono);
  letter-spacing: .14em;
  color: var(--ink);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.tag--live { background: var(--whistle); }
.tag--mint { background: var(--mint); }
.tag--red { background: var(--score-red); color: var(--paper); }
.tag--outline { background: transparent; color: var(--grass-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font: 400 12px/1 var(--font-mono);
  letter-spacing: .16em;
  color: var(--card);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 16px;
  height: 2px;
  background: var(--whistle);
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 图片容器基础规则 ---------- */
.figure {
  margin: 0;
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-hard);
}
.figure__frame {
  position: relative;
  aspect-ratio: var(--figure-ratio, 16 / 9);
  overflow: hidden;
  background-color: var(--grass-deep);
  background-image:
    linear-gradient(155deg, rgba(14, 23, 38, .9), rgba(11, 59, 43, .35)),
    repeating-linear-gradient(100deg, rgba(76, 224, 160, .12) 0 14px, rgba(11, 59, 43, 0) 14px 34px);
}
.figure__frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(10, 12, 10, .38)),
    repeating-linear-gradient(0deg, rgba(246, 244, 238, .06) 0 1px, transparent 1px 46px);
}
.figure__cap {
  padding: 12px 16px;
  border-top: var(--bd) solid var(--ink);
  background: var(--paper);
  color: var(--grass-deep);
  font: 400 12px/1.7 var(--font-mono);
  letter-spacing: .1em;
}
.figure--night .figure__frame { background-color: var(--night); }
.figure--wide { --figure-ratio: 21 / 9; }
.figure--tall { --figure-ratio: 3 / 4; }
.figure--square { --figure-ratio: 1 / 1; }

/* ---------- 可展开组 ---------- */
.disclosure {
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-mid);
}
.disclosure + .disclosure { margin-top: 14px; }
.disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
  font: 700 17px/1.45 var(--font-sans);
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--whistle);
  transition: transform .2s var(--ease);
}
.disclosure[open] > summary::after { transform: rotate(45deg); }
.disclosure[open] > summary { border-bottom: 2px solid rgba(10, 12, 10, .12); }
.disclosure__body { padding: 18px 20px 20px; }

/* ---------- 显现 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: clamp(56px, 9vw, 140px);
  padding: clamp(40px, 6vw, 84px) var(--gutter) 0;
  color: var(--paper);
  border-top: var(--bd) solid var(--ink);
  background-color: var(--night);
  background-image:
    repeating-linear-gradient(90deg, rgba(246, 244, 238, .035) 0 2px, transparent 2px 120px),
    linear-gradient(180deg, rgba(11, 59, 43, .6), transparent 62%);
}

.site-footer__grid {
  max-width: var(--shell-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(32px, 5vw, 56px);
}
@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1140px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.6fr; }
}

.foot-col { min-width: 0; }

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.foot-brand__name {
  font: 800 19px/1.2 var(--font-sans);
  letter-spacing: -.02em;
}
.foot-brand__domain {
  margin-bottom: 28px;
  font: 400 12px/1.5 var(--font-mono);
  letter-spacing: .1em;
  color: var(--index);
  word-break: break-all;
}

.round-scale { display: grid; gap: 6px; }
.round-scale li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(185, 192, 180, .22);
  font: 400 13px/1.5 var(--font-mono);
  color: var(--index);
}
.round-scale__no { color: var(--paper); font-weight: 700; letter-spacing: .04em; }
.round-scale__dot {
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whistle);
  box-shadow: 0 0 0 3px rgba(255, 106, 19, .22);
}

.foot-links { display: grid; gap: 9px; }
.foot-links a {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(246, 244, 238, .78);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--card);
  border-color: var(--whistle);
  transform: translateX(3px);
}

.contact-list { display: grid; gap: 13px; }
.contact-list li { display: grid; gap: 4px; }
.contact-list__k {
  font: 400 11px/1 var(--font-mono);
  letter-spacing: .16em;
  color: var(--index);
}
.contact-list__v {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.foot-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(185, 192, 180, .92);
}

.site-footer__base {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(185, 192, 180, .2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
}
.foot-mono {
  font: 400 12px/1.7 var(--font-mono);
  letter-spacing: .1em;
  color: var(--index);
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .skip-link { transition: none; }
}
