:root {
  --ink: #111a22;
  --ink-soft: #273542;
  --navy: #0d1c29;
  --blue: #1f6fa8;
  --blue-light: #a9d9ef;
  --gold: #f2bd39;
  --green: #2d7d67;
  --paper: #ffffff;
  --surface: #f3f6f7;
  --surface-warm: #f7f4ed;
  --muted: #66727d;
  --line: #d7dee2;
  --content: 1180px;
  --header-height: 72px;
}

html[data-theme="dark"] {
  --ink: #edf3f6;
  --ink-soft: #c9d4da;
  --navy: #07121a;
  --blue: #70b8e4;
  --blue-light: #a9d9ef;
  --gold: #f2bd39;
  --green: #6ec5a8;
  --paper: #0c151d;
  --surface: #13212b;
  --surface-warm: #182128;
  --muted: #99a8b3;
  --line: #2a3a46;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
body, button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.section-shell {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.site-header > * { min-width: 0; }
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(17, 26, 34, 0.08);
  backdrop-filter: blur(18px);
}
html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(12, 21, 29, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 780; }
.brand img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; background: #fff; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 650; }
.site-nav a { position: relative; padding: 10px 0; color: rgba(255, 255, 255, 0.78); }
.site-header.is-scrolled .site-nav a { color: var(--muted); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: #fff; }
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="true"] { color: var(--ink); }
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-tools { display: flex; align-items: center; gap: 8px; margin-left: 24px; }
.language-toggle,
.theme-picker summary {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 19, 27, 0.18);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.site-header.is-scrolled .language-toggle,
.site-header.is-scrolled .theme-picker summary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}
.language-toggle:hover,
.theme-picker summary:hover { border-color: var(--gold); }
.theme-picker { position: relative; }
.theme-picker summary { list-style: none; }
.theme-picker summary::-webkit-details-marker { display: none; }
.theme-picker summary span { font-size: 18px; font-weight: 500; }
.theme-menu {
  position: absolute;
  top: 46px;
  right: 0;
  width: 158px;
  padding: 6px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 44px rgba(8, 19, 27, 0.18);
}
.theme-menu button {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.theme-menu button:hover { color: var(--ink); background: var(--surface); }
.theme-menu button[aria-pressed="true"] { color: var(--ink); background: var(--surface); font-weight: 760; }

.hero {
  position: relative;
  height: 86svh;
  min-height: 680px;
  max-height: 860px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-shade { position: absolute; inset: 0; background: rgba(7, 16, 24, 0.48); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 118px;
}
.hero-kicker {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero h1 {
  margin: 0 0 22px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 88px;
  line-height: 1.1;
  font-weight: 520;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.42);
}
.hero h1 span { color: var(--gold); }
.hero-lead {
  max-width: 680px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-actions, .collaborate-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--gold); }
.button-primary:hover { background: #ffd261; }
.button-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.58); background: rgba(12, 24, 34, 0.22); }
.button-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.hero-direction {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--content)) / 2));
  bottom: 30px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.hero-direction span { color: rgba(255, 255, 255, 0.68); font-size: 11px; font-weight: 760; }
.hero-direction strong { font-size: 14px; }

.section-index {
  padding-top: 28px;
  color: #8a959e;
  font-size: 11px;
  font-weight: 760;
  border-top: 1px solid var(--line);
}
.section-index-light { color: rgba(255, 255, 255, 0.52); border-top-color: rgba(255, 255, 255, 0.18); }
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 820;
}
.eyebrow-light { color: var(--blue-light); }
.eyebrow-gold { color: var(--gold); }
h2, h3, p { margin-top: 0; }
h2 {
  margin-bottom: 26px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 58px;
  line-height: 1.12;
  font-weight: 520;
}

