:root {
  --paper: #faf9f5;
  --paper-2: #f0eee6;
  --ink: #201f1b;
  --muted: #56564f;
  --line: #d5d2c6;
  --blue: #9b4527;
  --night: #24241e;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
a { color: var(--blue); text-underline-offset: .23em; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #a04421; outline-offset: 3px;
}
::selection { background: #ffd9bd; color: #29241a; }
h1, h2, h3, h4, p, figure { margin: 0; }
code { font-family: var(--mono); font-size: .87em; overflow-wrap: anywhere; }
img, svg { max-width: 100%; }
html[data-lang="en"] .zh,
html[data-lang="zh"]:not(:has(#read-en:checked)) .en,
html:has(#read-en:checked) .zh { display: none !important; }
.sheet { width: min(1140px, calc(100% - clamp(36px, 9vw, 132px))); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; left: .8rem; top: .8rem; padding: .5em 1em; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--line); }
.mast-row, .mast-tools, .foot-row, .foot-links, .folio, .bar-label, .cover-chart figcaption, .cover-chart a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mast-row { min-height: 67px; }
.wordmark { color: var(--ink); font: 700 21px/1.15 var(--mono); letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.wordmark span, .period { color: var(--blue); }
.mast-tools { gap: 26px; }
.portfolio-link, .foot-links a, .foot-home { font-size: 14px; font-weight: 600; }
.switch { display: none; border-left: 1px solid var(--line); padding-left: 8px; }
.js .switch { display: flex; }
.switch button { background: transparent; border: 0; color: var(--muted); cursor: pointer; min-width: 42px; min-height: 44px; position: relative; font: 600 14px/1 var(--mono); }
.switch button[aria-pressed="true"] { color: var(--blue); }
.switch button[aria-pressed="true"]::after { content: ""; width: 15px; height: 2px; background: currentColor; position: absolute; bottom: 7px; left: calc(50% - 7.5px); }
.fallback-lang { margin: .4rem 0; font-size: 13px; }
.folio { padding-top: 30px; color: var(--muted); font: 600 12px/1.5 var(--mono); letter-spacing: .045em; }
.dot { display: inline-block; width: .62em; height: .62em; background: var(--blue); margin-right: .75em; border-radius: 50%; }
.cover { padding: clamp(30px, 4.5vw, 66px) 0; display: grid; grid-template-columns: 1.15fr minmax(0,.85fr); align-items: center; gap: clamp(36px, 6vw, 90px); }
.cover h1 { font-size: clamp(56px, 6.9vw, 98px); line-height: .97; letter-spacing: -.046em; font-weight: 740; }
.cover h1 .sub { display: block; margin-top: 12px; font-size: .51em; line-height: 1.12; font-weight: 630; letter-spacing: -.045em; }
h1 .sub.en { font-family: "Iowan Old Style", Georgia, serif; font-style: italic; font-weight: 500; }
.dek { max-width: 56ch; margin: 25px 0 18px; color: var(--muted); line-height: 1.8; }
.release { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.release strong { color: var(--blue); font: 700 13px var(--mono); }
.cover-chart { padding: clamp(24px, 2.5vw, 38px); color: #f6f2e7; background: var(--night); border-top: 3px solid #ba693f; }
.cover-chart figcaption { align-items: baseline; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; }
.serial { font: 600 13px/1.5 var(--mono); color: #eaa37d; }
.hero-stat { margin: 14px 0 19px; font: 590 clamp(50px, 5.4vw, 80px)/1.18 var(--mono); letter-spacing: -.085em; }
.hero-stat small { font-size: .37em; font-weight: 500; letter-spacing: -.05em; color: #d8d5c8; }
.bar-label { font: 13px/1.5 var(--mono); }
.bar-label b { font-weight: 600; }
.bar-track { margin: 5px 0 12px; height: 8px; background: #434339; }
.bar-track i { display: block; height: 100%; }
.before-bar { width: 100%; background: #c2bfb1; }
.after-bar { width: 6.6174%; background: #f3a682; }
.cover-chart a { margin-top: 24px; padding-top: 13px; border-top: 1px solid #55564a; font-size: 13px; font-weight: 600; color: #f6f2e7; }
.cover-chart a:focus-visible { outline-color: #f5b99a; }
.contents { display: flex; flex-wrap: wrap; gap: 0 28px; padding: 5px 0; border-block: 1px solid var(--line); }
.contents a { padding: 9px 0; color: var(--ink); text-decoration-thickness: 1px; font-size: 14px; font-weight: 600; }
.release-section { margin: clamp(42px, 5.5vw, 76px) 0 clamp(52px, 7vw, 90px); }
.section-label { margin-bottom: 8px; color: var(--blue); font: 600 13px/1.55 var(--mono); }
.release-section h2 { font-size: clamp(27px, 3.1vw, 42px); line-height: 1.2; letter-spacing: -.045em; }
.intro { max-width: 78ch; margin-top: 16px; color: var(--muted); }
.wave-title { margin: 28px 0 12px; font-size: 18px; font-weight: 650; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: clamp(20px, 3vw, 42px); }
.feature-grid article { padding: 19px 0 22px; border-top: 1px solid var(--line); }
.source-id { color: var(--blue); font: 600 12px/1.5 var(--mono); }
.source-id code { color: var(--muted); font-size: 1em; font-weight: 400; }
.feature-grid h4 { margin: 9px 0 8px; font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.feature-grid h4 + p { color: var(--muted); font-size: 15px; line-height: 1.72; }
footer { margin-top: 54px; background: var(--paper-2); border-top: 1px solid var(--line); }
.foot-row { padding-block: 30px; flex-wrap: wrap; }
.foot-links { flex-wrap: wrap; gap: 10px 24px; }
@media (max-width: 850px) {
  .cover { gap: 28px; grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .cover { grid-template-columns: 1fr; gap: 18px; }
  .cover-copy { display: contents; }
  .cover h1 { order: 1; }
  .cover .release { order: 2; }
  .cover-chart { order: 3; }
  .cover .dek { order: 4; margin: 0; }
  .cover-chart { max-width: 520px; width: 100%; }
  .folio { padding-top: 21px; }
  .contents { gap: 0 18px; }
  .mast-tools { gap: 10px; }
  .portfolio-link { display: none; }
  .switch { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .cover-chart { padding: 22px; }
  .feature-grid article { padding-block: 16px; }
}
@media print {
  .mast-tools, .contents, footer, .skip-link { display: none; }
  .sheet { width: 100%; }
  details > * { display: block; }
}
