@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #11120f;
  --paper: #f2f1eb;
  --muted: #77786f;
  --line: #c9c8bf;
  --acid: #dfff57;
  --white: #fbfaf5;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Heiti SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 24px/1 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  color: var(--acid);
  border-radius: 50%;
  font-size: 19px;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; }
nav a { position: relative; }
nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform .2s ease;
}
nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 0; background: transparent; }

.home-page .site-header {
  width: 100%;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, .18);
}
.home-page .site-header .brand-mark {
  background: var(--acid);
  color: var(--ink);
}
.home-page .site-header nav a::after { background: var(--acid); }
.home-page .nav-toggle { color: var(--white); }

.hero {
  width: 100%;
  min-height: 650px;
  margin: 0;
  padding: 76px max(24px, calc((100vw - var(--max)) / 2)) 54px;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--white);
}
.hero-kicker, .eyebrow, .section-no, .feature-type, .feature-num {
  font: 600 12px/1.4 "Space Grotesk", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-kicker span { color: #9da165; }
.hero h1 {
  margin: 42px 0 60px;
  font-size: clamp(74px, 10.5vw, 150px);
  font-weight: 900;
  line-height: .91;
  letter-spacing: -.08em;
}
.hero h1 em {
  display: inline-block;
  margin-left: 13%;
  font-style: normal;
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}
.hero-bottom {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 80px;
}
.hero-bottom p {
  flex: 1;
  margin: 0;
  color: #b8b9b1;
  font-size: 18px;
  line-height: 1.8;
}
.primary-link {
  display: flex;
  min-width: 220px;
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--white);
  font-weight: 700;
}
.primary-link span { font-size: 22px; transition: transform .2s; }
.primary-link:hover span { transform: translateX(6px); }

.section { padding: 110px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.section-heading > div { display: flex; align-items: flex-start; gap: 20px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -.06em;
}
.section-heading p { margin: 0 0 0 auto; color: var(--muted); line-height: 1.75; text-align: right; }
.section-no { color: var(--muted); }
.story-list { border-top: 1px solid var(--ink); }
.story-card {
  position: relative;
  display: grid;
  grid-template-columns: 75px 1fr 60px;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease;
}
.story-card:hover { padding-right: 18px; padding-left: 18px; background: var(--white); }
.card-index { color: var(--muted); font: 600 clamp(22px, 2.4vw, 32px)/1 "Space Grotesk"; letter-spacing: -.04em; }
.card-body .eyebrow { display: flex; gap: 18px; color: var(--muted); }
.card-body .eyebrow span { color: var(--ink); }
.card-body h3 {
  margin: 15px 0 10px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -.04em;
}
.card-body p { margin: 0; color: #5e5f58; line-height: 1.75; }
.tag-row { display: flex; gap: 8px; margin-top: 18px; }
.tag-row span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 11px;
}
.arrow-link { align-self: center; font-size: 24px; }

.field-notes { background: var(--ink); color: var(--white); }
.section-heading.light p, .section-heading.light .section-no { color: #96978f; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #4a4b45; }
.feature-card {
  position: relative;
  min-height: 430px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #4a4b45;
  transition: background .2s, color .2s;
}
.feature-card:first-child { border-right: 1px solid #4a4b45; }
.feature-card:hover { background: var(--acid); color: var(--ink); }
.feature-num { position: absolute; right: 40px; top: 40px; color: #777970; font-size: 28px; }
.feature-card h3 {
  margin: auto 0 22px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.05em;
}
.feature-card p { margin: 0; color: #aaa; line-height: 1.75; }
.feature-card:hover p { color: #42443c; }
.feature-cta { margin-top: 45px; font-weight: 700; }

.weekly-banner {
  width: min(calc(100% - 48px), var(--max));
  margin: 110px auto;
  padding: 52px;
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  gap: 50px;
  align-items: center;
  background: var(--acid);
}
.weekly-label { font: 700 20px/1.15 "Space Grotesk"; }
.weekly-banner h2 { margin: 10px 0; font-size: 36px; letter-spacing: -.04em; }
.weekly-banner p { margin: 0; color: #555748; }
.weekly-banner > a { font-weight: 700; }
.weekly-banner > a span { margin-left: 10px; }
.manifesto {
  min-height: 350px;
  padding: 100px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
}
.manifesto span { color: var(--muted); font-size: 13px; }
.manifesto p { width: 100%; margin: 24px 0 0; font-size: clamp(34px, 5.4vw, 68px); font-weight: 800; line-height: 1.25; letter-spacing: -.06em; }
.friend-links {
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.friend-links span {
  color: var(--muted);
  font-size: 13px;
}
.friend-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.friend-links a {
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.site-footer {
  padding: 70px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
}
.footer-brand .brand-mark { background: var(--acid); color: var(--ink); }
.site-footer p { color: #999b92; line-height: 1.7; }
.footer-links { display: flex; align-items: flex-end; gap: 32px; color: #999b92; font-size: 13px; }

.archive-hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 430px;
  margin: auto;
  padding: 90px 0 70px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.archive-hero h1 { margin: 28px 0 24px; font-size: clamp(64px, 10vw, 130px); line-height: .95; letter-spacing: -.08em; }
.archive-hero > p { margin: 0 0 0 auto; color: var(--muted); font-size: 18px; line-height: 1.8; }
.archive-list { padding-top: 30px; }

.article { width: min(calc(100% - 48px), 1120px); margin: auto; padding: 70px 0 130px; }
.back-link { display: inline-block; margin-bottom: 80px; color: var(--muted); font-size: 13px; }
.article-header .eyebrow { display: flex; gap: 24px; color: var(--muted); }
.article-header h1 { margin: 28px 0; font-size: clamp(48px, 7.5vw, 92px); line-height: 1.03; letter-spacing: -.07em; }
.article-summary { color: #595a54; font-size: 21px; line-height: 1.8; }
.article-meta { display: flex; gap: 30px; margin-top: 35px; color: var(--muted); font-size: 12px; }
.article-meta a { border-bottom: 1px solid; }
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 80px;
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid var(--ink);
}
.article-layout aside { color: var(--muted); font: 600 11px/1.8 "Space Grotesk"; letter-spacing: .08em; }
.article-layout aside p { margin-top: 20px; }
.prose { font-size: 17px; line-height: 2; }
.prose > p:first-child { margin-top: 0; font-size: 20px; }
.prose h2 { margin: 2.3em 0 .8em; font-size: 30px; line-height: 1.3; }
.prose h3 { margin-top: 2em; font-size: 23px; }
.prose li { margin-bottom: .6em; }
.prose strong { background: linear-gradient(transparent 65%, var(--acid) 65%); }
.prose a { border-bottom: 1px solid; }

.about-hero h1 { font-size: clamp(58px, 9vw, 118px); }
.about-grid {
  padding: 30px max(24px, calc((100vw - var(--max)) / 2)) 130px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.about-grid > div { padding: 40px; border-top: 1px solid var(--ink); border-right: 1px solid var(--line); }
.about-grid > div:last-child { border-right: 0; }
.about-grid span { color: var(--muted); font-size: 12px; }
.about-grid h2 { margin: 80px 0 20px; font-size: 28px; letter-spacing: -.04em; }
.about-grid p { color: var(--muted); line-height: 1.8; }

@media (max-width: 760px) {
  .site-header { width: calc(100% - 32px); height: 72px; }
  .nav-toggle { display: block; cursor: pointer; }
  nav {
    position: absolute;
    z-index: 10;
    top: 72px;
    right: 0;
    left: 0;
    padding: 26px;
    display: none;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }
  nav.open { display: flex; }
  .home-page .site-header { padding: 0 16px; }
  .home-page nav.open {
    background: var(--ink);
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, .18);
  }
  .hero { width: 100%; min-height: 580px; padding: 54px 16px; }
  .hero h1 { margin-top: 55px; font-size: 19vw; }
  .hero h1 em { margin-left: 0; }
  .hero-bottom { display: block; }
  .hero-bottom p { width: auto; font-size: 16px; }
  .primary-link { margin-top: 30px; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-heading { display: block; }
  .section-heading p { width: auto; margin-top: 25px; text-align: left; }
  .story-card { grid-template-columns: 36px 1fr; gap: 10px; }
  .arrow-link { display: none; }
  .card-body .eyebrow { display: block; line-height: 1.8; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 380px; padding: 30px 0; }
  .feature-card:first-child { border-right: 0; }
  .feature-num { right: 0; top: 30px; }
  .weekly-banner { width: calc(100% - 32px); padding: 30px; grid-template-columns: 1fr; }
  .weekly-label br { display: none; }
  .site-footer { display: block; }
  .friend-links { grid-template-columns: 1fr; padding-right: 16px; padding-left: 16px; }
  .footer-links { margin-top: 50px; flex-direction: column; align-items: flex-start; gap: 15px; }
  .archive-hero { width: calc(100% - 32px); }
  .archive-hero > p { margin-left: 0; }
  .article { width: calc(100% - 32px); padding-top: 45px; }
  .back-link { margin-bottom: 55px; }
  .article-meta { flex-direction: column; gap: 10px; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .article-layout aside { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > div { padding: 36px 0; border-right: 0; }
  .about-grid h2 { margin-top: 45px; }
}
