@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f2eee5;
  --paper-2: #e8e1d2;
  --paper-3: #fffdf7;
  --ink: #111110;
  --ink-2: #26241f;
  --muted: #5f5a4f;
  --orange: #ff4d12;
  --orange-ink: #df3a00;
  --orange-text: #c93500;
  --orange-2: #e63e05;
  --green: #123d2b;
  --green-2: #1b543b;
  --white: #fffdf7;
  --line: #111110;
  --display: 'Anton', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --body: 'Space Grotesk', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 8px 8px 0 var(--ink);
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17,17,16,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,16,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
em { font-style: normal; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.hidden { display: none !important; }
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: top .2s;
}
.skip:focus { top: 12px; }

h1, h2, h3, p, dl, dd, dt, figure { margin: 0; }
.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 12px var(--pad);
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  border: 2px solid var(--ink);
  border-radius: 2px;
}
.logo-word {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: .015em;
  text-transform: uppercase;
  line-height: 1;
}
.logo-word span { color: var(--orange); }
.topbar-side { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2.2s ease-in-out infinite;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper-3);
}
.lang-switch button {
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.lang-switch button.active { background: var(--ink); color: var(--paper); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn .arrow { font-family: var(--body); font-size: 16px; line-height: 1; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff5d28; }
.btn-ghost { background: transparent; }
.btn-outline { background: transparent; border-color: var(--paper); color: var(--paper); box-shadow: 4px 4px 0 rgba(242,238,229,.28); }
.btn-outline:hover { background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 rgba(242,238,229,.4); }
.btn-small { padding: 10px 16px; font-size: 9px; box-shadow: 3px 3px 0 var(--ink); }
.btn-small:hover { box-shadow: 4px 4px 0 var(--ink); }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 68px);
  padding: clamp(28px, 5vh, 64px) var(--pad) 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(24px, 5vw, 88px);
  width: min(var(--max), 100%);
  margin: auto;
  flex: 1;
}
.hero-copy { position: relative; z-index: 2; }
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 3vh, 32px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kicker-tag, .kicker-free {
  padding: 6px 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  line-height: 1;
}
.kicker-tag { background: var(--ink); color: var(--paper); }
.kicker-free { color: var(--muted); }
.kicker-line { color: var(--muted); }
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(74px, 12.4vw, 186px);
  line-height: .82;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.title-line { display: block; white-space: nowrap; }
