@font-face {
  font-family: "Reading";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/reading.ttf") format("truetype");
}
@font-face {
  font-family: "Heading";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/heading.ttf") format("truetype");
}
:root {
  color-scheme: light;
  --bg: #f9f8f5;
  --text: #282b2c;
  --muted: #666b6e;
  --line: #dadbd7;
  --accent: #305b80;
  --surface: #efefeb;
  --selection: #d4e2eb;
  --font-body: "Reading", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-heading: "Heading", "Songti SC", SimSun, serif;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-synthesis: none;
  scrollbar-color: var(--line) var(--bg);
  scroll-padding-top: 32px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171b1d;
  --text: #e6e7e3;
  --muted: #b1b8bc;
  --line: #3d464b;
  --accent: #a2c5e0;
  --surface: #222a2e;
  --selection: #304e62;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}
::selection {
  background: var(--selection);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.25em;
}
a:hover {
  color: var(--accent);
}
button,
input,
select,
textarea {
  font: inherit;
  caret-color: var(--accent);
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
::placeholder {
  color: var(--muted);
  opacity: 1;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button,
a,
summary {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1168px;
  padding: 0 56px;
  margin: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  gap: 32px;
}
.brand {
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-dot {
  color: var(--accent);
  padding-left: 2px;
}
#navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
#navigation a,
summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
#navigation a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}
.menu {
  display: none;
}
.nav-more {
  position: relative;
}
.nav-more summary {
  cursor: pointer;
  list-style: none;
  gap: 10px;
}
.nav-more summary::-webkit-details-marker {
  display: none;
}
.nav-more summary:after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg);
  margin-top: -4px;
}
.nav-more[open] summary:after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.nav-dropdown {
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 5;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 12px 20px;
  min-width: 160px;
  display: grid;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
h2 {
  font-size: 25px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 20px;
}
h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
  color: var(--accent);
}
.text-link:hover {
  text-decoration: underline;
}
.intro {
  padding: 92px 0 80px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.intro h1 {
  font-size: clamp(56px, 6vw, 76px);
  line-height: 1.3;
  margin: 0 0 23px;
}
.name-period {
  color: var(--accent);
}
.role {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 0;
}
.intro-reading {
  padding-top: 12px;
}
.intro-reading p {
  font-size: 17px;
  line-height: 2;
  max-width: 36em;
  margin-bottom: 16px;
}
.intro-reading p + p {
  color: var(--muted);
  font-size: 16px;
}
.intro-reading .text-link {
  margin-top: 12px;
}
.chapter {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.focus-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.focus-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.focus-row:first-child {
  padding-top: 0;
}
.focus-row h3 {
  margin: 0;
  font-size: 17px;
}
.focus-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 50em;
}
.record-row {
  display: grid;
  grid-template-columns: 100px 1fr 20px;
  align-items: center;
  gap: 28px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.record-row:last-child {
  border-bottom: 0;
}
.record-row h3 {
  margin: 0;
  font-size: 17px;
}
.record-row span {
  font-size: 14px;
  color: var(--muted);
}
.record-row .icon {
  color: var(--accent);
  transition: transform 0.18s ease-out;
}
.record-row:hover .icon {
  transform: translateX(4px);
}
.page {
  padding: 64px 0 88px;
  min-height: 70vh;
}
.page-heading {
  margin-bottom: 56px;
}
.page-description {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}
.empty {
  padding: 32px 0 48px;
  max-width: 620px;
}
.empty-rule {
  width: 56px;
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}
.empty h2,
.empty > p {
  font-size: 18px;
  font-weight: 400;
}
.empty h2 {
  margin-bottom: 16px;
}
.empty p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}
.empty-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.empty-mark {
  display: none;
}
.empty > span {
  font-size: 14px;
  color: var(--muted);
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 690px) 1fr;
  gap: 64px;
}
.about-text p {
  font-size: 17px;
  line-height: 2.1;
  margin-bottom: 24px;
}
.about-aside {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
}
.about-aside p {
  color: var(--muted);
}
.about-aside ul {
  padding: 0;
  list-style: none;
}
.about-aside li {
  margin-bottom: 16px;
}
.about-section {
  margin-top: 56px;
}
.career {
  margin-top: 28px;
}
.career article {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 40px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.career h3 {
  font-size: 16px;
  margin: 0;
}
.career p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.tools p {
  margin-bottom: 8px;
}
.collaboration {
  font-size: 14px;
  color: var(--muted);
  margin-top: 32px;
}
.entries article {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.entries p {
  white-space: pre-wrap;
  max-width: 70ch;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 24px;
  font-size: 13px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-top > div {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-top a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
.theme {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  font-size: 12px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 10px;
  background: var(--bg);
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 900px) {
  .shell {
    padding: 0 32px;
  }
  .intro-grid {
    gap: 40px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-aside ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .focus-row {
    grid-template-columns: 210px 1fr;
    gap: 28px;
  }
  .career article {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }
  #navigation {
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .shell {
    padding: 0 24px;
  }
  .header {
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    font-size: 19px;
  }
  .menu {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: none;
    padding: 0;
    min-height: 44px;
    font-size: 14px;
  }
  #navigation {
    display: none;
    width: 100%;
    padding-top: 20px;
    gap: 8px 24px;
    flex-wrap: wrap;
  }
  #navigation.open {
    display: flex;
  }
  .nav-more {
    width: 100%;
  }
  .nav-dropdown {
    position: static;
    border: 0;
    padding: 8px 0;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .intro {
    padding: 48px 0;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro h1 {
    font-size: 58px;
    margin-bottom: 15px;
  }
  .role {
    font-size: 18px;
  }
  .intro-reading {
    padding: 0;
  }
  .intro-reading p {
    font-size: 16px;
  }
  .intro-reading p + p {
    font-size: 15px;
  }
  .chapter {
    padding: 32px 0 40px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading p {
    margin-top: 10px;
    font-size: 13px;
  }
  h2 {
    font-size: 22px;
  }
  .focus-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }
  .focus-row p {
    font-size: 14px;
  }
  .record-row {
    grid-template-columns: 60px 1fr 18px;
    gap: 16px;
    padding: 22px 0;
  }
  .record-row span {
    font-size: 13px;
  }
  .page {
    padding: 44px 0 60px;
  }
  .page-heading {
    margin-bottom: 36px;
  }
  h1 {
    font-size: 34px;
  }
  .empty {
    padding-top: 22px;
  }
  .about-text p {
    font-size: 16px;
  }
  .about-aside {
    display: none;
  }
  .career article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .career p {
    font-size: 14px;
  }
  .footer-top {
    display: block;
  }
  .footer-top > div {
    gap: 16px;
  }
  .back {
    margin-top: 8px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 4px 16px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .footer-bottom .theme {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.nav-more[data-active="true"] summary {
  color: var(--accent);
}
