:root {
  --ink: #111111;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --acid: #d7ff24;
  --olive: #526600;
  --line: #d8d8d8;
  --muted: #6e6e73;
  --max: 1240px;
  color: var(--ink);
  background: var(--ink);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 clamp(20px, 4vw, 54px);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: var(--ink);
  color: var(--paper);
}
.brand { font-size: 15px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.brand span { color: var(--acid); padding: 0 2px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 4vw, 54px); font-size: 13px; }
.desktop-nav a { position: relative; padding: 19px 0; color: rgba(255,255,255,.72); transition: color .2s ease; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--acid); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--paper); }
.desktop-nav a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; padding: 10px 0; background: transparent; color: var(--paper); font-size: 12px; }
.mobile-menu { display: none; }

.stage { position: relative; overflow: hidden; margin-top: 10px; padding: clamp(72px, 9vw, 132px) clamp(20px, 7vw, 112px); }
.stage-black { background: var(--ink); color: var(--paper); }
.stage-light { background: var(--paper); color: var(--ink); }
.stage-acid { background: var(--acid); color: var(--ink); }
.stage-acid .eyebrow { color: rgba(17,17,17,.58); }
.eyebrow { margin: 0 0 24px; color: rgba(255,255,255,.56); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.olive { color: var(--olive); }
.section-intro { position: relative; z-index: 2; max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-intro h2, .final-copy h2 { margin: 0; font-size: clamp(42px, 6vw, 86px); font-weight: 800; letter-spacing: -.07em; line-height: .98; }
.section-intro > p:last-child, .final-copy > p:last-child { max-width: 520px; margin: 22px auto 0; color: var(--muted); font-size: clamp(15px, 1.4vw, 19px); line-height: 1.55; }
.stage-black .section-intro > p:last-child, .stage-black .final-copy > p:last-child { color: rgba(255,255,255,.64); }

.hero { min-height: min(860px, calc(100svh - 54px)); padding-top: clamp(88px, 10vw, 138px); padding-bottom: 0; }
.hero-copy { position: relative; z-index: 3; max-width: 650px; margin: 0 0 0 clamp(0px, 3vw, 48px); padding-top: clamp(36px, 5vw, 72px); text-align: left; }
.hero-copy h1 { margin: 0; font-size: clamp(44px, 5.3vw, 84px); font-weight: 800; letter-spacing: -.075em; line-height: .98; }
.hero-copy h1 span { display: block; margin-top: 18px; color: var(--acid); font-size: clamp(17px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.25; }
.hero-links { display: flex; justify-content: flex-start; gap: 34px; margin-top: 34px; color: var(--acid); font-size: 14px; font-weight: 700; }
.hero-links a { border-bottom: 1px solid transparent; padding: 4px 0; }
.hero-links a:hover { border-bottom-color: var(--acid); }
.hero-links span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.hero-links a:hover span { transform: translateX(4px); }
.hero-art { position: absolute; right: clamp(18px, 7vw, 112px); bottom: -80px; width: min(600px, 48vw, 58vh); }
.hero-art img { display: block; width: 100%; height: auto; mix-blend-mode: screen; }
.art-note { position: absolute; color: rgba(215,255,36,.78); font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1.45; }
.art-note-left { right: -32px; bottom: 37%; }
.art-note-right { bottom: 22%; left: -30px; }
.scroll-cue { position: absolute; right: clamp(20px, 7vw, 112px); bottom: 28px; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .08em; }
.scroll-cue span { display: inline-block; margin-left: 7px; color: var(--acid); font-size: 18px; }

.equipment-panel { max-width: var(--max); margin: 0 auto; border: 1px solid var(--ink); border-radius: 8px; background: var(--paper); }
.panel-toolbar { display: grid; grid-template-columns: 1fr minmax(260px, 390px); gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.segmented { display: inline-flex; width: fit-content; border: 1px solid var(--ink); }
.segmented button { min-width: 80px; border: 0; padding: 11px 20px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 800; }
.segmented button.is-active { background: var(--olive); color: var(--paper); }
.search-box { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 10px 13px; color: var(--muted); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.panel-content { display: grid; grid-template-columns: 180px minmax(260px, .9fr) minmax(360px, 1.25fr); min-height: 430px; }
.filter-rail { padding: 24px 20px; border-right: 1px solid var(--line); }
.rail-label { display: block; margin-bottom: 15px; color: var(--olive); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rail-label-spaced { margin-top: 34px; }
.chip-list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chip { border: 1px solid var(--line); padding: 7px 10px; background: var(--paper); color: var(--ink); font-size: 12px; }
.chip.is-active, .chip:hover { border-color: var(--acid); background: var(--acid); }
.brand-list { margin: 0; color: var(--muted); font-size: 13px; line-height: 2.1; }
.result-list { padding: 20px 18px; border-right: 1px solid var(--line); }
.result-list-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.result-row { display: grid; grid-template-columns: 43px 1fr 34px; gap: 10px; align-items: center; width: 100%; border: 0; border-top: 1px solid var(--line); padding: 14px 0; background: transparent; color: var(--ink); text-align: left; }
.result-row:last-child { border-bottom: 1px solid var(--line); }
.result-row img { width: 43px; height: 58px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.result-row span { display: flex; flex-direction: column; gap: 6px; }
.result-row strong { font-size: 14px; }
.result-row small { color: var(--muted); font-size: 11px; }
.result-row b { align-self: start; justify-self: end; border: 1px solid var(--olive); padding: 6px 5px; color: var(--olive); font-size: 13px; }
.result-row.is-selected strong, .result-row:hover strong { color: var(--olive); }
.empty-state { margin: 28px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.detail-card { display: grid; grid-template-columns: minmax(150px, .8fr) 1fr; gap: 20px; align-items: center; padding: 26px; }
.detail-image { display: flex; align-items: center; justify-content: center; min-height: 300px; background: var(--soft); }
.detail-image img { width: 100%; max-width: 180px; height: 300px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.detail-copy { position: relative; }
.detail-kicker { color: var(--olive); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-copy h3 { margin: 12px 0 24px; font-size: clamp(25px, 3vw, 40px); letter-spacing: -.055em; }
.score-box { position: absolute; top: -4px; right: 0; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--olive); padding: 7px 10px; color: var(--olive); }
.score-box small { font-size: 10px; }
.score-box b { font-size: 26px; }
.metrics { display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 18px; }
.metrics span { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.metrics i { color: var(--muted); font-style: normal; }
.metrics b { color: var(--olive); }
.detail-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.review-stage { padding-top: clamp(74px, 9vw, 130px); padding-bottom: clamp(74px, 9vw, 130px); }
.review-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr); gap: clamp(34px, 8vw, 130px); align-items: center; max-width: var(--max); margin: 0 auto; }
.review-layout .section-intro { max-width: 480px; margin: 0; text-align: left; }
.review-layout .section-intro > p:last-child { margin-left: 0; }
.review-board { border: 1px solid var(--ink); border-radius: 8px; background: rgba(255,255,255,.76); }
.review-score-line { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(17,17,17,.25); padding: 24px 26px 18px; }
.review-score-line span:first-child { font-size: 13px; font-weight: 800; }
.review-score-line b { font-size: 56px; letter-spacing: -.07em; }
.stars { color: var(--olive); font-size: 15px; letter-spacing: .12em; }
.stars em { color: rgba(82,102,0,.35); font-style: normal; }
.review-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 26px; }
.review-filters button { border: 1px solid rgba(17,17,17,.25); padding: 8px 12px; background: transparent; color: var(--ink); font-size: 12px; }
.review-filters button.is-active, .review-filters button:hover { border-color: var(--ink); background: var(--ink); color: var(--acid); }
.quotes { padding: 0 26px 14px; }
.quotes blockquote { margin: 0; border-top: 1px solid rgba(17,17,17,.25); padding: 20px 0; font-size: clamp(15px, 1.4vw, 19px); font-weight: 700; line-height: 1.45; }
.quotes blockquote.is-hidden { display: none; }
.quotes cite { display: block; margin-top: 10px; color: var(--olive); font-size: 12px; font-style: normal; font-weight: 800; }

.record-stage { padding-bottom: clamp(82px, 10vw, 144px); }
.record-board { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(430px, 1.2fr); max-width: var(--max); margin: 0 auto; border: 1px solid var(--ink); border-radius: 8px; }
.record-summary { padding: 28px; border-right: 1px solid var(--line); }
.record-heading, .timeline-head { display: flex; justify-content: space-between; align-items: center; }
.record-heading { color: var(--olive); font-size: 13px; font-weight: 800; }
.status-pill { border: 1px solid var(--olive); padding: 5px 8px; font-size: 10px; }
.record-summary img { display: block; width: 145px; height: 230px; margin: 24px auto 10px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.record-summary h3 { margin: 0; font-size: 25px; letter-spacing: -.05em; }
.record-score { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.record-score span:first-child { color: var(--muted); font-size: 12px; }
.record-score b { color: var(--olive); font-size: 35px; }
.record-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.record-tags span { border: 1px solid var(--olive); padding: 6px 8px; color: var(--olive); font-size: 11px; }
.timeline { padding: 28px; }
.timeline-head { margin-bottom: 22px; font-size: 13px; font-weight: 800; }
.small-action { border: 1px solid var(--olive); padding: 8px 10px; background: var(--acid); color: var(--ink); font-size: 11px; font-weight: 800; }
.timeline ol { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }
.timeline ol::before { position: absolute; top: 8px; bottom: 10px; left: 5px; width: 1px; background: var(--olive); content: ""; }
.timeline li { position: relative; display: grid; gap: 6px; margin-bottom: 26px; font-size: 13px; }
.timeline li::before { position: absolute; top: 4px; left: -26px; width: 10px; height: 10px; border: 2px solid var(--paper); border-radius: 50%; background: var(--acid); content: ""; box-shadow: 0 0 0 1px var(--olive); }
.timeline time { color: var(--muted); font-size: 11px; }
.timeline strong { font-size: 14px; }
.timeline li span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.timeline li b { width: fit-content; border: 1px solid var(--olive); padding: 4px 7px; color: var(--olive); font-size: 10px; }

.final-stage { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, .75fr); gap: clamp(36px, 9vw, 150px); align-items: center; min-height: 620px; padding-top: clamp(84px, 12vw, 170px); padding-bottom: clamp(84px, 12vw, 170px); }
.final-copy { max-width: 680px; }
.final-copy .eyebrow { color: var(--acid); }
.final-copy > p:last-child { margin-left: 0; }
.final-action { justify-self: end; width: min(100%, 390px); }
.code-slot { display: grid; place-items: center; gap: 12px; min-height: 286px; border: 1px solid var(--acid); padding: 18px 22px 20px; background: var(--acid); color: var(--ink); text-align: center; }
.code-meta { display: flex; justify-content: space-between; width: 100%; border-bottom: 1px solid rgba(17,17,17,.42); padding-bottom: 10px; color: rgba(17,17,17,.72); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.code-slot img { display: block; width: min(220px, 100%); height: auto; aspect-ratio: 1; border: 1px solid var(--ink); object-fit: contain; background: var(--paper); }
.code-caption { display: grid; gap: 4px; }
.code-slot strong { color: var(--ink); font-size: 15px; }
.code-slot span { color: rgba(17,17,17,.68); font-size: 12px; }
.search-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 14px; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); padding: 18px 0; font-size: 12px; }
.search-cta span:first-child { color: rgba(255,255,255,.55); }
.search-cta b { color: var(--acid); font-size: 14px; }
.search-cta span:last-child { color: var(--acid); font-size: 18px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px clamp(20px, 7vw, 112px) 30px; color: rgba(255,255,255,.55); font-size: 11px; }
.site-footer a:hover { color: var(--acid); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 30; max-width: 260px; transform: translateY(16px); border: 1px solid var(--acid); padding: 12px 14px; background: var(--ink); color: var(--acid); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
noscript { display: block; padding: 14px 20px; background: var(--acid); color: var(--ink); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { position: absolute; top: 54px; right: 0; left: 0; display: grid; border-bottom: 1px solid rgba(255,255,255,.2); background: var(--ink); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { display: flex; justify-content: space-between; padding: 18px 22px; border-top: 1px solid rgba(255,255,255,.14); color: var(--paper); font-size: 14px; }
  .mobile-menu a span { color: var(--acid); }
  .hero { min-height: 750px; }
  .hero-art { bottom: -25px; width: min(600px, 88vw); }
  .art-note { display: none; }
  .panel-content { grid-template-columns: 150px 1fr; }
  .detail-card { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .review-layout, .record-board, .final-stage { grid-template-columns: 1fr; }
  .review-layout .section-intro { max-width: 680px; margin: 0 auto 20px; text-align: center; }
  .review-layout .section-intro > p:last-child { margin-right: auto; margin-left: auto; }
  .record-summary { border-right: 0; border-bottom: 1px solid var(--line); }
  .final-action { justify-self: start; width: min(100%, 440px); }
}

@media (max-width: 620px) {
  .site-nav { min-height: 50px; padding-inline: 18px; }
  .brand { font-size: 14px; }
  .stage { margin-top: 7px; padding: 68px 18px; }
  .hero { min-height: 700px; padding-top: 34px; }
  .hero-copy { max-width: 320px; padding-top: 0; }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero-copy h1 { font-size: clamp(41px, 11.5vw, 58px); }
  .hero-copy h1 span { max-width: 290px; margin-right: 0; margin-left: 0; font-size: 17px; }
  .hero-links { gap: 18px; margin-top: 28px; font-size: 12px; }
  .hero-art { right: -92px; bottom: -4px; width: 112vw; max-width: none; }
  .scroll-cue { right: 18px; bottom: 20px; }
  .section-intro { margin-bottom: 38px; }
  .section-intro h2, .final-copy h2 { font-size: clamp(40px, 11.2vw, 58px); }
  .section-intro > p:last-child, .final-copy > p:last-child { font-size: 14px; }
  .panel-toolbar { grid-template-columns: 1fr; padding: 12px; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; }
  .panel-content { display: block; }
  .filter-rail { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 14px; }
  .chip-list { flex-direction: row; flex-wrap: wrap; }
  .rail-label-spaced, .brand-list { display: none; }
  .result-list { border-right: 0; padding: 16px 14px; }
  .detail-card { display: block; padding: 14px; }
  .detail-image { min-height: 250px; margin-bottom: 22px; }
  .detail-image img { height: 250px; }
  .score-box { top: 0; }
  .review-layout { gap: 8px; }
  .review-board { border-radius: 6px; }
  .review-score-line { padding: 20px 16px 14px; }
  .review-score-line b { font-size: 48px; }
  .review-filters, .quotes { padding-right: 16px; padding-left: 16px; }
  .record-summary, .timeline { padding: 20px 16px; }
  .record-summary img { height: 210px; margin-top: 18px; }
  .timeline-head { align-items: flex-start; gap: 12px; }
  .small-action { max-width: 132px; text-align: left; }
  .final-stage { min-height: auto; padding-top: 78px; padding-bottom: 78px; }
  .code-slot { min-height: 220px; }
  .search-cta { grid-template-columns: 1fr auto; }
  .search-cta span:first-child { grid-column: 1 / -1; }
  .site-footer { flex-direction: column; padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
