:root {
  --paper: #fff;
  --ink: #111;
  --muted: #747474;
  --rule: #bdbdbd;
  --body: "DM Sans", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "PingFang SC", monospace;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  background: var(--paper);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color 160ms,
    text-decoration-color 160ms;
}
a:hover {
  color: var(--muted);
  text-decoration-color: var(--muted);
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: 1px;
}
::selection {
  background: #e4e4e4;
  color: #111;
}
[hidden] {
  display: none !important;
}
.homepage {
  width: 80%;
  max-width: 1440px;
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 0 30px;
}
.hero {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: min(540px, 68svh);
  padding: 100px 0 84px;
}
h1 {
  font-size: clamp(44px, 7.8vw, 132px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.055em;
  margin: 0;
}
h1 a {
  text-decoration-thickness: clamp(1px, 0.24vw, 4px);
  text-underline-offset: 0.15em;
}
h1 a:hover {
  text-decoration-color: var(--ink);
  color: var(--ink);
}
.home-footer {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.055em;
  flex: none;
}
.status {
  margin: 0 0 16px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.page-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-links a,
.social-links a,
.languages a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.page-links a {
  white-space: nowrap;
}
.languages a {
  justify-content: center;
  min-width: 24px;
}
.background h2 {
  font: inherit;
  margin: 0 0 3px;
}
.background ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 48px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.languages {
  display: flex;
  gap: 18px;
  align-items: center;
}
.languages a {
  text-decoration: none;
  color: #777;
}
.languages a[aria-current="true"] {
  color: var(--ink);
}
.languages a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: 10px;
  z-index: 2;
  transform: translateY(-180%);
  background: #fff;
  padding: 12px;
  font: 13px var(--mono);
}
.skip-link:focus {
  transform: translateY(0);
}
.no-script {
  font: 14px/1.6 var(--mono);
  width: 80%;
  margin: 30px auto;
}
.reader {
  width: 80%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.reader-nav {
  display: flex;
  justify-content: space-between;
  font: 13px var(--mono);
  letter-spacing: 0.05em;
}
.reader article {
  max-width: 760px;
  margin: 96px 0 80px;
}
.reader-eyebrow {
  font: 12px/1.6 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}
.reader h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.15;
  margin: 0 0 42px;
  outline: none;
}
.reader-content {
  font-family: var(--body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: -0.012em;
}
.reader-content p {
  margin: 0 0 24px;
}
.reader-content h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 36px 0 14px;
}
.reader-content h3 {
  font-size: 21px;
}
.reader-content .panel-lead {
  font-size: 25px;
  line-height: 1.5;
  margin-bottom: 32px;
}
.detail-list {
  margin: 36px 0;
  padding: 0;
}
.detail-row {
  margin: 24px 0;
}
.detail-row dt {
  font-size: 14px;
  font-family: var(--mono);
  margin-bottom: 8px;
}
.detail-row dd {
  margin: 0;
  color: #555;
}
.panel-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font: 13px/1.6 var(--mono);
  margin-top: 36px;
}
.article-date,
.note-tag {
  font: 12px/1.6 var(--mono);
  color: var(--muted);
}
.article-body p {
  margin-bottom: 28px;
}
.article-signature {
  margin-top: 40px !important;
}
.article-link {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #ddd;
  padding: 24px 0;
  width: 100%;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.article-link strong {
  font-size: 30px;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 5px;
  font-weight: 500;
  margin: 8px 0;
}
.article-link span {
  font-size: 15px;
  color: #666;
}
.article-link:hover strong {
  color: #777;
}
.article-link:focus-visible {
  outline: 2px solid #111;
  outline-offset: 6px;
}
.reader-back {
  font: 13px var(--mono);
}
.project-preview img {
  max-width: 100%;
  height: auto;
}
@media (min-width: 1500px) {
  .homepage {
    max-width: 1440px;
  }
  .hero {
    min-height: 620px;
  }
  .home-footer {
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  .homepage {
    width: 88%;
    padding-bottom: 24px;
  }
  .hero {
    min-height: 480px;
    padding: 100px 0 80px;
  }
  h1 {
    font-size: 8vw;
  }
  .home-footer {
    font-size: 12px;
    letter-spacing: 0.025em;
  }
  .footer-columns,
  .footer-bottom {
    gap: 28px;
    grid-template-columns: 1fr 1fr;
  }
  .social-links {
    gap: 10px 18px;
  }
  .reader {
    width: 88%;
  }
}
@media (max-width: 560px) {
  .homepage {
    width: auto;
    margin: 0 24px;
    min-height: 100svh;
    padding-bottom: 28px;
  }
  .hero {
    min-height: 420px;
    padding: 98px 0 80px;
    flex: 1;
  }
  h1 {
    font-size: clamp(37px, 9.3vw, 52px);
    letter-spacing: -0.05em;
    line-height: 1.3;
  }
  .desktop-break {
    display: none;
  }
  .home-footer {
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.03em;
  }
  .status {
    max-width: 100%;
    margin-bottom: 22px;
  }
  .footer-columns {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 18px;
  }
  .background ul {
    color: #666;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
  }
  .social-links {
    gap: 9px 13px;
  }
  .languages {
    gap: 13px;
  }
  .reader {
    width: auto;
    margin: 0 24px;
    padding: 30px 0 42px;
  }
  .reader article {
    margin: 72px 0 52px;
  }
  .reader h1 {
    font-size: 44px;
    margin-bottom: 28px;
  }
  .reader-content {
    font-size: 18px;
  }
  .reader-content .panel-lead {
    font-size: 22px;
  }
  .reader-nav,
  .reader-back {
    font-size: 11px;
  }
}
@media (max-width: 350px) {
  .homepage,
  .reader {
    margin-left: 18px;
    margin-right: 18px;
  }
  h1 {
    font-size: 35px;
  }
  .home-footer {
    font-size: 10px;
  }
  .footer-bottom {
    gap: 10px;
  }
  .social-links {
    gap: 9px;
  }
  .hero {
    min-height: 380px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 {
    animation: arrive 600ms ease-out both;
  }
  .home-footer {
    animation: arrive 600ms 100ms ease-out both;
  }
  .reader article {
    animation: arrive 300ms ease-out both;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  .homepage {
    min-height: auto;
  }
  .hero {
    min-height: 0;
    padding: 60px 0;
  }
  .home-footer {
    margin-top: 60px;
  }
  .skip-link {
    display: none;
  }
  .reader {
    padding: 0;
  }
  .reader-nav,
  .reader-back {
    display: none;
  }
  .reader article {
    margin: 0;
  }
}
