:root {
  --paper: #f3f2eb;
  --white: #ffffff;
  --ink: #0a0a09;
  --muted: #6f6f68;
  --soft: #c9c8c0;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 1680px;
  margin: 0 auto;
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
}

section[id] {
  scroll-margin-top: 64px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid var(--paper);
  font-family: var(--mono);
}

.wordmark {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
}

.site-header nav a {
  padding: 1.35rem 0;
  color: #c8c7c0;
  font-size: 0.64rem;
  letter-spacing: 0.09em;
}

.site-header nav a:hover {
  color: var(--white);
}

.eyebrow,
figcaption,
.text-links,
.data-note,
.fact-grid,
.lineage-list,
.founder-role,
.engagement-row,
.button-link,
.site-footer {
  font-family: var(--mono);
}

.eyebrow {
  margin-bottom: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.hero {
  min-height: min(780px, calc(100svh - 64px));
  padding: clamp(2.5rem, 5vw, 5rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.hero h1 {
  align-self: center;
  font-size: clamp(6.4rem, 14vw, 13.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.68;
}

.hero-footer {
  padding-top: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: end;
  border-top: 1px solid var(--ink);
}

.hero-footer > p:first-child {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

.hero-status {
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

.hero-status span {
  margin-right: 0.65rem;
  padding: 0.25rem 0.42rem;
  color: var(--paper);
  background: var(--ink);
}

.product-section,
.thesis-section,
.investor-section {
  color: var(--paper);
  background: var(--ink);
}

.section-heading {
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 2rem 5rem;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  max-width: 960px;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.section-heading > p:last-child {
  max-width: 520px;
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

.dark-heading {
  border-bottom: 1px solid var(--paper);
}

.light-heading {
  border-bottom: 1px solid var(--ink);
}

.product-figure {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem);
}

.product-figure img {
  width: 100%;
  height: auto;
  border: 1px solid #7791aa;
}

.product-figure figcaption {
  margin-bottom: 0;
  padding-top: 0.85rem;
  color: #a9aaa7;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.product-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.9fr);
  border-top: 1px solid var(--paper);
}

.product-copy {
  padding: clamp(2.5rem, 5vw, 5rem);
  border-right: 1px solid var(--paper);
}

.product-copy > p {
  max-width: 720px;
  color: #d5d4cd;
  font-size: 1.15rem;
}

.product-copy > p:first-child {
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
}

.text-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.6rem;
}

.text-links a {
  min-height: 44px;
  padding: 0.7rem 0;
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

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

.fact-grid > div {
  min-height: 190px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--paper);
  border-bottom: 1px solid var(--paper);
}

.fact-grid > div:nth-child(even) {
  border-right: 0;
}

.fact-grid > div:nth-child(n + 3) {
  border-bottom: 0;
}

.fact-grid dt {
  color: #9c9c96;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
}

.fact-grid dd {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.data-note {
  margin-bottom: 0;
  padding: 0.9rem clamp(1.5rem, 5vw, 5rem);
  color: #989892;
  border-top: 1px solid var(--paper);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.community-section,
.founder-section {
  display: grid;
  grid-template-columns: minmax(380px, 0.76fr) minmax(0, 1.24fr);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.community-copy,
.founder-copy {
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  border-right: 1px solid var(--ink);
}

.community-copy h2,
.founder-copy h2 {
  margin: 1.5rem 0 1.8rem;
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.community-copy > p:not(.eyebrow, .chinese-name),
.founder-copy > p:not(.eyebrow, .founder-role) {
  max-width: 620px;
  font-size: 1.08rem;
}

.chinese-name {
  margin-bottom: 2rem;
  font-family: var(--mono);
  font-size: 1.2rem;
}

.chinese-name span {
  margin-left: 0.8rem;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.photo-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.photo-figure img {
  width: 100%;
  flex: 1 1 auto;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.community-photo img {
  min-height: 610px;
}

.photo-figure figcaption {
  margin-bottom: 0;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--ink);
  font-size: 0.57rem;
  letter-spacing: 0.09em;
}

.lineage-section,
.engagements-section {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.lineage-list a {
  min-height: 108px;
  padding: 1.5rem clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 54px minmax(190px, 0.55fr) minmax(0, 1fr) 30px;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  transition: color 140ms ease, background-color 140ms ease;
}

.lineage-list a:last-child {
  border-bottom: 0;
}

.lineage-list a:hover {
  color: var(--paper);
  background: var(--ink);
}

.lineage-list .item-number,
.lineage-list .item-arrow {
  font-size: 0.64rem;
}

.lineage-list strong {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.lineage-list a > span:nth-child(3) {
  font-family: var(--serif);
  font-size: 1rem;
}

.item-arrow {
  justify-self: end;
}

.thesis-section {
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(3rem, 8vw, 9rem);
  border-bottom: 1px solid var(--paper);
}

.thesis-section h2 {
  max-width: 680px;
  margin-top: 1.5rem;
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.thesis-copy > p {
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.3;
}

.thesis-copy ul {
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #73736e;
}

.thesis-copy li {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  border-bottom: 1px solid #73736e;
}

.thesis-copy li span {
  color: #9c9c96;
  font-family: var(--mono);
  font-size: 0.6rem;
}

.thesis-copy blockquote {
  margin-bottom: 0;
  padding-left: 1.25rem;
  color: #bbb9b1;
  border-left: 1px solid var(--paper);
  font-size: 1.05rem;
  font-style: italic;
}

.thesis-copy cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.founder-section {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
}

.founder-photo {
  order: 1;
  border-right: 1px solid var(--ink);
}

.founder-photo img {
  min-height: 650px;
  object-position: 52% 48%;
}

.founder-copy {
  order: 2;
  border-right: 0;
}

.founder-role {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.founder-copy .text-links {
  color: var(--ink);
}

.compact-heading {
  grid-template-columns: 1fr;
}

.compact-heading h2 {
  max-width: 1100px;
}

.engagement-row {
  min-height: 230px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 220px;
}

.engagement-row > * {
  min-width: 0;
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--ink);
}

.engagement-row > *:last-child {
  border-right: 0;
}

.engagement-row time {
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.engagement-row time span {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.engagement-row h3 {
  margin-bottom: 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.engagement-row p {
  margin-bottom: 0.35rem;
  font-family: var(--serif);
}

.engagement-row .quiet {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.engagement-row > a {
  align-items: center;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-align: center;
}

.engagement-row > a:hover {
  color: var(--paper);
  background: var(--ink);
}

.investor-section {
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(3rem, 8vw, 9rem);
  border-bottom: 1px solid var(--paper);
}

.investor-section h2 {
  margin: 1.5rem 0 1rem;
  font-size: clamp(3.6rem, 7vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.investor-lede {
  max-width: 520px;
  margin-bottom: 0;
  color: #c7c6bf;
  font-size: 1.3rem;
}

.investor-copy {
  align-self: end;
}

.investor-copy p {
  max-width: 720px;
  color: #d1d0c8;
  font-size: 1.1rem;
}

.button-link {
  min-height: 48px;
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--paper);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

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

.site-footer {
  min-height: 150px;
  padding: 2.5rem clamp(1.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: start;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
}

.footer-mark {
  font-weight: 700;
  letter-spacing: 0.13em;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .section-heading,
  .product-details,
  .community-section,
  .thesis-section,
  .founder-section,
  .investor-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1.5rem;
  }

  .product-copy,
  .community-copy,
  .founder-photo {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .product-copy {
    border-color: var(--paper);
  }

  .community-photo img,
  .founder-photo img {
    min-height: 0;
    flex: none;
  }

  .community-photo img {
    height: min(68vw, 620px);
  }

  .founder-photo img {
    height: min(78vw, 700px);
  }

  .founder-photo,
  .founder-copy {
    order: initial;
  }

  .thesis-section,
  .investor-section {
    gap: 3rem;
  }

  .engagement-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .engagement-row > a {
    min-height: 84px;
    grid-column: 1 / -1;
    border-top: 1px solid var(--ink);
  }

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  main {
    border-right: 0;
    border-left: 0;
  }

  .site-header {
    min-height: 0;
    padding: 0.8rem 1rem 0.45rem;
    display: block;
  }

  .wordmark {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  .site-header nav {
    max-width: 100%;
    gap: 1.1rem;
    overflow-x: auto;
  }

  .site-header nav a {
    padding: 0.65rem 0;
    font-size: 0.58rem;
  }

  section[id] {
    scroll-margin-top: 86px;
  }

  .hero {
    min-height: 540px;
    padding: 2rem 1.25rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 5.2rem);
  }

  .hero-footer {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-footer > p:first-child {
    font-size: 1.3rem;
  }

  .section-heading,
  .community-copy,
  .founder-copy {
    padding: 3.25rem 1.25rem;
  }

  .section-heading h2,
  .community-copy h2,
  .founder-copy h2,
  .thesis-section h2,
  .investor-section h2 {
    font-size: clamp(2.6rem, 12.5vw, 3.5rem);
  }

  .section-heading > p:last-child {
    font-size: 1.08rem;
  }

  .product-figure {
    padding: 1.25rem 0 2rem;
  }

  .product-figure img {
    border-right: 0;
    border-left: 0;
  }

  .product-figure figcaption {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .product-copy {
    padding: 3rem 1.25rem;
  }

  .product-copy > p:first-child {
    font-size: 1.35rem;
  }

  .fact-grid > div {
    min-height: 145px;
    padding: 1.25rem;
  }

  .data-note {
    padding: 0.85rem 1.25rem;
    font-size: 0.5rem;
  }

  .community-photo img {
    height: 360px;
    object-position: 51% 50%;
  }

  .lineage-list a {
    min-height: 128px;
    padding: 1.35rem 1.25rem;
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    gap: 0.8rem;
  }

  .lineage-list a > span:nth-child(3) {
    grid-column: 2 / 4;
  }

  .lineage-list .item-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .thesis-section,
  .investor-section {
    padding: 3.5rem 1.25rem;
  }

  .thesis-copy > p {
    font-size: 1.3rem;
  }

  .founder-photo img {
    height: 460px;
    object-position: 42% 48%;
  }

  .founder-role {
    line-height: 1.6;
  }

  .engagement-row {
    grid-template-columns: 1fr;
  }

  .engagement-row > * {
    padding: 2rem 1.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .engagement-row > a {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .engagement-row time {
    min-height: 130px;
  }

  .site-footer {
    padding: 2.5rem 1.25rem;
  }

  .site-footer nav {
    gap: 0.7rem 1.1rem;
  }

  .button-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

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

  .lineage-list a {
    transition: none;
  }
}

@media print {
  .site-header {
    position: static;
  }
}
