@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/newsreader-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: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #FAF8F5;
  --paper-2: #F2EDE5;
  --paper-3: #E9E2D7;
  --ink: #1E201E;
  --ink-2: #44463F;
  --muted: #6F7268;
  --line: #DDD6CB;
  --line-strong: #C2B8AA;
  --accent: #BC6C25;
  --accent-dark: #3A5A40;
  --accent-soft: #EAD9C8;
  --sage: #3A5A40;
  --white: #FFFFFF;
  --shadow: 0 20px 60px rgba(50, 38, 24, .08);
  --max: 1200px;
  --measure: 68ch;
  --font-display: 'Newsreader', 'Noto Serif CJK SC', 'Source Han Serif SC', 'Songti SC', Georgia, serif;
  --font-body: 'Inter', 'Noto Sans CJK SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

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

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: .75rem 1rem;
  text-decoration: none;
  font-size: .8rem;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .1rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  text-decoration: none;
}

.brand::after {
  content: "";
  width: .38rem;
  height: .38rem;
  margin-left: .2rem;
  border-radius: 50%;
  background: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: .55rem .75rem;
  cursor: pointer;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
  width: 1rem;
}

.nav-toggle-icon span {
  display: block;
  height: 1px;
  background: currentColor;
}

.lang {
  position: relative;
}

.lang summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary::after {
  content: "";
  width: .4rem;
  height: .4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-.1rem);
  transition: transform .2s ease;
}

.lang[open] summary::after {
  transform: rotate(225deg) translateY(-.1rem);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .6rem);
  z-index: 60;
  min-width: 11.5rem;
  padding: .45rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: .1rem;
}

.lang-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem .7rem;
  text-decoration: none;
  font-size: .82rem;
}

.lang-link:hover {
  background: var(--paper-2);
  color: var(--accent);
}

.lang-link[aria-current="true"] {
  color: var(--accent);
  font-weight: 600;
}

.hero {
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 41rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 13ch;
  margin: 1.1rem 0 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .95;
}

.hero-deck {
  max-width: 48ch;
  margin: 0 0 2rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.button-primary {
  background: var(--accent-dark);
  color: var(--white);
}

.button-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
  color: var(--accent);
  font-size: 1rem;
  transition: transform .2s ease;
}

.text-link:hover::after {
  transform: translateX(.2rem);
}