html[lang="zh-CN"] .hero-title { font-size: clamp(52px, 8.8vw, 132px); }
html[lang="zh-CN"] .title-accent::after { display: none; }
.title-accent { color: var(--orange-ink); position: relative; }
.title-accent::after {
  content: 'THE NEW TEST';
  position: absolute;
  right: .04em;
  bottom: .1em;
  padding: 5px 9px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  transform: rotate(-6deg);
  white-space: nowrap;
}
.hero-sub {
  max-width: 34em;
  margin: 24px 0 28px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(30px, 5vh, 52px);
  padding-top: 16px;
  border-top: 1.5px solid rgba(17,17,16,.22);
  max-width: 560px;
}
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 3px; }
.hero-stats dt {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-stats dd {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: .9;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(440px, 56vh, 640px);
  perspective: 1400px;
}
.stamp {
  position: absolute;
  top: -4%;
  right: -1%;
  width: clamp(150px, 16vw, 210px);
  color: var(--orange);
  animation: spin 26s linear infinite;
  z-index: 0;
}
.stamp svg { width: 100%; height: auto; overflow: visible; }
.stamp text { fill: currentColor; font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; font-weight: 700; }
.stamp .stamp-center { font-family: var(--display); font-size: 42px; letter-spacing: .04em; }
.stamp .stamp-sub { font-size: 10px; letter-spacing: .3em; }
.deck {
  position: relative;
  width: min(400px, 88%);
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
  z-index: 1;
}
.specimen-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 13px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--ink);
  transform-origin: 50% 92%;
  transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .4s, box-shadow .4s;
  will-change: transform;
}
.card-back { transform: rotate(-7deg) translate(-16px, 30px) scale(.91); z-index: 0; box-shadow: 4px 4px 0 var(--ink); }
.card-mid { transform: rotate(4deg) translate(18px, 16px) scale(.955); z-index: 1; box-shadow: 6px 6px 0 var(--ink); }
.card-front { transform: rotate(-3deg); z-index: 2; }
.card-front.is-swapping { transform: rotate(-3deg) rotateY(88deg) scale(.985); }
.card-front.is-swapping-out { transform: rotate(-9deg) translateY(-14px); opacity: 0; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card-img {
  position: relative;
  flex: 1;
  margin: 10px 0;
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: #fff;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.specimen-card:hover .card-img img { transform: scale(1.035); }
.card-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card-code {
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: .9;
  letter-spacing: -.01em;
}
.card-cn { font-size: 13px; font-weight: 700; color: var(--muted); }
.card-vibe {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1.5px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  color: var(--muted);
}
.barcode {
  display: block;
  width: 84px;
  height: 16px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px);
}
.art-note {
  position: absolute;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
}
.art-note-left { left: 0; bottom: 9%; transform: rotate(-90deg); transform-origin: left bottom; }
.art-note-right { right: 1%; bottom: 6%; text-align: right; }
.marquee {
  width: calc(100% + var(--pad) * 2);
  margin: clamp(30px, 5vh, 56px) calc(var(--pad) * -1) 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  height: 52px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 44s linear infinite;
  padding-left: 24px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-size: 24px; letter-spacing: .03em; line-height: 1; }
.marquee-track b { color: var(--orange); font-size: 11px; }

.section-head { max-width: 940px; margin: 0 0 clamp(36px, 6vw, 70px); }
.section-label {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 94px);
  line-height: .88;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.section-head h2 em { color: var(--orange-ink); }
.section-head-dark h2 em { color: var(--orange); }
.section-head p {
  max-width: 38em;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
}

.diagnostic {
  position: relative;
  padding: clamp(56px, 9vw, 120px) var(--pad);
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--line);
  overflow: hidden;
}
.section-head-dark .section-label { color: var(--orange); }
.section-head-dark p { color: rgba(242,238,229,.6); }
.quiz-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
  border: 2px solid rgba(242,238,229,.28);
  border-radius: var(--radius);
  background: #0b0b0a;
  box-shadow: 12px 12px 0 rgba(255,77,18,.85);
}
.quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(242,238,229,.16);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242,238,229,.55);
}
.quiz-counter { color: var(--orange); }
.quiz-counter #questionIndex { font-family: var(--display); font-size: 22px; letter-spacing: .02em; }
.counter-total { color: rgba(242,238,229,.62); }
.progress {
  position: relative;
  height: 7px;
  margin: 15px 0 clamp(26px, 4vw, 42px);
  background: rgba(242,238,229,.12);
  overflow: hidden;
}
.progress-fill { height: 100%; width: 0; background: var(--orange); transition: width .4s cubic-bezier(.22,1,.36,1); }
.progress-ticks {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(5% - 1px), #0b0b0a calc(5% - 1px) 5%);
  pointer-events: none;
}
.quiz-start { max-width: 720px; padding: clamp(26px, 5vw, 64px) 0; }
.start-meta { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--orange); }
.quiz-start h3 {
  margin: 18px 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(50px, 8vw, 96px);
  line-height: .86;
  text-transform: uppercase;
}
.quiz-start h3 em { color: var(--orange); }
.quiz-start p { max-width: 30em; color: rgba(242,238,229,.6); font-size: 16px; }
.quiz-start .btn { margin-top: 26px; }
.start-note {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: rgba(242,238,229,.58);
}
.quiz-play { min-height: 380px; padding: clamp(8px, 2vw, 20px) 0 4px; }
.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242,238,229,.62);
}
.question-meta #questionLabel { color: var(--orange); }
.quiz-q {
  max-width: 21em;
  margin-bottom: clamp(24px, 4vw, 42px);
  font-size: clamp(25px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
  transition: opacity .2s, transform .2s;
}
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; transition: opacity .2s, transform .2s; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 118px;
  padding: 20px;
  border: 1.5px solid rgba(242,238,229,.28);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  text-align: left;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.choice:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--paper); }
.choice:active { transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--paper); }
.choice-letter {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
}
.choice-text { font-size: clamp(15px, 1.5vw, 19px); line-height: 1.4; }
.quiz-play.is-swapping .quiz-q,
.quiz-play.is-swapping .choice-grid { opacity: 0; transform: translateY(8px); }
.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(242,238,229,.14);
}
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242,238,229,.55);
  transition: color .2s;
}
.text-btn:hover { color: var(--orange); }
.keys { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: rgba(242,238,229,.58); }
.keys kbd {
  display: inline-block;
  margin-right: 3px;
  padding: 2px 6px;
  border: 1px solid rgba(242,238,229,.24);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(242,238,229,.6);
}

