:root {
  --paper: #fbfbf7;
  --paper-deep: #f2f2eb;
  --surface: #f6f6f0;
  --ink: #171715;
  --ink-soft: #4f504c;
  --muted: #82837e;
  --line: #dedfd7;
  --sage: #dde5d7;
  --sage-deep: #26352d;
  --sand: #e9e3d8;
  --white: #ffffff;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", Georgia, serif;
  --shell: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

::selection { background: #cad8c6; color: var(--ink); }

:focus-visible {
  outline: 2px solid #2e5b44;
  outline-offset: 4px;
}

.site-shell {
  width: min(100% - 56px, var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(251, 251, 247, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 23, 21, .09);
  background: rgba(251, 251, 247, .96);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  width: fit-content;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: -.055em;
  line-height: 1;
}

.brand i {
  width: 5px;
  height: 5px;
  margin-left: 5px;
  border-radius: 50%;
  background: currentColor;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav a {
  position: relative;
  padding: 8px 0;
  color: #686964;
  font-size: 13px;
  transition: color .2s ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}

.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}

.header-cta {
  justify-self: end;
  min-height: 40px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.header-cta:hover, .button-primary:hover { transform: translateY(-2px); background: #343530; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Hero */
.hero {
  overflow: hidden;
  padding-top: clamp(70px, 9vw, 128px);
}

.hero-copy { max-width: 1220px; text-align: center; }

.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .18em;
  line-height: 1.4;
}

.hero h1 {
  max-width: 1180px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(50px, 7.4vw, 104px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.075em;
}

.hero h1 span { color: #858680; }

.hero-lede {
  max-width: 680px;
  margin: 30px auto 0;
  color: #6d6e69;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 620;
}

.button-primary { background: var(--ink); color: var(--white); }
.button-quiet { border-color: #d3d4cd; background: rgba(255, 255, 255, .66); }
.button-quiet span { margin-left: 12px; }
.button-quiet:hover { border-color: #999b95; background: var(--white); transform: translateY(-2px); }

.hero-visual {
  width: min(100% - 32px, 1470px);
  margin: clamp(48px, 6vw, 78px) auto 0;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  min-height: 480px;
  background: #dfe8de;
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 55%, rgba(16, 30, 22, .12));
  content: "";
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: landscape-breathe 18s ease-in-out infinite alternate;
}

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .04em;
}

.hero-caption span { display: inline-flex; align-items: center; gap: 10px; }
.hero-caption b { color: var(--ink); font-weight: 600; }
.hero-caption i { font-style: normal; animation: arrow-nudge 1.8s ease-in-out infinite; }

@keyframes landscape-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes arrow-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Shared sections */
.section { padding-top: clamp(100px, 12vw, 176px); padding-bottom: clamp(100px, 12vw, 176px); }

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  height: fit-content;
}

.section-kicker span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
}

.section-kicker p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}

.section-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 330px;
  align-items: end;
  gap: 34px;
  margin-bottom: 50px;
}

.section-head h2,
.index-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.section-head > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Manifesto */
.manifesto {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(44px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}

.manifesto-copy h2 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.8vw, 78px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.06em;
}

.manifesto-copy > p {
  max-width: 690px;
  margin: 40px 0 64px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.9;
}

.principle-list { margin: 0; padding: 0; list-style: none; }

.principle-list li {
  display: grid;
  grid-template-columns: 52px minmax(180px, .65fr) 1fr;
  align-items: baseline;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.principle-list li > span { color: var(--muted); font-size: 11px; }
.principle-list strong { font-family: var(--font-serif); font-size: 21px; font-weight: 400; }
.principle-list small { color: var(--muted); font-size: 13px; }

/* Featured writing */
.featured { background: var(--paper-deep); }

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
  grid-template-rows: repeat(2, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card { min-height: 300px; }
.feature-card-main { grid-row: span 2; min-height: 616px; }

.feature-card > a {
  position: relative;
  display: flex;
  overflow: hidden;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 3.5vw, 48px);
  border: 1px solid rgba(23, 23, 21, .09);
  background: var(--sage);
  transition: transform .45s var(--ease), background .3s ease;
}

.feature-card-main > a { background: var(--sage-deep); color: #f7f7f0; }
.feature-card:nth-child(3) > a { background: var(--sand); }
.feature-card > a::before {
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .08;
  transition: transform .7s var(--ease);
}

.feature-card > a:hover { transform: translateY(-6px); }
.feature-card > a:hover::before { transform: scale(1.18); }

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
  font-size: 10px;
  letter-spacing: .08em;
  opacity: .68;
}

.card-body { position: relative; z-index: 1; max-width: 690px; }
.card-label { margin: 0 0 16px; font-size: 9px; font-weight: 650; letter-spacing: .2em; opacity: .68; }
.card-body h3 { margin: 0; font-family: var(--font-serif); font-size: clamp(28px, 3.8vw, 54px); font-weight: 400; line-height: 1.2; letter-spacing: -.045em; }
.feature-card:not(.feature-card-main) .card-body h3 { font-size: clamp(25px, 2.45vw, 34px); }
.card-body > p:last-child { max-width: 610px; margin: 22px 0 0; font-size: 13px; line-height: 1.8; opacity: .72; }
.card-arrow { position: absolute; right: clamp(26px, 3.5vw, 48px); bottom: clamp(26px, 3.5vw, 48px); font-size: 20px; transition: transform .3s var(--ease); }
.feature-card > a:hover .card-arrow { transform: translate(4px, -4px); }

/* Writing index */
.writing-index { border-bottom: 1px solid var(--line); }

.index-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.index-head .eyebrow { margin-bottom: 14px; }

.article-list { border-top: 1px solid var(--ink); }
.article-row { border-bottom: 1px solid var(--line); }

.article-row a {
  display: grid;
  grid-template-columns: 120px 100px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 24px;
  min-height: 108px;
  transition: background .25s ease, padding .3s var(--ease);
}

.article-row a:hover { padding-inline: 16px; background: var(--surface); }
.article-date, .article-topic { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.article-row h3 { margin: 0; font-family: var(--font-serif); font-size: clamp(20px, 2.1vw, 29px); font-weight: 400; line-height: 1.4; letter-spacing: -.025em; }
.article-arrow { justify-self: end; font-size: 17px; transition: transform .25s var(--ease); }
.article-row a:hover .article-arrow { transform: translate(3px, -3px); }
/* Projects */
.projects { background: #e8eee4; }
.projects-head { margin-bottom: 58px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project-card a {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(23, 23, 21, .15);
  background: rgba(251, 251, 247, .42);
  transition: background .3s ease, transform .4s var(--ease);
}

.project-card a:hover { background: var(--paper); transform: translateY(-7px); }
.project-meta { display: flex; justify-content: space-between; color: #68716a; font-size: 9px; letter-spacing: .14em; }
.project-card h3 { margin: auto 0 18px; font-family: var(--font-serif); font-size: clamp(31px, 3.1vw, 43px); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
.project-card p { min-height: 92px; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.project-link { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(23, 23, 21, .13); font-size: 12px; }
.project-link i { font-size: 17px; font-style: normal; transition: transform .25s var(--ease); }
.project-card a:hover .project-link i { transform: translate(3px, -3px); }

.all-projects {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 25px 2px;
  border-bottom: 1px solid rgba(23, 23, 21, .3);
  font-family: var(--font-serif);
  font-size: 19px;
}

.all-projects i { font-size: 21px; font-style: normal; transition: transform .25s var(--ease); }
.all-projects:hover i { transform: translate(4px, -4px); }

/* About */
.about { display: block; }
.about > .section-kicker { margin-bottom: clamp(56px, 7vw, 88px); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: start;
  gap: clamp(60px, 8vw, 120px);
}
.about-copy { min-width: 0; }
.about-copy h2 {
  margin: 0 0 54px;
  font-family: var(--font-serif);
  font-size: clamp(56px, 6.4vw, 86px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.065em;
}
.about-copy h2 span { display: block; width: fit-content; white-space: nowrap; }
.about-title-muted { color: #888983; }
.about-copy > p { max-width: 640px; margin: 0 0 24px; color: var(--ink-soft); font-size: 16px; line-height: 1.95; }
.about-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.about-links a { padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 13px; transition: opacity .2s ease; }
.about-links a:hover { opacity: .55; }

.personal-wechat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 640px;
  margin-top: 58px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.personal-wechat > span { display: flex; flex-direction: column; gap: 3px; }
.personal-wechat b { font-size: 9px; font-weight: 650; letter-spacing: .16em; }
.personal-wechat small { color: var(--muted); font-size: 11px; }
.personal-wechat strong { font-size: 16px; font-weight: 500; letter-spacing: .025em; user-select: all; cursor: text; }

.contact-card { justify-self: end; width: 100%; max-width: 380px; padding: 28px; background: #1d2520; color: #f7f7f1; }
.contact-label { display: flex; justify-content: space-between; margin-bottom: 22px; color: #bdc8bf; font-size: 9px; letter-spacing: .16em; }
.contact-label i { font-size: 15px; font-style: normal; }
.contact-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border: 10px solid #fff; }
.contact-card h3 { margin: 24px 0 4px; font-family: var(--font-serif); font-size: 31px; font-weight: 400; letter-spacing: -.04em; }
.contact-card p { margin: 0; color: #bdc8bf; font-size: 12px; }
.contact-card small { display: block; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .17); color: #8f9d93; font-size: 10px; }

/* Footer */
.site-footer { padding: 70px 0 34px; background: var(--ink); color: #f8f8f3; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: end; gap: 36px; }
.footer-brand { color: #f8f8f3; }
.footer-inner > p:not(.copyright) { margin: 0; color: #96978f; font-family: var(--font-serif); font-size: clamp(21px, 2.8vw, 34px); line-height: 1.35; }
.footer-inner nav { display: flex; justify-content: flex-end; gap: 22px; }
.footer-inner nav a { color: #b7b8b0; font-size: 12px; transition: color .2s ease; }
.footer-inner nav a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; margin: 54px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); color: #72736e; font-size: 10px; letter-spacing: .08em; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .section-head { grid-template-columns: 150px minmax(0, 1fr); }
  .section-head > p { grid-column: 2; max-width: 520px; }
  .featured-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .feature-card-main { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .feature-card { min-height: 330px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:last-child { grid-column: 1 / -1; }
  .project-card:last-child a { min-height: 330px; }
  .about-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; }
  .about-copy h2 { font-size: clamp(52px, 7vw, 68px); }
}

@media (max-width: 820px) {
  .site-shell { width: min(100% - 36px, var(--shell)); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 68px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    display: flex;
    visibility: hidden;
    height: calc(100dvh - 68px);
    flex-direction: column;
    gap: 12px;
    padding: 52px 28px;
    background: rgba(251, 251, 247, .98);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav a { font-family: var(--font-serif); font-size: 36px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(46px, 11.5vw, 82px); letter-spacing: -.06em; }
  .hero-visual { width: 100%; }
  .hero-image-wrap { aspect-ratio: 4 / 3; min-height: 0; }
  .hero-caption { width: calc(100% - 36px); margin-inline: auto; }
  .manifesto { grid-template-columns: 1fr; gap: 52px; }
  .manifesto-copy > p { margin-bottom: 46px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head > p { grid-column: auto; }
  .featured-grid { grid-template-columns: 1fr; }
  .feature-card-main { grid-column: auto; min-height: 490px; }
  .article-row a { grid-template-columns: 98px 76px minmax(0, 1fr) 24px; gap: 12px; }
  .about > .section-kicker { margin-bottom: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 62px; }
  .contact-card { justify-self: start; max-width: 380px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p:not(.copyright) { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 28px, var(--shell)); }
  .hero { padding-top: 50px; }
  .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .hero h1 { font-size: clamp(43px, 13vw, 64px); line-height: 1.08; }
  .hero-lede { margin-top: 24px; font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { min-height: 48px; }
  .hero-visual { margin-top: 40px; }
  .hero-image-wrap { aspect-ratio: 1 / 1.04; }
  .hero-image-wrap img { object-position: 52% center; }
  .hero-caption span:last-child { display: none; }
  .section { padding-top: 92px; padding-bottom: 92px; }
  .manifesto-copy h2, .section-head h2, .index-head h2 { font-size: 42px; }
  .principle-list li { grid-template-columns: 34px 1fr; gap: 12px; }
  .principle-list small { grid-column: 2; }
  .featured-grid { gap: 12px; }
  .feature-card-main, .feature-card { min-height: 420px; }
  .feature-card > a { padding: 24px; }
  .card-top { flex-direction: column; gap: 4px; }
  .card-body h3, .feature-card:not(.feature-card-main) .card-body h3 { font-size: 29px; }
  .card-arrow { right: 24px; bottom: 24px; }
  .index-head { align-items: stretch; flex-direction: column; }
  .article-row a { grid-template-columns: 1fr 28px; gap: 8px 14px; min-height: 0; padding: 24px 0; }
  .article-row a:hover { padding-inline: 10px; }
  .article-date, .article-topic { grid-row: 1; }
  .article-topic { justify-self: end; }
  .article-row h3 { grid-column: 1 / -1; grid-row: 2; padding-right: 12px; font-size: 22px; }
  .article-arrow { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; }
  .project-card a, .project-card:last-child a { min-height: 370px; }
  .about-copy h2 { margin-bottom: 38px; font-size: clamp(45px, 13vw, 54px); }
  .about-copy > p { font-size: 15px; }
  .about-links { flex-direction: column; align-items: flex-start; gap: 16px; }
  .personal-wechat { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 44px; }
  .contact-card { max-width: none; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-inner nav { justify-content: flex-start; }
  .footer-inner > p:not(.copyright) { grid-column: auto; grid-row: auto; }
  .copyright { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Cinematic hero */
:root {
  --font-display: "Instrument Serif", "Iowan Old Style", "Songti SC", "STSong", Georgia, serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Songti SC", "STSong", Georgia, serif;
  --night: #111413;
  --night-soft: #1b201e;
  --glass-line: rgba(255, 255, 255, .28);
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  border: 0;
  background: rgba(255, 255, 255, .08);
  background-blend-mode: luminosity;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12), 0 12px 40px rgba(0, 0, 0, .12);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.liquid-glass::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .48) 0%, rgba(255, 255, 255, .14) 22%, transparent 42%, transparent 58%, rgba(255, 255, 255, .12) 80%, rgba(255, 255, 255, .4) 100%);
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.liquid-glass > * { position: relative; z-index: 1; }

.site-header {
  position: fixed;
  width: 100%;
  border-bottom: 0;
  background: transparent;
  color: var(--white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
  border-color: transparent;
  background: rgba(23, 18, 31, .86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner { min-height: 86px; }

.brand {
  font-family: var(--font-display);
  font-size: 25px;
  font-style: italic;
  letter-spacing: -.035em;
}

.brand i { background: currentColor; }

.nav {
  gap: 6px;
  padding: 5px 6px;
  border-radius: 999px;
}

.nav a {
  padding: 8px 14px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  letter-spacing: .02em;
}

.nav a::after {
  right: 14px;
  bottom: 5px;
  left: 14px;
  background: var(--white);
}

.nav a:hover,
.nav a.active { color: var(--white); }

.header-cta {
  min-height: 43px;
  padding-inline: 21px;
  background: var(--white);
  color: #161918;
}

.header-cta:hover,
.button-primary:hover {
  background: #eef0eb;
  color: #111413;
}

.cinematic-hero {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: max(720px, 100svh);
  padding: 0;
  isolation: isolate;
  background: var(--night);
  color: var(--white);
}

.cinematic-media,
.cinematic-poster,
.cinematic-video,
.cinematic-scrim,
.cinematic-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cinematic-media { z-index: 0; overflow: hidden; background: #121616; }

.cinematic-poster,
.cinematic-video {
  object-fit: cover;
  object-position: center;
}

.cinematic-poster {
  z-index: 0;
  opacity: 0;
  transform: scale(1.04);
  filter: saturate(.72) brightness(.7) contrast(1.06);
  transition: opacity .8s ease-in-out, filter 1s ease, transform 1s ease;
}

.cinematic-poster.is-active { opacity: 1; }
.cinematic-poster[data-poster-index="0"] { filter: saturate(.76) brightness(.68) contrast(1.06); }
.cinematic-poster[data-poster-index="1"] { filter: saturate(.72) brightness(.63) contrast(1.08); transform: scale(1.055); }
.cinematic-poster[data-poster-index="2"] { filter: saturate(.7) brightness(.72) contrast(1.04); transform: scale(1.05); }
.cinematic-poster[data-poster-index="3"] { filter: saturate(.68) brightness(.62) contrast(1.08); transform: scale(1.045); }

.cinematic-video {
  z-index: 1;
  opacity: 0;
  filter: saturate(.82) brightness(.72) contrast(1.04);
  transform: scale(1.015);
  transition: opacity 1s ease-in-out;
}

.cinematic-video.is-active { opacity: 1; }

.cinematic-scrim {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 43%, rgba(8, 12, 12, .06) 0%, rgba(8, 12, 12, .22) 48%, rgba(7, 9, 9, .58) 100%),
    linear-gradient(180deg, rgba(4, 6, 6, .32) 0%, rgba(7, 9, 9, .05) 35%, rgba(8, 10, 10, .36) 100%);
  pointer-events: none;
}

.cinematic-frame {
  z-index: 3;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: scale(1.03);
  animation: train-bob 3s ease-in-out infinite;
}

@keyframes train-bob {
  0%, 100% { transform: translateY(0) scale(1.03); }
  50% { transform: translateY(-6px) scale(1.03); }
}

.cinematic-shell {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: max(720px, 100svh);
  flex-direction: column;
  align-items: center;
  padding-top: clamp(112px, 14vh, 154px);
  padding-bottom: clamp(22px, 3.5vh, 36px);
}

.cinematic-center {
  display: flex;
  width: 100%;
  max-width: 950px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0 14px;
  text-align: center;
}

.hero-badge {
  width: fit-content;
  margin: 0 0 24px;
  padding: 9px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: .15em;
  line-height: 1.35;
}

.cinematic-hero h1 {
  max-width: 950px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(58px, 7.6vw, 108px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .3);
}

.cinematic-hero h1 span { color: rgba(255, 255, 255, .72); }

.cinematic-hero .hero-lede {
  max-width: 660px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .74);
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.75;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}

.cinematic-hero .hero-actions { margin-top: 26px; }

.cinematic-hero .button {
  min-height: 48px;
  padding-inline: 24px;
  font-family: var(--font-sans);
  font-size: 12px;
}

.cinematic-hero .button-primary {
  background: var(--white);
  color: #151817;
}

.cinematic-hero .button-quiet {
  border: 0;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}

.cinematic-hero .button-quiet:hover { background: rgba(255, 255, 255, .16); color: var(--white); }

.scene-note {
  min-height: 1.7em;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .62);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .05em;
  transition: opacity .25s ease, transform .25s ease;
}

.scene-note.is-changing { opacity: 0; transform: translateY(4px); }

.scene-switcher {
  display: grid;
  width: min(100%, 520px);
  grid-template-columns: repeat(4, 1fr);
  margin: 8px auto 0;
  padding: 5px;
  border-radius: 999px;
}

.scene-button {
  position: relative;
  z-index: 1;
  min-height: 40px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .52);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  transition: color .25s ease, background .25s ease, opacity .25s ease;
}

.scene-button span {
  margin-right: 6px;
  font-size: 9px;
  opacity: .7;
}

.scene-button:hover { color: rgba(255, 255, 255, .84); }

.scene-button.is-active {
  background: rgba(255, 255, 255, .92);
  color: #171a19;
}

.scene-button:disabled { cursor: wait; }

.cinematic-bottom {
  display: grid;
  width: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: clamp(18px, 3vh, 34px);
  color: rgba(255, 255, 255, .64);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .11em;
}

.cinematic-bottom p { display: flex; gap: 10px; margin: 0; }
.cinematic-bottom b { color: var(--white); font-weight: 620; }

.cinematic-bottom ul {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cinematic-bottom li { display: flex; align-items: center; }
.cinematic-bottom li + li::before { margin: 0 12px; color: rgba(255, 255, 255, .34); content: "|"; }
.cinematic-bottom a { justify-self: end; color: var(--white); }
.cinematic-bottom a span { display: inline-block; margin-left: 7px; animation: arrow-nudge 1.8s ease-in-out infinite; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .liquid-glass { background: rgba(23, 18, 31, .88); }
}

@media (max-width: 1020px) {
  .cinematic-hero h1 { font-size: clamp(56px, 9vw, 88px); }
  .cinematic-bottom { grid-template-columns: auto 1fr; }
  .cinematic-bottom ul { display: none; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 72px; }
  .brand { position: relative; z-index: 52; font-size: 23px; }
  .menu-toggle {
    position: relative;
    z-index: 52;
    display: block;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .nav.liquid-glass {
    position: fixed;
    z-index: 51;
    inset: 0;
    visibility: hidden;
    height: 100svh;
    flex-direction: column;
    gap: 12px;
    padding: 120px 28px 54px;
    border-radius: 0;
    background: rgba(23, 18, 31, .94);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .nav.liquid-glass::before { display: none; }
  .nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav a {
    padding: 8px;
    color: rgba(255, 255, 255, .82);
    font-family: var(--font-display);
    font-size: 40px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s ease, transform .45s var(--ease), color .2s ease;
  }
  .nav.is-open a { opacity: 1; transform: translateY(0); }
  .nav.is-open a:nth-child(1) { transition-delay: .08s; }
  .nav.is-open a:nth-child(2) { transition-delay: .13s; }
  .nav.is-open a:nth-child(3) { transition-delay: .18s; }
  .nav.is-open a:nth-child(4) { transition-delay: .23s; }
  .nav a::after { right: 8px; left: 8px; }
  .cinematic-shell { padding-top: 96px; }
  .cinematic-center { justify-content: center; padding-top: 8px; }
  .cinematic-frame { transform: scale(1.1); animation-name: train-bob-mobile; }
  @keyframes train-bob-mobile {
    0%, 100% { transform: translateY(0) scale(1.1); }
    50% { transform: translateY(-5px) scale(1.1); }
  }
}

@media (max-width: 620px) {
  .cinematic-hero { min-height: max(760px, 100svh); }
  .cinematic-shell { min-height: max(760px, 100svh); padding-top: 88px; padding-bottom: 18px; }
  .hero-badge { margin-bottom: 18px; padding: 8px 13px; font-size: 8px; }
  .cinematic-hero h1 { font-size: clamp(46px, 13vw, 64px); line-height: .98; letter-spacing: -.045em; }
  .cinematic-hero .hero-lede { max-width: 440px; margin-top: 20px; font-size: 13px; line-height: 1.65; }
  .cinematic-hero .hero-actions { width: min(100%, 320px); margin-top: 22px; }
  .cinematic-hero .button { width: 100%; }
  .scene-note { margin-top: 15px; font-size: 10px; }
  .scene-switcher { width: min(100%, 350px); grid-template-columns: repeat(2, 1fr); gap: 3px; border-radius: 24px; }
  .scene-button { min-height: 42px; }
  .cinematic-bottom { grid-template-columns: 1fr auto; gap: 16px; margin-top: 18px; }
  .cinematic-bottom p { flex-direction: column; gap: 1px; letter-spacing: .08em; }
  .cinematic-bottom p span { display: none; }
  .cinematic-bottom a { font-size: 8px; }
  .cinematic-frame { opacity: .88; object-position: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-frame { animation: none !important; transform: scale(1.03); }
  .cinematic-video { display: none; }
}

/* Reference paper-and-card theme for the sections after the cinematic hero */
:root {
  --paper: #f8f5f9;
  --paper-deep: #f1edf5;
  --surface: #fdfcff;
  --ink: #2a2438;
  --ink-soft: #656174;
  --muted: #746e80;
  --line: #ded9e5;
  --line-strong: #b9b1c5;
  --sage: #e8f0ea;
  --sage-deep: #4f725d;
  --sand: #f5efe8;
  --accent: #7161a5;
  --accent-purple: #7567a9;
  --accent-pink: #cf7197;
  --accent-orange: #dda466;
  --card-hover: #faf8fc;
  --mist: #f8f5f9;
  --rose: #f8f5f9;
  --green: #4f725d;
  --purple-soft: #8f79bc;
  --dark: #393342;
  --on-dark: #fbf9fc;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Source Han Serif SC", "Noto Serif CJK SC", "Iowan Old Style", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-serif: var(--font-display);
  --night: #17121f;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline-color: var(--accent);
  outline-offset: 4px;
}

main > section { scroll-margin-top: 84px; }

.section {
  padding-top: clamp(88px, 10vw, 144px);
  padding-bottom: clamp(88px, 10vw, 144px);
}

.brand { font-family: var(--font-display); }

.nav a,
.header-cta,
.button,
.scene-button,
.cinematic-bottom a,
.about-links a,
.footer-inner nav a {
  min-height: 44px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
}

.nav a::after { bottom: 6px; }

.section-kicker { color: var(--accent); }

.section-kicker p {
  font-size: 12px;
  letter-spacing: .12em;
}

.section-head {
  grid-template-columns: 180px minmax(0, 1fr) 340px;
  margin-bottom: 56px;
}

.section-head h2,
.manifesto-copy h2,
.index-head h2,
.about-copy h2 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.section-head h2,
.manifesto-copy h2 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.15;
}

.section-head > p,
.manifesto-copy > p,
.about-copy > p,
.index-head > p {
  color: var(--ink-soft);
}

.section-head > p {
  max-width: 340px;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.8;
}

/* Hero typography and information density */
.cinematic-center { max-width: 1080px; }

.hero-badge {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  letter-spacing: .08em;
}

.cinematic-hero h1 {
  max-width: 1040px;
  font-family: var(--font-serif);
  font-size: clamp(52px, 5.7vw, 82px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.cinematic-hero .no-break { white-space: nowrap; }

.cinematic-hero .hero-lede {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.75;
}

.cinematic-hero .button {
  min-height: 50px;
  font-size: 13px;
}

.scene-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}

.scene-control {
  width: min(100%, 520px);
  margin: 8px auto 0;
  text-align: center;
}

.scene-control > p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .1em;
}

.scene-switcher {
  width: 100%;
  margin: 0;
}

.scene-button {
  min-height: 44px;
  font-size: 12px;
}

.cinematic-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  letter-spacing: .08em;
}

.cinematic-bottom p { align-items: center; }

.cinematic-bottom a {
  display: inline-flex;
  align-items: center;
}

/* Projects: show problem, action and evidence */
.projects {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.project-card a {
  min-height: 530px;
  border-color: var(--line-strong);
  background: var(--surface);
}

.project-card a:hover { background: var(--card-hover); }
.project-card:nth-child(1) a { box-shadow: inset 0 3px 0 var(--accent-purple); }
.project-card:nth-child(2) a { box-shadow: inset 0 3px 0 var(--accent-pink); }
.project-card:nth-child(3) a { box-shadow: inset 0 3px 0 var(--accent-orange); }
.project-card:nth-child(2) .project-details dt,
.project-card:nth-child(2) .project-link { color: var(--accent); }

.project-meta {
  color: var(--muted);
  font-size: 12px;
}

.project-card h3 {
  margin: 52px 0 26px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.project-details {
  margin: 0;
}

.project-details div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.project-details dt {
  color: var(--accent);
  font-size: 12px;
  font-weight: 620;
}

.project-details dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.project-link {
  margin-top: auto;
  border-color: var(--line);
  color: var(--accent);
  font-size: 12px;
}

.all-projects {
  min-height: 70px;
  border-color: var(--line-strong);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Product method */
.manifesto {
  border-top: 1px solid var(--line);
  border-bottom-color: var(--line);
  background: var(--paper);
  box-shadow: none;
  clip-path: none;
}

.manifesto .section-kicker { color: var(--accent); }

.manifesto-copy {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--green);
  background: var(--surface);
}

.manifesto .principle-list li > span { color: var(--green); }

.manifesto-copy > p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.85;
}

.principle-list li {
  grid-template-columns: 52px minmax(120px, .45fr) 1fr;
  min-height: 84px;
  border-top-color: var(--line);
}

.principle-list li > span { color: var(--muted); font-size: 12px; }

.principle-list strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
}

.principle-list small {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* Writing: three featured pieces, then three non-duplicated articles */
.featured {
  border-top: 1px solid var(--line);
  background: var(--rose);
  color: var(--ink);
}

.feature-card > a {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.feature-card-main > a,
.feature-card:nth-child(2) > a,
.feature-card:nth-child(3) > a {
  background: var(--surface);
  color: var(--ink);
}

.feature-card:nth-child(1) > a { box-shadow: inset 0 3px 0 var(--accent-purple); }
.feature-card:nth-child(2) > a { box-shadow: inset 0 3px 0 var(--green); }
.feature-card:nth-child(3) > a { box-shadow: inset 0 3px 0 var(--accent-pink); }
.feature-card > a:hover { background: var(--card-hover); }
.feature-card > a::before { opacity: .03; }

.card-top {
  color: var(--muted);
  font-size: 12px;
  opacity: 1;
}

.card-label {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .12em;
  opacity: 1;
}

.card-body h3,
.feature-card:not(.feature-card-main) .card-body h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.035em;
}

.card-body h3 { font-size: clamp(28px, 3.2vw, 46px); }
.feature-card:not(.feature-card-main) .card-body h3 { font-size: clamp(24px, 2.15vw, 31px); }

.card-body > p:last-child {
  color: var(--ink-soft);
  font-size: 14px;
  opacity: 1;
}

.feature-card-main .card-top,
.feature-card-main .card-body > p:last-child { color: var(--ink-soft); }
.feature-card-main .card-label,
.feature-card-main .card-arrow { color: var(--accent); }
.feature-card-main .card-body h3 { color: var(--ink); }
.feature-card:nth-child(2) .card-label,
.feature-card:nth-child(2) .card-arrow { color: var(--green); }
.feature-card:nth-child(3) .card-label { color: var(--accent); }
.feature-card:nth-child(3) .card-arrow { color: var(--accent-pink); }

.writing-index {
  margin-top: 82px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.index-head { margin-bottom: 34px; }

.index-head h2 {
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.16;
}

.index-head > p {
  max-width: 480px;
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.75;
}

.article-list { border-top-color: var(--line-strong); }
.article-row { border-bottom-color: var(--line); }
.article-row a:hover { background: var(--surface); }

.article-date,
.article-topic {
  color: var(--muted);
  font-size: 12px;
}

.article-row h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 400;
  letter-spacing: -.025em;
}

.article-arrow { color: var(--accent); }

/* About and contact */
.about-title-muted { color: #81748c; }

.about {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.about-copy h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.1;
}

.about-copy > p {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.85;
}

.about-links a {
  display: inline-flex;
  align-items: center;
  border-color: var(--accent);
  color: var(--accent);
}

.personal-wechat {
  border-color: var(--line-strong);
}

.personal-wechat b { color: var(--accent); font-size: 12px; }
.personal-wechat small { color: var(--muted); font-size: 12px; }
.personal-wechat strong { color: var(--ink); }

.contact-card {
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent-purple);
  background: var(--surface);
  color: var(--ink);
}

.contact-label,
.contact-card p { color: var(--muted); }
.contact-label { font-size: 12px; }
.contact-card h3 { color: var(--ink); font-family: var(--font-serif); font-weight: 400; }
.contact-card small { color: var(--ink-soft); border-top-color: var(--line); font-size: 12px; }

/* Footer */
.site-footer {
  background: var(--night);
  color: var(--on-dark);
}

.footer-inner > p:not(.copyright) {
  color: #c9bed0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.03em;
}

.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  color: #c9bed0;
}

.copyright { color: #92869c; font-size: 11px; }

@media (max-width: 1020px) {
  .section-head { grid-template-columns: 150px minmax(0, 1fr); }
  .section-head > p { grid-column: 2; max-width: 560px; }
  .project-card a { min-height: 500px; }
}

@media (max-width: 820px) {
  .nav a { min-height: 56px; font-size: 38px; }
  .cinematic-hero h1 { font-size: clamp(44px, 8.5vw, 72px); }
  .section-head { grid-template-columns: 1fr; }
  .section-head > p { grid-column: auto; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; }
  .project-card a,
  .project-card:last-child a { min-height: 0; }
  .index-head { align-items: flex-start; flex-direction: column; }
  .about-copy h2 span { white-space: normal; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 32px, var(--shell)); }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section-head { margin-bottom: 38px; }
  .section-head h2,
  .manifesto-copy h2,
  .index-head h2 { font-size: 36px; line-height: 1.18; }
  .section-head > p,
  .manifesto-copy > p,
  .about-copy > p,
  .index-head > p { font-size: 15px; }
  .hero-badge { margin-bottom: 16px; font-size: 11px; }
  .cinematic-hero h1 {
    font-size: clamp(38px, 10.5vw, 48px);
    line-height: 1.12;
    letter-spacing: -.025em;
  }
  .cinematic-hero .hero-lede { margin-top: 18px; font-size: 15px; line-height: 1.65; }
  .cinematic-hero .hero-actions { margin-top: 20px; }
  .scene-note { font-size: 11px; }
  .scene-control > p { font-size: 11px; }
  .scene-switcher { width: min(100%, 350px); }
  .scene-button { min-height: 44px; }
  .cinematic-bottom { font-size: 11px; }
  .project-card a { padding: 26px; }
  .project-card h3 { margin: 42px 0 24px; font-size: 30px; }
  .project-details div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .project-details dt { font-size: 11px; }
  .project-details dd { font-size: 14px; }
  .manifesto-copy { padding: 24px 20px; }
  .principle-list li { grid-template-columns: 34px 1fr; gap: 10px 14px; }
  .principle-list small { grid-column: 2; font-size: 14px; }
  .feature-card-main,
  .feature-card { min-height: 390px; }
  .card-body h3,
  .feature-card:not(.feature-card-main) .card-body h3 { font-size: 26px; }
  .writing-index { margin-top: 60px; padding-top: 48px; }
  .article-row h3 { font-size: 20px; }
  .about-copy h2 { font-size: 38px; }
  .about-links a { min-height: 44px; }
  .contact-card h3 { font-size: 28px; }
  .footer-inner nav { flex-wrap: wrap; }
}

@media (max-width: 620px) and (max-height: 720px) {
  .cinematic-hero,
  .cinematic-shell { min-height: 100svh; }
  .cinematic-shell { padding-top: 74px; padding-bottom: 18px; }
  .cinematic-center { padding-block: 4px; }
  .scene-note,
  .scene-control,
  .cinematic-bottom { display: none; }
}