.about-section { padding-bottom: 112px; }
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 92px;
  align-items: center;
  padding: 82px 0 68px;
}
.about-copy { max-width: 720px; }
.about-lead { margin-bottom: 20px; color: var(--ink-soft); font-size: 21px; line-height: 1.75; }
.about-copy > p:last-child { max-width: 660px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.identity-figure { margin: 0; }
.identity-portrait { aspect-ratio: 1; overflow: hidden; background: var(--surface); border-bottom: 5px solid var(--gold); }
.identity-portrait img { width: 100%; height: 100%; object-fit: cover; }
.identity-figure figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; }
.identity-figure strong { font-size: 14px; }
.identity-figure span { color: var(--muted); font-size: 12px; text-align: right; }
.now-lines { border-top: 1px solid var(--line); }
.now-lines div { display: grid; grid-template-columns: 80px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.now-lines span { color: var(--blue); font-size: 12px; font-weight: 800; }
.now-lines strong { font-size: 16px; line-height: 1.55; }

.work-section { padding: 0 0 122px; color: #fff; background: var(--navy); }
.work-section .section-heading { max-width: 800px; padding: 82px 0 76px; }
.work-section .section-heading p:last-child { max-width: 620px; margin: 0; color: rgba(255, 255, 255, 0.64); font-size: 17px; line-height: 1.7; }
.work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 66px;
  align-items: center;
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.work-feature-reverse { grid-template-columns: minmax(320px, 0.65fr) minmax(0, 1.35fr); }
.work-feature-reverse .work-media { order: 2; }
.work-feature-reverse .work-copy { order: 1; }
.work-media {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: #e9eef1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 420ms ease; }
a.work-media:hover img { transform: scale(1.018); }
.work-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; color: rgba(255, 255, 255, 0.52); font-size: 12px; }
.status { padding: 5px 8px; border-radius: 2px; font-size: 11px; font-weight: 780; }
.status-live { color: #8de0c1; background: rgba(45, 125, 103, 0.18); }
.status-building { color: #ffda73; background: rgba(242, 189, 57, 0.15); }
.work-copy h3 { margin-bottom: 20px; font-family: Georgia, "Songti SC", serif; font-size: 36px; line-height: 1.2; font-weight: 520; }
.work-summary { margin-bottom: 28px; color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.8; }
.work-facts { margin: 0 0 28px; }
.work-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.work-facts div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.work-facts dt { color: var(--blue-light); font-size: 11px; font-weight: 780; }
.work-facts dd { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 13px; line-height: 1.55; }
.text-link { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid var(--gold); font-size: 14px; font-weight: 780; }
.text-link span { color: var(--gold); }

.writing-section { padding-bottom: 116px; background: var(--surface); }
.writing-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: end;
  padding: 82px 0 70px;
}
.writing-intro h2 { margin-bottom: 0; font-size: 52px; }
.writing-intro > p { margin: 0 0 6px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.writing-catalog { border-top: 1px solid var(--ink); }
.writing-group {
  display: grid;
  grid-template-columns: minmax(230px, 0.45fr) minmax(0, 1.55fr);
  gap: 72px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.writing-group-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-content: start;
}
.writing-group-number { padding-top: 4px; color: var(--blue); font-family: Georgia, serif; font-size: 13px; }
.writing-group-heading h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.4; }
.writing-group-heading p { max-width: 280px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.writing-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.writing-item {
  position: relative;
  min-width: 0;
  display: block;
  padding: 0 38px 20px 0;
  border-bottom: 1px solid var(--line);
}
.writing-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 13px; color: var(--muted); font-size: 10px; font-weight: 760; }
.writing-meta span:last-child { color: var(--blue); }
.writing-item h4 { margin: 0 0 10px; font-size: 18px; line-height: 1.5; transition: color 160ms ease; }
.writing-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.writing-arrow { position: absolute; top: 28px; right: 2px; color: var(--blue); font-size: 15px; transition: transform 160ms ease; }
.writing-item:hover h4 { color: var(--blue); }
.writing-item:hover .writing-arrow { transform: translate(2px, -2px); }
.writing-all-link {
  width: fit-content;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}
.writing-all-link span:last-child { color: var(--blue); transition: transform 160ms ease; }
.writing-all-link:hover span:last-child { transform: translateX(4px); }

.capabilities-section { padding-bottom: 120px; }
.capability-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: end;
  padding: 82px 0 70px;
}
.capability-intro h2 { margin-bottom: 0; }
.capability-intro > p { margin: 0 0 6px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.capability-list { border-top: 1px solid var(--ink); }
.capability-row {
  display: grid;
  grid-template-columns: 70px minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: 36px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.capability-number { color: var(--blue); font-family: Georgia, serif; font-size: 14px; }
.capability-row h3 { margin: 0; font-size: 20px; line-height: 1.45; }
.capability-row p { max-width: 600px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.collaborate-section { color: #fff; background: #122f3d; }
.collaborate-layout { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 96px; align-items: center; padding-top: 108px; padding-bottom: 108px; }
.collaborate-copy h2 { font-size: 52px; }
.collaborate-copy > p:not(.eyebrow) { max-width: 650px; margin-bottom: 28px; color: rgba(255, 255, 255, 0.72); font-size: 17px; line-height: 1.8; }
.button-outline { color: #fff; border-color: rgba(255, 255, 255, 0.42); background: transparent; }
.button-outline:hover { background: rgba(255, 255, 255, 0.08); }
.collaborate-paths { border-top: 1px solid rgba(255, 255, 255, 0.26); }
.collaborate-paths div { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.collaborate-paths span { color: var(--gold); font-family: Georgia, serif; font-size: 12px; }
.collaborate-paths strong { font-size: 15px; line-height: 1.55; }
.collaborate-side { display: grid; gap: 34px; }
.contact-block { display: grid; gap: 12px; }
.contact-label { margin: 0; color: rgba(255, 255, 255, 0.56); font-size: 11px; font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.contact-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.contact-card:hover { border-color: rgba(242, 189, 57, 0.7); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.contact-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 820;
}
.contact-mark-wechat { color: #d4f3e6; background: rgba(45, 125, 103, 0.32); border-color: rgba(110, 197, 168, 0.4); }
.contact-mark-douyin { color: #fff; background: rgba(20, 20, 24, 0.44); border-color: rgba(255, 255, 255, 0.38); }
.contact-mark-github { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.38); }
.contact-mark img { display: block; width: 18px; height: 18px; object-fit: contain; }
.contact-mark-wechat img { width: 21px; height: 21px; }
.contact-mark-douyin img { width: 19px; height: 19px; }
.wechat-dialog-mark img { display: block; width: 25px; height: 25px; object-fit: contain; }
.contact-card > span:nth-child(2) { min-width: 0; display: grid; gap: 5px; }
.contact-card strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.35; }
.contact-card small { overflow-wrap: anywhere; color: rgba(255, 255, 255, 0.56); font-size: 10px; line-height: 1.35; }
.contact-arrow { color: var(--gold); font-size: 13px; }

.site-footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px max(24px, calc((100vw - var(--content)) / 2));
  color: rgba(255, 255, 255, 0.58);
  background: #08131b;
  font-size: 12px;
}
.site-footer div { display: flex; align-items: baseline; gap: 14px; }
.site-footer strong { color: #fff; font-size: 14px; }
.site-footer .footer-meta { align-items: center; gap: 18px; }
.footer-meta a,
.footer-meta button {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-size: inherit;
  font-weight: 720;
  cursor: pointer;
}
.footer-meta a:hover,
.footer-meta button:hover { color: var(--gold); }

.wechat-dialog {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(2, 12, 20, 0.34);
}
.wechat-dialog::backdrop {
  background: rgba(5, 14, 21, 0.72);
  backdrop-filter: blur(5px);
}
.wechat-dialog-inner {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 30px;
}
.wechat-dialog-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}
.wechat-dialog-close {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.wechat-dialog-close:hover { color: var(--ink); border-color: var(--muted); }
.wechat-dialog-heading {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 42px;
}
.wechat-dialog-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 125, 103, 0.32);
  border-radius: 50%;
  color: var(--green);
  background: rgba(45, 125, 103, 0.1);
  font-size: 17px;
  font-weight: 820;
}
.wechat-dialog-heading p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}
.wechat-dialog-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}
.wechat-qr-frame {
  width: min(100%, 310px);
  aspect-ratio: 1;
  justify-self: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.wechat-qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.wechat-dialog-hint {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
body.has-open-dialog { overflow: hidden; }
.back-to-top {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(17, 26, 34, 0.14);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
html[data-theme="dark"] .back-to-top { color: var(--ink); background: rgba(19, 33, 43, 0.96); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34); }

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

@media (max-width: 980px) {
  .site-nav { gap: 18px; margin-left: auto; }
  .site-tools { margin-left: 16px; }
  .hero h1 { font-size: 72px; }
  h2 { font-size: 48px; }
  .about-layout, .capability-intro, .collaborate-layout { gap: 52px; }
  .work-feature, .work-feature-reverse { grid-template-columns: 1fr; gap: 34px; }
  .work-feature-reverse .work-media, .work-feature-reverse .work-copy { order: initial; }
  .work-media { aspect-ratio: 16 / 9; }
  .work-copy { max-width: 720px; }
  .capability-row { grid-template-columns: 56px 0.8fr 1.2fr; gap: 24px; }
  .writing-group { gap: 40px; }
  .writing-list { gap: 24px; }
}

@media (max-width: 720px) {
  :root { --header-height: 62px; }
  .section-shell, .hero-content { width: min(100% - 32px, var(--content)); }
  .site-header { padding: 0 16px; }
  .brand span { display: none; }
  .brand img { width: 34px; height: 34px; }
  .site-nav { gap: 14px; font-size: 12px; }
  .site-nav .nav-optional { display: none; }
  .site-nav a { padding: 8px 0; }
  .site-tools { gap: 6px; margin-left: 12px; }
  .language-toggle, .theme-picker summary { width: 34px; height: 34px; }
  .theme-menu { top: 42px; }
  .hero { height: 82svh; min-height: 620px; max-height: 760px; }
  .hero-media { object-position: 59% center; }
  .hero-shade { background: rgba(7, 16, 24, 0.58); }
  .hero-content { padding: 116px 0 116px; }
  .hero-kicker { font-size: 12px; }
  .hero h1 { max-width: 330px; font-size: 52px; line-height: 1.1; }
  .hero-lead { max-width: 540px; font-size: 17px; line-height: 1.65; }
  .hero-direction { left: 16px; right: 16px; bottom: 24px; justify-content: space-between; }
  .hero-direction strong { font-size: 12px; }
  .section-index { padding-top: 20px; }
  h2 { font-size: 38px; line-height: 1.16; }
  .about-section, .capabilities-section { padding-bottom: 80px; }
  .about-layout { grid-template-columns: 1fr; gap: 44px; padding: 62px 0 50px; }
  .about-lead { font-size: 18px; }
  .identity-figure { max-width: 420px; }
  .identity-figure figcaption { align-items: flex-start; }
  .identity-figure span { max-width: 190px; }
  .now-lines div { grid-template-columns: 62px 1fr; gap: 14px; }
  .now-lines strong { font-size: 14px; }
  .work-section { padding-bottom: 84px; }
  .work-section .section-heading { padding: 62px 0 50px; }
  .work-feature { padding: 44px 0; }
  .work-media { aspect-ratio: 4 / 3; }
  .work-copy h3 { font-size: 30px; }
  .work-facts div { grid-template-columns: 78px 1fr; }
  .writing-section { padding-bottom: 80px; }
  .writing-intro { grid-template-columns: 1fr; gap: 24px; padding: 62px 0 50px; }
  .writing-intro h2 { font-size: 34px; }
  .writing-intro > p { font-size: 15px; }
  .writing-group { grid-template-columns: 1fr; gap: 26px; padding: 30px 0; }
  .writing-group-heading p { max-width: 520px; }
  .writing-list { grid-template-columns: 1fr; gap: 22px; }
  .capability-intro { grid-template-columns: 1fr; gap: 24px; padding: 62px 0 50px; }
  .capability-intro > p { font-size: 15px; }
  .capability-row { grid-template-columns: 42px 1fr; gap: 14px; padding: 26px 0; }
  .capability-row p { grid-column: 2; }
  .collaborate-layout { grid-template-columns: 1fr; gap: 56px; padding-top: 82px; padding-bottom: 82px; }
  .collaborate-copy h2 { font-size: 38px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; min-height: 150px; }
  .back-to-top { display: none; }
}

@media (max-width: 420px) {
  .site-nav { gap: 11px; }
  .site-nav a:first-child { display: none; }
  .site-nav a { font-size: 11px; }
  .site-tools { margin-left: 10px; }
  .hero { min-height: 640px; }
  .hero h1 { font-size: 46px; }
  .hero-actions, .collaborate-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-direction { align-items: flex-start; flex-direction: column; gap: 5px; }
  .identity-figure figcaption { flex-direction: column; gap: 6px; }
  .identity-figure span { text-align: left; }
  .site-footer div { align-items: flex-start; flex-direction: column; gap: 6px; }
  .site-footer .footer-meta { align-items: flex-start; }
  .wechat-dialog-inner { gap: 18px; padding: 26px 20px 22px; }
  .wechat-dialog-heading { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-right: 38px; }
  .wechat-dialog-mark { width: 40px; height: 40px; }
  .wechat-dialog-heading h2 { font-size: 19px; }
  .wechat-qr-frame { width: min(100%, 290px); padding: 8px; }
}

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