.result { padding-top: 16px; }
.result-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(242,238,229,.16);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.result-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding-top: clamp(20px, 3vw, 34px);
}
.result-art { position: relative; border: 2px solid var(--paper); background: var(--white); }
.result-art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 58%; }
.result-stamp {
  position: absolute;
  right: -16px;
  bottom: -18px;
  padding: 9px 13px;
  border: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: .14em;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.result-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,238,229,.62); }
.result-code {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 132px);
  line-height: .85;
  letter-spacing: -.01em;
  color: var(--orange);
  overflow-wrap: anywhere;
}
.result-name { margin-top: 7px; font-size: 19px; font-weight: 700; }
.result-vibe {
  max-width: 34em;
  margin: 16px 0 24px;
  padding-left: 13px;
  border-left: 3px solid var(--orange);
  color: rgba(242,238,229,.78);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
}
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.result-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(242,238,229,.14);
}
.result-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242,238,229,.6);
  border-bottom: 1px solid rgba(242,238,229,.08);
  transition: color .2s, padding .2s;
}
.result-link:hover { color: var(--orange); padding-left: 5px; }

.index { padding: clamp(56px, 9vw, 120px) var(--pad); border-top: 2px solid var(--line); }
.wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 9px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s;
}
.tile:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); z-index: 2; }
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-w { grid-column: span 2; }
.tile-img { position: absolute; inset: 0; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.tile:hover .tile-img img { transform: scale(1.045); }
.tile-index {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 3;
  padding: 2px 5px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
}
.tile-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  padding: 20px 9px 8px;
  border-top: 1.5px solid var(--line);
  background: rgba(255,253,247,.95);
}
.tile-code { font-family: var(--display); font-size: 16px; line-height: .9; letter-spacing: .01em; }
.tile-cn { font-size: 10px; font-weight: 700; color: var(--muted); }
.tile-vibe {
  flex-basis: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: max-height .25s, opacity .25s;
}
.tile:hover .tile-vibe { max-height: 30px; opacity: 1; }
.tile-xl .tile-info, .tile-w .tile-info { padding: 24px 13px 11px; }
.tile-xl .tile-code { font-size: clamp(34px, 4.5vw, 64px); }
.tile-xl .tile-cn { font-size: 14px; }
.tile-xl .tile-vibe, .tile-w .tile-vibe { font-size: 8px; max-height: 28px; opacity: 1; }
.tile-w .tile-code { font-size: clamp(22px, 2.6vw, 34px); }

