:root {
  --ink: #071411;
  --paper: #eff5e9;
  --muted: #8da198;
  --line: rgba(205, 231, 215, .16);
  --acid: #c9ff50;
  --cyan: #74e8d2;
  --orange: #ff9861;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: radial-gradient(circle at 75% 12%, rgba(116,232,210,.12), transparent 34rem), radial-gradient(circle at 18% 36%, rgba(201,255,80,.055), transparent 38rem), #071411; }
a, button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.grid-noise { position: fixed; inset: 0; pointer-events: none; opacity: .3; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.topbar, main, body > footer { position: relative; width: min(1440px, calc(100% - 48px)); margin: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--paper); text-decoration: none; }
.brand b { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--acid); border-radius: 50%; color: var(--acid); font-family: Georgia, serif; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 13px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a, body > footer a { color: var(--muted); font-size: 11px; text-decoration: none; }
.topbar nav a:hover, body > footer a:hover { color: var(--acid); }
.floating-nav { position: fixed; top: 50%; right: 18px; z-index: 20; display: grid; gap: 6px; transform: translateY(-50%); }
.floating-nav a { display: grid; grid-template-columns: 24px auto; align-items: center; min-width: 120px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); background: rgba(7,20,17,.9); box-shadow: 0 10px 30px rgba(0,0,0,.24); backdrop-filter: blur(16px); font-size: 11px; font-weight: 750; text-decoration: none; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.floating-nav a:hover { color: var(--acid); border-color: rgba(201,255,80,.55); transform: translateX(-3px); }
.floating-nav span { color: var(--cyan); font: 800 8px/1 monospace; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.section-head { display: grid; grid-template-columns: 1fr minmax(280px, .55fr); align-items: end; gap: 50px; margin-bottom: 40px; }
.section-head h1, .section-head h2 { margin: 0; font: 500 clamp(36px, 4.5vw, 62px)/1.08 Georgia, "Noto Serif SC", serif; letter-spacing: -.045em; }
.section-head > p { margin: 0; color: #a0b3aa; font-size: 14px; line-height: 1.75; }
.system-preview, .featured, .exhibits { padding: 76px 3vw; border-top: 1px solid var(--line); }
.system-preview { border-top: 0; }
.system-layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.system-layer { min-width: 0; min-height: 370px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); }
.system-layer > header { min-height: 112px; }
.system-layer > header span { color: var(--cyan); font: 800 9px/1 monospace; }
.system-layer h3 { margin: 15px 0 0; font: 500 21px/1.3 Georgia, "Noto Serif SC", serif; }
.system-layer > div { display: grid; gap: 9px; }
.system-layer section { padding-top: 12px; border-top: 1px solid var(--line); }
.system-layer section strong { color: var(--acid); font-size: 12px; }
.system-layer section p { display: flex; flex-wrap: wrap; gap: 5px; margin: 9px 0 0; }
.system-layer section p span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #b4c4bc; font-size: 11px; line-height: 1.35; }
.text-link { display: inline-flex; margin-top: 24px; color: var(--acid); font-size: 11px; font-weight: 800; }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.feature-card { display: flex; flex-direction: column; min-height: 250px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); color: var(--paper); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.feature-card > span { color: var(--cyan); font-size: 10px; font-weight: 800; }
.feature-card h3 { max-width: 650px; margin: 30px 0 13px; font: 500 clamp(22px, 2vw, 29px)/1.2 Georgia, "Noto Serif SC", serif; }
.feature-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.feature-card b { margin-top: auto; padding-top: 18px; color: var(--acid); font-size: 11px; }
.feature-card--acid { background: var(--acid); color: var(--ink); }
.feature-card--acid > span, .feature-card--acid b { color: #24534a; }
.feature-card--acid p { color: #42624d; }
.feature-card--dark { background: #eff5e9; color: var(--ink); }
.feature-card--dark > span, .feature-card--dark b { color: var(--teal, #17665f); }
.feature-card--dark p { color: #5b6d65; }
.exhibit-group + .exhibit-group { margin-top: 40px; }
.exhibit-group > header { display: flex; justify-content: space-between; gap: 30px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.exhibit-group > header span { color: var(--cyan); font-size: 12px; font-weight: 800; }
.exhibit-group > header p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.exhibit-group > header strong { color: var(--acid); font: 500 28px/1 Georgia, serif; }
.exhibit-list a { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; padding: 24px 4px; color: var(--paper); border-bottom: 1px solid var(--line); text-decoration: none; }
.exhibit-list a > span { color: var(--cyan); font: 800 10px/1 monospace; }
.exhibit-list h3 { margin: 0; font: 500 25px/1.2 Georgia, "Noto Serif SC", serif; }
.exhibit-list p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.exhibit-list b { color: var(--acid); font-size: 18px; transition: transform .2s ease; }
.exhibit-list a:hover b { transform: translate(4px, -4px); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); padding: 120px 3vw; border-top: 1px solid var(--line); }
.about h2 { margin: 0; font: 500 clamp(38px, 5vw, 68px)/1.08 Georgia, "Noto Serif SC", serif; }
.about > div:last-child p { margin: 0 0 20px; color: #9cafA6; font-size: 14px; line-height: 1.85; }
.load-error { grid-column: 1 / -1; min-height: 240px; padding: 80px; color: var(--orange); }
body > footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
body > footer p { margin: 0; }
@media (max-width: 980px) {
  .section-head, .about { grid-template-columns: 1fr; }
  .system-layers { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .topbar, main, body > footer { width: calc(100% - 28px); }
  .brand small, .topbar nav a:first-child { display: none; }
  .topbar nav { gap: 12px; }
  .floating-nav { top: auto; right: 14px; bottom: 14px; left: 14px; grid-template-columns: repeat(3, 1fr); transform: none; }
  .floating-nav a { display: flex; justify-content: center; min-width: 0; }
  .floating-nav span { display: none; }
  .system-layers, .featured-grid { grid-template-columns: 1fr; }
  .system-preview, .featured, .exhibits { padding-inline: 4px; }
  .system-layer { min-height: auto; }
  .exhibit-list a { grid-template-columns: 44px 1fr auto; }
  body > footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