.hero-media {
  margin: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.hero-media .media-frame {
  aspect-ratio: 4 / 5;
  max-height: 680px;
}

.hero-media:hover .media-frame img {
  transform: scale(1.02);
}

.media-caption {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.5;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-label {
  display: block;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section-title {
  margin: .4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.section-note {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feature-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-2);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.feature-media:hover img {
  transform: scale(1.03);
}

.feature-body {
  padding: 1rem 0;
}

.category {
  color: var(--accent);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.feature-title {
  margin: .6rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.feature-title a {
  text-decoration: none;
}

.feature-title a:hover {
  color: var(--accent-dark);
}

.feature-deck {
  max-width: 44ch;
  margin: 0 0 1.5rem;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.65;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .02em;
}

.meta span + span::before {
  content: "·";
  margin-right: 1rem;
  color: var(--line-strong);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.75rem;
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: var(--paper-2);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.card:hover .card-media img {
  transform: scale(1.035);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.12;
}

.card:hover .card-title {
  color: var(--accent-dark);
}

.card-deck {
  margin: 0;
  color: var(--ink-2);
  font-size: .9rem;
  line-height: 1.6;
}

.card-meta {
  margin-top: .15rem;
  color: var(--muted);
  font-size: .72rem;
}

.about {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: 5rem 0;
}

.about-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-3);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  max-width: 37rem;
}

.about-title {
  margin: .5rem 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.about-body {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-note {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
}

.contact {
  padding: 6rem 0;
  background: var(--ink);
  color: var(--paper);
}

.contact-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact .eyebrow {
  color: var(--accent-soft);
}

.contact-title {
  margin: .8rem 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
}

.contact-body {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: rgba(250, 248, 245, .78);
  font-size: 1.02rem;
}

.contact .button-primary {
  background: var(--accent);
  color: var(--white);
}

.contact .button-primary:hover {
  background: var(--paper);
  color: var(--ink);
}

.alias {
  margin-top: 1rem;
  color: rgba(250, 248, 245, .6);
  font-size: .78rem;
}

.alias a {
  color: inherit;
  text-underline-offset: .18em;
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  text-decoration: none;
}

.footer-tagline {
  max-width: 26rem;
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.footer-disclaimer {
  max-width: 34rem;
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-nav a {
  color: var(--ink-2);
  font-size: .8rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-meta {
  color: var(--muted);
  font-size: .74rem;
  text-align: right;
}

.footer-credit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
}

.breadcrumbs {
  margin-bottom: 1.4rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .04em;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: .35rem;
  color: var(--line-strong);
}

.breadcrumb-list a {
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--accent);
}

.article-header {
  max-width: 56rem;
  padding: 4.5rem 0 2.5rem;
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.article-kicker .kicker-sep {
  color: var(--line-strong);
}

.article-kicker .read-time {
  color: var(--muted);
  font-size: .78rem;
}

.article-title {
  margin: 1rem 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.article-deck {
  max-width: 46rem;
  margin: 0 0 1.5rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.article-hero {
  margin: 0 auto 3rem;
}

.article-hero .media-frame {
  aspect-ratio: 16 / 9;
  max-height: 680px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: 5rem;
}

.toc {
  position: sticky;
  top: 6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.toc-title {
  margin: 0 0 .8rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.toc-list {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-list a {
  display: block;
  margin-left: -.75rem;
  padding-left: .75rem;
  border-left: 1px solid transparent;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
  text-decoration: none;
}

.toc-list a:hover,
.toc-list a[aria-current="true"] {
  border-left-color: var(--accent);
  color: var(--accent);
}

.toc-mobile {
  display: none;
  margin-bottom: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toc-mobile summary {
  padding: 1rem 0;
  cursor: pointer;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.toc-mobile .toc-list {
  padding-bottom: 1rem;
}

.article-body {
  max-width: var(--measure);
  font-size: 1.12rem;
  line-height: 1.75;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  padding: .15rem .55rem 0 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: .8;
}

.article-body h2 {
  margin: 3.2rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
  scroll-margin-top: 6rem;
}

.article-body h3 {
  margin: 2rem 0 .6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
  scroll-margin-top: 6rem;
}

.article-body p {
  margin: 0 0 1.25rem;
}

.article-body a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.article-body a:hover {
  color: var(--ink);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4rem;
  padding-left: 1.3rem;
}

.article-body li {
  margin-bottom: .45rem;
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: .4rem 0 .4rem 1.5rem;
  border-left: 2px solid var(--accent);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
}

.article-body hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body code {
  padding: .1rem .3rem;
  background: var(--paper-2);
  font-size: .9em;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.author-box-top {
  align-items: flex-start;
  margin-top: 1.8rem;
  padding: 1.15rem 1.25rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.author-box-top .author-text p {
  margin: 0;
}

.author-box-top .author-role {
  margin-top: .1rem;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.author-box-top .author-bio {
  max-width: 54ch;
  margin-top: .45rem;
  color: var(--ink-2);
  font-size: .86rem;
  line-height: 1.6;
}

.author-box-top .author-date {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .76rem;
}

.author-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.author-text p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.author-text strong {
  display: block;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
}

.related {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--line);
}

.related .section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.cta {
  padding: 4rem 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.cta-body {
  max-width: 38rem;
  margin: .5rem 0 0;
  color: var(--ink-2);
  font-size: .95rem;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 6rem 0;
  text-align: center;
}

.not-found-inner {
  max-width: 38rem;
}

.not-found-title {
  margin: .8rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.not-found-body {
  margin: 0 auto 2rem;
  color: var(--ink-2);
}

.lang-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .8rem;
}

.lang-list a {
  color: var(--muted);
  text-underline-offset: .18em;
}

.lang-list a:hover {
  color: var(--accent);
}

html[lang="zh-CN"] {
  --font-display: 'Noto Serif CJK SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --font-body: 'Noto Sans CJK SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html[lang="zh-CN"] body {
  line-height: 1.85;
}

html[lang="zh-CN"] .hero-title,
html[lang="zh-CN"] .article-title {
  letter-spacing: -.02em;
  line-height: 1.1;
}

html[lang="zh-CN"] .article-body {
  font-size: 1.08rem;
  line-height: 1.95;
}

html[lang="zh-CN"] .article-body > p:first-of-type::first-letter {
  float: none;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

html[lang="zh-CN"] .article-body h2,
html[lang="zh-CN"] .article-body h3 {
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-media {
    max-width: 42rem;
  }

  .hero-media .media-frame {
    aspect-ratio: 3 / 2;
    max-height: none;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature-media {
    aspect-ratio: 16 / 9;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 32rem;
    aspect-ratio: 3 / 2;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 2rem), var(--max));
  }

  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 64px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 1rem 3rem;
    overflow-y: auto;
    background: var(--paper);
    visibility: hidden;
    transform: translateY(-120%);
    transition: transform .25s ease, visibility .25s ease;
  }

  .site-header[data-open="true"] .nav {
    visibility: visible;
    transform: none;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-link {
    font-size: .82rem;
  }

  .lang {
    width: 100%;
  }

  .lang-menu {
    position: static;
    min-width: 0;
    margin-top: .5rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .hero-deck {
    font-size: 1.02rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    display: block;
  }

  .section-note {
    margin-top: .8rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .feature-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .about-inner {
    padding: 3.5rem 0;
  }

  .contact {
    padding: 4rem 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-credit {
    display: block;
  }

  .footer-credit span {
    display: block;
    margin-bottom: .35rem;
  }

  .article-header {
    padding: 3rem 0 2rem;
  }

  .article-title {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .article-layout {
    grid-template-columns: 1fr;
    padding-bottom: 3.5rem;
  }

  .toc {
    display: none;
  }

  .toc-mobile {
    display: block;
  }

  .article-body {
    font-size: 1.06rem;
  }

  .article-body > p:first-of-type::first-letter {
    float: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
  }

  .related {
    padding: 3rem 0 3.5rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .meta span + span::before {
    display: none;
  }

  .meta {
    gap: .25rem .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 2.2rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-notes li::before {
  content: "·";
  margin-right: .55rem;
  color: var(--accent);
}

.section-head-filters {
  align-items: end;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.filter {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  padding: .5rem .7rem;
  cursor: pointer;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.filter:hover,
.filter[aria-pressed="true"] {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.filter-empty {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

[hidden] {
  display: none !important;
}

.article-body table {
  width: 100%;
  margin: 1.8rem 0;
  border-collapse: collapse;
  font-size: .9rem;
  line-height: 1.5;
}

.article-body th,
.article-body td {
  padding: .7rem .65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  color: var(--ink);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-body tr:last-child td {
  border-bottom: 0;
}

.article-body figure {
  margin: 2rem 0;
}

.article-body figcaption {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .78rem;
}

.article-body details {
  margin: 0 0 .6rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.article-body .faq-answer {
  padding-top: .1rem;
}

.article-body summary {
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.25;
}

.article-body details p {
  margin: .6rem 0 0;
}

@media (max-width: 720px) {
  .section-head-filters {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    width: 100%;
  }
}