.departments { padding: clamp(56px, 9vw, 120px) var(--pad); border-top: 2px solid var(--line); background: var(--paper-2); }
.dept-list { width: min(var(--max), 100%); margin: 0 auto; border-top: 2px solid var(--line); }
.dept {
  display: grid;
  grid-template-columns: 52px minmax(160px, 1.05fr) minmax(90px, .55fr) minmax(0, 1.6fr) auto 34px;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  padding: 20px 10px;
  border-bottom: 1.5px solid var(--line);
  transition: background .18s, padding .18s, color .18s;
}
.dept:hover { background: var(--orange); padding-left: 20px; padding-right: 0; }
.dept-no { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.dept-name { font-family: var(--display); font-size: clamp(23px, 2.4vw, 36px); line-height: .95; letter-spacing: .01em; }
.dept-cn { font-size: 12px; font-weight: 700; color: var(--muted); }
.dept:hover .dept-cn { color: var(--ink); }
.dept-desc { font-size: 13px; line-height: 1.4; color: var(--muted); }
.dept:hover .dept-desc { color: var(--ink); }
.dept-meta { font-family: var(--mono); font-size: 8px; letter-spacing: .09em; white-space: nowrap; color: var(--muted); }
.dept:hover .dept-meta { color: var(--ink); }
.dept-arrow { font-size: 20px; line-height: 1; justify-self: end; transition: transform .2s; }
.dept:hover .dept-arrow { transform: translate(3px,-3px); }

.fineprint { padding: clamp(56px, 9vw, 120px) var(--pad); border-top: 2px solid var(--line); }
.faq { width: min(980px, 100%); margin: 0 auto; border-top: 2px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary {
  display: grid;
  grid-template-columns: 52px 1fr 30px;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-no { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.faq-plus { justify-self: end; font-family: var(--display); font-size: 24px; line-height: 1; transition: transform .25s; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq p { max-width: 46em; padding: 0 30px 24px 64px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.footer { padding: clamp(44px, 7vw, 90px) var(--pad) 24px; background: var(--ink); color: var(--paper); overflow: hidden; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-bottom: clamp(30px, 5vw, 56px);
  border-bottom: 1px solid rgba(242,238,229,.16);
}
.footer-label { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.footer-big {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(72px, 13vw, 180px);
  line-height: .78;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.footer-big em { color: var(--orange); }
.footer-side p { max-width: 22em; margin-bottom: 22px; color: rgba(242,238,229,.55); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.footer-links a { font-family: var(--mono); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: rgba(242,238,229,.68); transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: rgba(242,238,229,.52);
}

.site-header { border-bottom: 2px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 12px var(--pad); width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-weight: 700; font-size: 13px; border: 2px solid var(--line); border-radius: 2px; }
.brand > span:last-child { font-family: var(--display); font-size: 21px; letter-spacing: .015em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.nav a:not(.cta) { color: var(--muted); transition: color .2s; }
.nav a:not(.cta):hover { color: var(--orange-text); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 17px; border: 2px solid var(--line); border-radius: 999px; background: var(--white); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; box-shadow: 3px 3px 0 var(--ink); transition: transform .18s, box-shadow .18s; }
.cta:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.cta-orange { background: var(--orange); }
.cta-green { background: var(--green); color: var(--paper); }
.cta-ghost { background: transparent; }
.site-footer { padding: 26px var(--pad); border-top: 2px solid var(--line); background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(var(--max), 100%); margin: 0 auto; font-size: 12px; }
.footer-inner .footer-links { gap: 16px; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.type-page { padding: clamp(24px, 4vw, 48px) 0 64px; }
.type-hero { text-align: center; padding: clamp(10px, 3vw, 30px) 0 34px; }
.type-badge { display: inline-flex; padding: 5px 10px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--orange); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.type-hero h1 { margin: 18px 0 10px; line-height: .88; }
.type-hero .code { display: block; font-family: var(--display); font-size: clamp(64px, 12vw, 136px); line-height: .82; color: var(--orange-ink); letter-spacing: -.01em; text-transform: uppercase; }
.type-hero .name { display: block; margin-top: 10px; font-size: clamp(16px, 2vw, 22px); font-weight: 700; }
.type-hero .lead { max-width: 34rem; margin: 0 auto 22px; color: var(--muted); font-size: 16px; }
.type-art { width: min(340px, 82%); margin: 0 auto 24px; overflow: hidden; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); aspect-ratio: 1; }
.type-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.type-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.type-body { max-width: 760px; margin: 0 auto; }
.type-body h2 { margin: 32px 0 10px; font-family: var(--display); font-size: clamp(25px, 3vw, 34px); line-height: 1; text-transform: uppercase; }
.type-body p { margin-bottom: 12px; color: var(--muted); line-height: 1.7; }
.type-body .zh { color: var(--ink-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip { padding: 7px 11px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .06em; transition: background .18s, transform .18s; }
.chip:hover { background: var(--orange); transform: translate(-2px,-2px); }
.type-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.type-card { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px; border: 2px solid var(--line); border-radius: 2px; background: var(--white); text-align: center; transition: transform .18s, box-shadow .18s; }
.type-card:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.type-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 58%; border: 1.5px solid var(--line); }
.type-card strong { font-family: var(--display); font-size: 18px; line-height: 1; }
.type-card span { font-size: 10px; color: var(--muted); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.75); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

.hero-copy .kicker, .hero-copy .hero-title, .hero-copy .hero-sub, .hero-copy .hero-actions, .hero-copy .hero-stats {
  animation: rise .8s cubic-bezier(.22,1,.36,1) both;
}
.hero-copy .hero-title { animation-delay: .08s; }
.hero-copy .hero-sub { animation-delay: .16s; }
.hero-copy .hero-actions { animation-delay: .24s; }
.hero-copy .hero-stats { animation-delay: .32s; }
.hero-art { animation: rise 1s cubic-bezier(.22,1,.36,1) .18s both; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 28px; }
  .title-accent::after { display: none; }
  .dept { grid-template-columns: 44px minmax(140px, 1fr) minmax(0, 1.5fr) auto 30px; }
  .dept-cn { display: none; }
}
@media (max-width: 900px) {
  .online { display: none; }
  .hero { min-height: 0; padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-art { min-height: 430px; order: 2; }
  .hero-copy { order: 1; }
  .hero-title { font-size: clamp(68px, 16vw, 130px); }
  .hero-sub { margin: 20px 0 24px; }
  .hero-stats { margin-top: 28px; }
  .deck { width: min(330px, 82%); }
  .stamp { width: 140px; right: 4%; top: 0; }
  .art-note { display: none; }
  .marquee { margin-top: 34px; }
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .result-grid { grid-template-columns: 1fr; }
  .result-art { max-width: 340px; }
  .result-stamp { right: -10px; }
  .type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .topbar { min-height: 60px; padding: 10px 16px; }
  .logo-word { font-size: 17px; }
  .logo-mark { width: 33px; height: 33px; font-size: 11px; }
  .topbar-side { gap: 9px; }
  .lang-switch button { padding: 5px 8px; }
  .btn-small .arrow { display: none; }
  .btn-small { padding: 9px 11px; font-size: 8px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .kicker { gap: 7px; font-size: 8px; }
  .kicker-line { display: none; }
  .hero-title { font-size: clamp(58px, 19vw, 100px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-art { min-height: 390px; }
  .deck { width: min(300px, 84%); }
  .marquee { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; height: 44px; }
  .marquee-track span { font-size: 19px; }
  .section-head h2 { font-size: clamp(38px, 11vw, 62px); }
  .diagnostic, .index, .departments, .fineprint { padding-left: 16px; padding-right: 16px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice { min-height: 0; padding: 17px; }
  .quiz-start h3 { font-size: clamp(44px, 13vw, 70px); }
  .result-code { font-size: clamp(54px, 17vw, 96px); }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .tile-xl { grid-column: span 2; }
  .dept { grid-template-columns: 34px 1fr 28px; gap: 12px; padding: 17px 4px; }
  .dept-desc, .dept-meta { display: none; }
  .dept-name { font-size: clamp(22px, 6vw, 30px); }
  .faq summary { grid-template-columns: 34px 1fr 26px; font-size: 19px; }
  .faq p { padding-left: 46px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-big { font-size: clamp(64px, 20vw, 120px); }
  .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(52px, 20vw, 86px); }
  .hero-stats { gap: 20px; }
  .hero-stats dd { font-size: 26px; }
  .deck { width: min(270px, 88%); }
  .stamp { width: 112px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-w { grid-column: span 2; }
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .stamp { animation: none; }
  .hero-copy .kicker, .hero-copy .hero-title, .hero-copy .hero-sub, .hero-copy .hero-actions, .hero-copy .hero-stats, .hero-art { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

#quiz, #index, #tests { scroll-margin-top: 84px; }
.text-btn:disabled { opacity: .28; pointer-events: none; }
.result:not(.hidden) .result-code,
.result:not(.hidden) .result-art { animation: resultIn .7s cubic-bezier(.22,1,.36,1) both; }
.result:not(.hidden) .result-art { animation-delay: .08s; }
.result:not(.hidden) .result-copy > * { animation: rise .6s cubic-bezier(.22,1,.36,1) both; }
.result:not(.hidden) .result-copy > :nth-child(2) { animation-delay: .06s; }
.result:not(.hidden) .result-copy > :nth-child(3) { animation-delay: .1s; }
.result:not(.hidden) .result-copy > :nth-child(4) { animation-delay: .14s; }
.result:not(.hidden) .result-copy > :nth-child(5) { animation-delay: .18s; }
@keyframes resultIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

.tile { background: var(--paper-3); }
.tile:nth-child(5n+1) { background: #f6ddd2; }
.tile:nth-child(5n+2) { background: #dfe9dc; }
.tile:nth-child(5n+3) { background: #f1e6bb; }
.tile:nth-child(5n+4) { background: #e9e2d5; }
.tile:nth-child(5n) { background: #f4d5c5; }
.tile-img img { mix-blend-mode: multiply; }

#result { scroll-margin-top: 88px; }

.tile-w .tile-img img { object-position: center top; }
