:root {
  --bg: #f2eee3;
  --paper: #fffdf6;
  --ink: #101310;
  --muted: #62665d;
  --soft: rgba(255, 253, 246, 0.78);
  --line: rgba(16, 19, 16, 0.18);
  --line-strong: #101310;
  --field: #c9f24a;
  --coral: #f05f3f;
  --teal: #0b8a83;
  --blue: #235ed8;
  --amber: #d99c21;
  --dark: #080907;
  --radius: 8px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 19, 16, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 16, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 26px 26px;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.58;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  border: 0;
  font: inherit;
  color: inherit;
  letter-spacing: 0;
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

p {
  margin: 0;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  width: min(var(--max), calc(100% - 28px));
  min-height: 62px;
  padding: 8px 10px 8px 14px;
  transform: translateX(-50%);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
  border-left: 2px solid var(--line-strong);
  padding-left: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  max-width: 300px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 900;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--teal);
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}

.language-switcher button {
  min-height: 34px;
  padding: 0 9px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.language-switcher button.active {
  background: var(--ink);
  color: var(--paper);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

.multilingual-copy [lang],
.social-card-copy [lang] {
  display: none;
}

body:not([data-site-lang]) .multilingual-copy [lang="zh-CN"],
body:not([data-site-lang]) .social-card-copy [lang="zh-CN"],
body[data-site-lang="zh"] .multilingual-copy [lang="zh-CN"],
body[data-site-lang="zh"] .social-card-copy [lang="zh-CN"],
body[data-site-lang="en"] .multilingual-copy [lang="en"],
body[data-site-lang="en"] .social-card-copy [lang="en"],
body[data-site-lang="ja"] .multilingual-copy [lang="ja"],
body[data-site-lang="ja"] .social-card-copy [lang="ja"] {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88svh;
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.82), rgba(8, 9, 7, 0.48) 48%, rgba(8, 9, 7, 0.12)),
    linear-gradient(0deg, rgba(8, 9, 7, 0.7), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 132px 0 98px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--field);
}

h1 {
  max-width: 980px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 116px;
  font-weight: 900;
  text-wrap: balance;
}

.hero-line {
  max-width: 760px;
  margin-top: 22px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.18;
}

.hero-lede {
  max-width: 780px;
  margin-top: 18px;
  color: rgba(255, 253, 246, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.solid-button,
.outline-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  font-weight: 900;
}

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

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

.ghost-button {
  border-color: rgba(255, 253, 246, 0.7);
  background: rgba(255, 253, 246, 0.12);
  color: var(--paper);
}

.solid-button:hover,
.outline-button:hover,
.ghost-button:hover,
.filter-button:hover,
.manual-card:hover,
.note-card:hover,
.source-card:hover,
.project-card:hover,
.process-card:hover,
.audience-card:hover,
.person-card:hover {
  transform: translateY(-1px);
}

.hero-strip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.hero-strip span {
  border: 1px solid rgba(255, 253, 246, 0.34);
  border-radius: 999px;
  background: rgba(8, 9, 7, 0.32);
  padding: 6px 10px;
  color: rgba(255, 253, 246, 0.86);
  font-size: 12px;
  font-weight: 850;
}

.proof-band,
.section {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 18px 0 28px;
}

.proof-band article,
.source-card,
.manual-card,
.note-card,
.note-map,
.project-card,
.day-panel,
.source-list,
.feature-photo,
.process-card,
.process-detail,
.audience-card,
.person-card,
.people-hero-copy,
.people-source-card,
.people-toolbar,
.profile-hero,
.profile-main,
.profile-aside {
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}

.proof-band article {
  min-height: 136px;
  padding: 18px;
  box-shadow: 5px 5px 0 var(--line-strong);
}

.proof-band strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.proof-band span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 760;
}

.section {
  padding: 70px 0;
  scroll-margin-top: 98px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.wide-heading {
  max-width: 900px;
}

.section-heading h2,
.closing-copy h2,
.split-copy h2 {
  font-size: 54px;
  text-wrap: balance;
}

.section-heading h2.nowrap-heading {
  white-space: nowrap;
  font-size: 45px;
  text-wrap: nowrap;
}

.section-heading p:last-child,
.split-copy p,
.closing-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.source-card {
  display: grid;
  min-height: 264px;
  padding: 18px;
}

.source-card .card-label,
.manual-card .card-label,
.note-card .card-label,
.process-card .card-label,
.audience-card .card-label {
  width: fit-content;
  height: fit-content;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--field);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 950;
}

.source-card h3,
.manual-card h3,
.note-card h3,
.project-card h3,
.process-card h3 {
  margin-top: 16px;
  font-size: 24px;
}

.source-card p,
.manual-card p,
.note-card p,
.project-card p,
.day-copy p,
.process-card p,
.process-brief p,
.audience-card p {
  margin-top: 10px;
  color: var(--muted);
}

.text-link {
  align-self: end;
  width: fit-content;
  margin-top: 18px;
  border-bottom: 2px solid var(--line-strong);
  font-weight: 900;
}

.process-section {
  width: 100%;
  max-width: none;
  padding-right: max(14px, calc((100% - var(--max)) / 2));
  padding-left: max(14px, calc((100% - var(--max)) / 2));
  border-block: 2px solid var(--line-strong);
  background: #fff3d0;
}

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

.process-card {
  display: grid;
  min-height: 318px;
  padding: 18px;
  box-shadow: 5px 5px 0 var(--line-strong);
}

.process-card:nth-child(2) .card-label {
  background: #d8e4ff;
}

.process-card:nth-child(3) .card-label {
  background: #ffd6bd;
}

.process-output {
  align-self: end;
  margin-top: 18px;
  border-left: 5px solid var(--teal);
  background: #f6f9eb;
  padding: 12px 14px;
  font-weight: 900;
}

.process-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
}

.process-brief h3 {
  font-size: 38px;
  text-wrap: balance;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.question-item {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f9ec;
  padding: 12px;
}

.question-item span,
.question-item strong {
  display: block;
}

.question-item span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

.question-item strong {
  margin-top: 8px;
  line-height: 1.28;
}

.audience-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.audience-card {
  min-height: 170px;
  padding: 16px;
}

.audience-card .card-label {
  max-width: 100%;
  white-space: normal;
}

.people-preview-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  border-block: 0;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(8, 9, 7, 0.96), rgba(16, 42, 32, 0.91)),
    linear-gradient(rgba(255, 253, 246, 0.06) 1px, transparent 1px);
  background-size: auto, 22px 22px;
}

.people-preview-section .section-heading p,
.people-preview-section .eyebrow {
  color: rgba(255, 253, 246, 0.78);
}

.people-preview-grid,
.people-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.person-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 16, 0.12);
  border-radius: var(--radius);
  background: #fffaf0;
  box-shadow: 0 18px 40px rgba(16, 19, 16, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.person-card:hover {
  border-color: rgba(16, 19, 16, 0.26);
  box-shadow: 0 24px 48px rgba(16, 19, 16, 0.12);
  transform: translateY(-4px);
}

.person-card a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 268px;
  padding: 20px;
}

.person-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.person-avatar,
.profile-avatar {
  display: grid;
  place-items: center;
  border: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #163326;
  color: var(--ink);
  font-weight: 950;
}

.person-avatar img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-avatar {
  width: 58px;
  height: 58px;
  color: #f6f2e8;
  font-size: 17px;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 246, 0.12);
}

.person-card strong,
.person-card small {
  display: block;
  min-width: 0;
}

.person-card strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.15;
}

.person-card small {
  margin-top: 4px;
  color: rgba(16, 19, 16, 0.48);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.person-card p {
  display: -webkit-box;
  min-height: 90px;
  overflow: hidden;
  color: rgba(16, 19, 16, 0.72);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-self: end;
}

.person-tags span {
  border: 1px solid rgba(16, 19, 16, 0.1);
  border-radius: 999px;
  background: rgba(16, 19, 16, 0.04);
  padding: 4px 8px;
  color: rgba(16, 19, 16, 0.7);
  font-size: 11px;
  font-weight: 850;
}

.people-preview-more {
  background: #c9f24a;
}

.people-preview-more .person-avatar {
  background: var(--ink);
}

.people-preview-section .person-card {
  background: rgba(255, 253, 246, 0.96);
}

.people-preview-section .person-card:nth-child(2n) .person-avatar,
.people-directory-grid .person-card:nth-child(5n + 2) .person-avatar {
  background: #0b8a83;
}

.people-preview-section .person-card:nth-child(3n) .person-avatar,
.people-directory-grid .person-card:nth-child(5n + 3) .person-avatar {
  background: #235ed8;
}

.people-preview-section .person-card:nth-child(4n) .person-avatar,
.people-directory-grid .person-card:nth-child(5n + 4) .person-avatar {
  background: #d66b3d;
}

.people-directory-grid .person-card[data-role="Founder"] {
  border-top: 4px solid #101310;
}

.people-directory-grid .person-card[data-role="Growth"] {
  border-top: 4px solid #0b8a83;
}

.people-directory-grid .person-card[data-role="Product & Tech"] {
  border-top: 4px solid #235ed8;
}

.people-directory-grid .person-card[data-role="Ecosystem"] {
  border-top: 4px solid #d99c21;
}

.people-directory-grid .person-card[data-role="BD"] {
  border-top: 4px solid #f05f3f;
}

.people-shell {
  width: min(1360px, calc(100% - 28px));
  padding-top: 24px;
}

.people-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 22px;
  align-items: stretch;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.9), rgba(8, 9, 7, 0.54) 58%, rgba(16, 42, 32, 0.76)),
    url("./assets/photos/hero-outdoor-coding.jpg") center / cover;
  padding: 28px;
  color: var(--paper);
}

.people-hero > *,
.profile-hero > * {
  min-width: 0;
}

.people-hero-copy,
.people-source-card,
.people-toolbar,
.profile-hero,
.profile-main,
.profile-aside {
  padding: 24px;
}

.people-hero-copy {
  display: grid;
  align-content: center;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 18px;
}

.people-hero-roster {
  grid-template-columns: minmax(0, 1fr);
}

.people-hero-roster .people-hero-copy {
  max-width: 940px;
}

.people-hero-copy h1 {
  max-width: 900px;
  color: var(--paper);
  font-size: 64px;
}

.people-hero-copy p:not(.eyebrow),
.people-source-card p,
.profile-hero-copy p,
.profile-aside p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 720;
}

.people-hero-copy p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 253, 246, 0.78);
  font-size: 18px;
}

.people-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.people-hero-stats span {
  border: 1px solid rgba(255, 253, 246, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.12);
  padding: 10px 12px;
  color: var(--paper);
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.people-hero-stats strong {
  margin-right: 6px;
  color: var(--field);
  font-size: 24px;
}

.people-source-card {
  display: grid;
  align-content: center;
  align-self: center;
  border: 1px solid rgba(255, 253, 246, 0.22);
  background: rgba(255, 253, 246, 0.12);
  color: var(--paper);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.people-source-card h2 {
  margin-top: 14px;
  color: var(--paper);
  font-size: 36px;
}

.people-source-card p {
  color: rgba(255, 253, 246, 0.74);
}

.people-toolbar {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid rgba(16, 19, 16, 0.12);
  background: rgba(255, 253, 246, 0.92);
  box-shadow: 0 16px 36px rgba(16, 19, 16, 0.08);
  backdrop-filter: blur(14px);
}

.people-search {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.people-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16, 19, 16, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
}

.people-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.people-filter-button {
  border-color: rgba(16, 19, 16, 0.12);
  background: rgba(16, 19, 16, 0.04);
  color: var(--ink);
}

.people-filter-button.active {
  background: var(--ink);
  color: var(--paper);
}

.people-directory-grid {
  margin-top: 20px;
}

.person-card[hidden] {
  display: none;
}

.profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 360px;
  margin-top: 18px;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.92), rgba(22, 51, 38, 0.86)),
    url("./assets/photos/hero-outdoor-coding.jpg") center / cover;
  color: var(--paper);
  box-shadow: 0 24px 60px rgba(16, 19, 16, 0.16);
}

.profile-avatar {
  width: 150px;
  height: 150px;
  background: var(--field);
  color: var(--ink);
  border-radius: 32px;
  font-size: 42px;
  box-shadow: 0 18px 40px rgba(8, 9, 7, 0.28);
}

.profile-hero-copy h1 {
  max-width: 860px;
  color: var(--paper);
  font-size: 64px;
}

.profile-hero-copy p {
  max-width: 900px;
  color: rgba(255, 253, 246, 0.78);
}

.profile-tags {
  margin-top: 18px;
}

.profile-tags span {
  border-color: rgba(255, 253, 246, 0.2);
  background: rgba(255, 253, 246, 0.12);
  color: var(--paper);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.profile-main {
  display: grid;
  gap: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.profile-intro-panel,
.profile-topic-panel {
  border: 1px solid rgba(16, 19, 16, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.98);
  padding: 22px;
  box-shadow: 0 18px 42px rgba(16, 19, 16, 0.08);
}

.profile-intro-panel h2,
.profile-topic-panel h2 {
  margin-top: 10px;
  font-size: 30px;
}

.profile-intro-panel p {
  margin-top: 12px;
  color: rgba(16, 19, 16, 0.76);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.72;
}

.profile-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.profile-mini-grid div {
  min-width: 0;
  border: 1px solid rgba(16, 19, 16, 0.1);
  border-radius: var(--radius);
  background: rgba(16, 19, 16, 0.035);
  padding: 12px;
}

.profile-mini-grid span,
.profile-mini-grid strong {
  display: block;
}

.profile-mini-grid span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
}

.profile-mini-grid strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.profile-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.profile-topic-list span {
  border: 1px solid rgba(16, 19, 16, 0.12);
  border-radius: 999px;
  background: #eaf4e7;
  padding: 7px 10px;
  color: rgba(16, 19, 16, 0.78);
  font-size: 13px;
  font-weight: 850;
}

.profile-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(16, 19, 16, 0.12);
  background: rgba(255, 253, 246, 0.96);
  box-shadow: 0 18px 42px rgba(16, 19, 16, 0.08);
}

.profile-aside > section {
  display: grid;
  gap: 10px;
}

.profile-field {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}

.profile-main .profile-field {
  border: 1px solid rgba(16, 19, 16, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.96);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(16, 19, 16, 0.05);
}

.profile-field span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-field p {
  color: rgba(16, 19, 16, 0.76);
  font-weight: 700;
  line-height: 1.72;
  white-space: pre-line;
}

.people-preview-section,
body.people-page {
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.people-preview-section .section-heading h2,
body.people-page .people-hero-copy h1,
body.people-page .profile-hero-copy h1 {
  font-family: "Songti SC", "STSong", serif;
  font-weight: 600;
  letter-spacing: 0;
}

.people-preview-section .eyebrow,
body.people-page .eyebrow,
body.people-page .card-label {
  font-weight: 500;
}

.people-preview-section .section-heading p,
body.people-page .people-hero-copy p:not(.eyebrow),
body.people-page .people-source-card p,
body.people-page .profile-hero-copy p,
body.people-page .profile-aside p,
body.people-page .profile-intro-panel p,
body.people-page .profile-field p {
  font-weight: 400;
}

.people-preview-section .person-card strong,
body.people-page .person-card strong,
body.people-page .profile-mini-grid strong,
body.people-page .profile-intro-panel h2,
body.people-page .profile-topic-panel h2 {
  font-weight: 500;
}

.people-preview-section .person-card small,
body.people-page .person-card small,
body.people-page .profile-mini-grid span,
body.people-page .profile-field span {
  font-weight: 400;
}

.people-preview-section .person-card p,
body.people-page .person-card p {
  font-weight: 400;
}

.people-preview-section .person-tags span,
body.people-page .person-tags span,
body.people-page .profile-topic-list span,
body.people-page .people-filter-button,
body.people-page .people-search,
body.people-page .people-search input {
  font-weight: 400;
}

body.people-page .people-hero-stats span,
body.people-page .people-hero-stats strong {
  font-weight: 500;
}

.faq-section {
  width: 100%;
  max-width: none;
  padding-right: max(14px, calc((100% - var(--max)) / 2));
  padding-left: max(14px, calc((100% - var(--max)) / 2));
  background: #f6f3e8;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  min-height: 64px;
  padding: 18px 20px;
  list-style: none;
  font-size: 20px;
  font-weight: 950;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  margin-left: 16px;
  color: var(--teal);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  border-top: 1px solid var(--line);
  padding: 16px 20px 18px;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 26px;
  align-items: center;
}

.feature-photo {
  overflow: hidden;
}

.feature-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-photo figcaption {
  margin: 0;
  border-top: 2px solid var(--line-strong);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.route-section {
  width: 100%;
  max-width: none;
  padding-right: max(14px, calc((100% - var(--max)) / 2));
  padding-left: max(14px, calc((100% - var(--max)) / 2));
  background: #e7f0e5;
  border-block: 2px solid var(--line-strong);
}

.route-section .section-heading {
  width: min(780px, 100%);
}

.day-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.day-tab {
  flex: 0 0 auto;
  min-width: 104px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px 12px;
  text-align: left;
}

.day-tab strong,
.day-tab span {
  display: block;
}

.day-tab strong {
  font-size: 15px;
  font-weight: 950;
}

.day-tab span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.day-tab.active {
  background: var(--field);
}

.day-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 8px;
  overflow: hidden;
  background: var(--paper);
}

.day-copy {
  display: grid;
  align-content: center;
  padding: 26px;
}

.day-copy .day-kicker {
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.day-copy h3 {
  margin-top: 12px;
  font-size: 42px;
}

.day-output {
  margin-top: 20px;
  border-left: 5px solid var(--teal);
  background: #eef8ef;
  padding: 12px 14px;
  font-weight: 900;
}

.day-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

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

.manual-card {
  display: grid;
  min-height: 292px;
  padding: 18px;
}

.manual-card-links,
.manual-index-actions,
.manual-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.manual-card-links {
  margin-top: auto;
}

.muted-link {
  color: var(--muted);
}

.manual-card:nth-child(2n) .card-label {
  background: #d8e4ff;
}

.manual-card:nth-child(3n) .card-label {
  background: #ffd6bd;
}

body.manual-page {
  background:
    linear-gradient(rgba(16, 19, 16, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 16, 0.045) 1px, transparent 1px),
    #f4f0e6;
  background-size: 26px 26px;
}

.manual-site-header {
  position: sticky;
  top: 12px;
  left: auto;
  margin: 12px auto 0;
  transform: none;
}

.manual-shell {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.manual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.manual-hero-copy,
.manual-hero-image,
.manual-index-card,
.manual-content,
.manual-rail-card,
.manual-prev-next a {
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}

.manual-hero-copy {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: 34px;
}

.manual-hero-copy h1 {
  max-width: 860px;
  font-size: 58px;
}

.manual-hero-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 760;
}

.manual-actions {
  margin-top: 26px;
}

.manual-hero-image {
  overflow: hidden;
}

.manual-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.manual-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.manual-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.manual-rail-card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.manual-nav-link,
.manual-toc a {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.manual-nav-link span {
  color: var(--coral);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.manual-nav-link strong {
  color: var(--ink);
  font-size: 14px;
}

.manual-nav-link:hover,
.manual-toc a:hover,
.manual-nav-link.active {
  border-color: var(--line-strong);
  background: #eef8ef;
  color: var(--ink);
}

.manual-content {
  min-width: 0;
  padding: 34px;
}

.manual-content > * + * {
  margin-top: 18px;
}

.manual-content h1 {
  margin-top: 40px;
  border-top: 2px solid var(--line-strong);
  padding-top: 24px;
  font-size: 38px;
}

.manual-content h1:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.manual-content h2 {
  margin-top: 30px;
  font-size: 26px;
}

.manual-content h3 {
  margin-top: 24px;
  font-size: 22px;
}

.manual-content h4 {
  margin-top: 20px;
  font-size: 18px;
}

.manual-content p,
.manual-content li,
.manual-content td,
.manual-content th {
  font-size: 16px;
}

.manual-content p,
.manual-content li {
  color: var(--muted);
  font-weight: 680;
}

.manual-content ul,
.manual-content ol {
  padding-left: 22px;
}

.manual-content hr {
  margin: 34px 0;
  border: 0;
  border-top: 2px solid var(--line-strong);
}

.manual-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fffdf6;
}

.manual-content table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.manual-content th,
.manual-content td {
  border: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.manual-content th {
  background: #e8efdc;
  color: var(--ink);
  font-weight: 950;
}

.manual-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  border: 2px solid var(--line-strong);
  border-left-width: 8px;
  border-radius: var(--radius);
  padding: 16px;
  background: #eef8ef;
}

.manual-callout--blue {
  background: #eef3ff;
}

.manual-callout--yellow {
  background: #fff6d8;
}

.manual-callout--red {
  background: #fff0ea;
}

.manual-callout-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  font-size: 17px;
}

.manual-callout-body {
  display: grid;
  gap: 8px;
}

.manual-grid-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.manual-column {
  min-width: 0;
}

.manual-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.manual-check span {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
}

.manual-code {
  overflow: hidden;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: #11130f;
  color: #fffdf6;
}

.manual-code figcaption {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 14px;
  color: #c9f24a;
  font-size: 13px;
  font-weight: 900;
}

.manual-code pre,
.manual-flow {
  margin: 0;
  overflow-x: auto;
  padding: 16px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre;
}

.manual-flow-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.manual-flow-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #eef8ef;
}

.manual-flow-list span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

.manual-flow-list strong {
  color: var(--ink);
}

.manual-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.manual-prev-next a {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.manual-prev-next span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.manual-prev-next strong {
  font-size: 18px;
}

.manual-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.manual-index-card {
  display: grid;
  min-height: 250px;
  padding: 18px;
}

.manual-index-card h2 {
  margin-top: 18px;
  font-size: 28px;
}

.manual-index-card p {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 720;
}

.localized-page-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(191, 255, 52, 0.28), rgba(255, 255, 255, 0.92)),
    var(--paper);
  box-shadow: 8px 8px 0 rgba(20, 20, 18, 0.1);
}

.localized-page-summary-copy p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 680;
  line-height: 1.7;
}

.localized-page-summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.localized-page-summary li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 620;
  line-height: 1.65;
}

.localized-page-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--ink);
}

.manual-index-actions {
  margin-top: auto;
  padding-top: 20px;
}

.resource-chip {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: #eef3ff;
  color: var(--blue);
  font-weight: 900;
}

.note-embed-placeholder {
  display: grid;
  gap: 6px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 16px;
  background: #f8f5ea;
}

.note-embed-placeholder strong {
  font-size: 16px;
}

.note-embed-placeholder span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.note-content a:not(.text-link):not(.resource-chip) {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.note-index-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.record-image {
  overflow: hidden;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}

.record-image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.record-image figcaption {
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.record-content a:not(.text-link):not(.resource-chip) {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notes-section {
  width: 100%;
  max-width: none;
  padding-right: max(14px, calc((100% - var(--max)) / 2));
  padding-left: max(14px, calc((100% - var(--max)) / 2));
  border-block: 2px solid var(--line-strong);
  background: #eef3d8;
}

.notes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.note-card {
  display: grid;
  min-height: 312px;
  padding: 18px;
}

.note-card:nth-child(2n) .card-label {
  background: #d8e4ff;
}

.note-card:nth-child(3n) .card-label {
  background: #ffd6bd;
}

.note-use {
  margin-top: 14px;
  border-left: 5px solid var(--teal);
  background: #f6f9eb;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.note-map {
  padding: 18px;
}

.note-map-head h3 {
  font-size: 32px;
}

.map-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.map-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  padding: 12px;
}

.map-row strong,
.map-row span {
  display: block;
}

.map-row strong {
  font-size: 16px;
}

.map-row span {
  margin-top: 6px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 950;
}

.map-row p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.coding-section {
  width: 100%;
  max-width: none;
  padding-right: max(14px, calc((100% - var(--max)) / 2));
  padding-left: max(14px, calc((100% - var(--max)) / 2));
  background: #f6f3e8;
}

.slide-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.coding-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-padding: 4px;
  scroll-snap-type: x mandatory;
  padding: 4px 0 18px;
  scrollbar-width: thin;
}

.coding-card {
  flex: 0 0 520px;
  max-width: 88%;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--line-strong);
  cursor: zoom-in;
}

.coding-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.coding-card figcaption {
  min-height: 150px;
  border-top: 2px solid var(--line-strong);
  padding: 16px;
}

.coding-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

.coding-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.08;
}

.coding-card p {
  margin-top: 8px;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-card {
  min-height: 210px;
  padding: 16px;
}

.project-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-section {
  width: 100%;
  max-width: none;
  padding-right: max(14px, calc((100% - var(--max)) / 2));
  padding-left: max(14px, calc((100% - var(--max)) / 2));
  background: #101310;
  color: var(--paper);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: none;
}

.gallery-section .gallery-heading p:last-child {
  color: rgba(255, 253, 246, 0.72);
}

.coding-section .gallery-heading p:last-child {
  color: var(--muted);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 40px;
  border: 1px solid rgba(255, 253, 246, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.08);
  color: var(--paper);
  padding: 0 13px;
  font-size: 14px;
  font-weight: 900;
}

.filter-button.active {
  border-color: var(--field);
  background: var(--field);
  color: var(--ink);
}

.coding-section .filter-button {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.gallery-grid {
  display: block;
  columns: 4 260px;
  column-gap: 8px;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 8px;
  break-inside: avoid;
  page-break-inside: avoid;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 246, 0.2);
  border-radius: var(--radius);
  background: #252821;
  cursor: zoom-in;
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(16),
.gallery-card:nth-child(24),
.gallery-card:nth-child(34) {
  grid-column: auto;
  aspect-ratio: auto;
}

.gallery-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(8, 9, 7, 0.88), rgba(8, 9, 7, 0));
  padding: 48px 14px 14px;
}

.gallery-card strong,
.gallery-card span {
  display: block;
}

.gallery-card strong {
  font-size: 18px;
}

.gallery-card span {
  color: rgba(255, 253, 246, 0.74);
  font-size: 13px;
}

.closing-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding-bottom: 88px;
}

.closing-copy {
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
  padding: 26px;
}

.closing-logo {
  display: block;
  width: min(220px, 70%);
  height: auto;
  margin-bottom: 22px;
}

.closing-copy .eyebrow,
.closing-copy p {
  color: var(--ink);
}

.closing-copy h2 {
  font-weight: 500;
}

.closing-section .eyebrow,
.closing-section :lang(en),
.closing-section :lang(ja) {
  font-weight: 400;
}

.closing-section .eyebrow {
  font-weight: 500;
}

.multilingual-copy {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.multilingual-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
}

.multilingual-copy strong {
  display: none;
}

.contact-copy {
  border-top: 1px solid rgba(16, 19, 16, 0.18);
  padding-top: 14px;
}

.closing-section .solid-button,
.closing-section .outline-button,
.closing-section .text-link {
  font-weight: 500;
}

.friend-link {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.82);
  padding: 14px 16px;
}

.friend-link span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.friend-link strong {
  overflow-wrap: anywhere;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.social-follow-panel {
  display: grid;
  gap: 14px;
}

.social-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px;
  box-shadow: 0 18px 42px rgba(16, 19, 16, 0.08);
}

.social-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(16, 19, 16, 0.12);
  border-radius: var(--radius);
  background: #fff;
  object-fit: contain;
}

.social-card h3 {
  margin: 8px 0 10px;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 34px;
  font-weight: 500;
  overflow-wrap: normal;
  word-break: keep-all;
}

.social-card p:not(.eyebrow),
.social-card-copy p {
  color: rgba(16, 19, 16, 0.72);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
}

.social-card-copy {
  display: grid;
  gap: 6px;
}

.social-card-copy p {
  margin: 0;
}

.social-card .text-link {
  display: inline-flex;
  margin-top: 12px;
}

.partner-section {
  padding-top: 0;
  padding-bottom: 92px;
}

.partner-section .section-heading {
  margin-bottom: 18px;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.partner-logo-card {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 96px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.partner-logo-card img {
  width: 100%;
  max-width: 164px;
  height: auto;
  aspect-ratio: 3 / 1;
  max-height: none;
  object-fit: contain;
}

.partner-logo-card span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.partner-logo-card::after {
  content: "";
  display: block;
  width: min(100%, 150px);
  height: 1px;
  margin-top: 12px;
  background: rgba(16, 19, 16, 0.12);
}

.partner-logo-card:hover::after {
  background: rgba(16, 19, 16, 0.28);
}

.partner-logo-card:hover img {
  transform: translateY(-2px);
}

.partner-logo-card img {
  transition: transform 160ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .partner-logo-card img {
    transition: none;
  }

  .partner-logo-card:hover img {
    transform: none;
  }
}

.source-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.source-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-weight: 900;
}

.source-list a::after {
  content: "↗";
  flex: 0 0 auto;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  transform: translateY(18px);
  opacity: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.lightbox {
  width: min(1020px, calc(100% - 28px));
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.lightbox img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  background: #111;
}

.lightbox p {
  padding: 12px 16px 16px;
  color: var(--muted);
  font-weight: 760;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 86px;
  }

  .section-heading h2,
  .closing-copy h2,
  .split-copy h2 {
    font-size: 44px;
  }

  .section-heading h2.nowrap-heading {
    font-size: 40px;
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .people-preview-grid,
  .people-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .source-grid,
  .audience-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closing-section {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 3 230px;
  }

  .manual-hero-copy h1 {
    font-size: 48px;
  }

  .manual-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(16),
  .gallery-card:nth-child(24),
  .gallery-card:nth-child(34) {
    grid-column: auto;
    aspect-ratio: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 88px;
    left: 14px;
    right: 14px;
    z-index: 39;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    border: 2px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 10px;
  }

  body.menu-open .mobile-nav {
    display: grid;
  }

  .mobile-nav a {
    padding: 12px;
    font-weight: 900;
  }

  .language-switcher button {
    min-height: 40px;
    padding: 0 8px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-copy {
    padding-top: 118px;
    padding-bottom: 108px;
  }

  h1 {
    font-size: 60px;
  }

  .hero-line {
    font-size: 24px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-strip {
    justify-content: flex-start;
  }

  .proof-band,
  .source-grid,
  .people-preview-grid,
  .people-directory-grid,
  .people-hero,
  .manual-grid,
  .notes-layout,
  .notes-grid,
  .process-grid,
  .process-detail,
  .question-list,
  .audience-row,
  .faq-list,
  .project-grid,
  .gallery-grid,
  .split-section,
  .day-panel,
  .closing-section,
  .gallery-heading {
    grid-template-columns: 1fr;
  }

  .proof-band {
    padding-top: 14px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .day-image img {
    min-height: 260px;
  }

  .social-card {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    justify-content: flex-start;
  }

  .gallery-grid {
    columns: 2 220px;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .manual-hero,
  .manual-layout,
  .manual-index-grid,
  .manual-grid-block,
  .manual-prev-next,
  .localized-page-summary {
    grid-template-columns: 1fr;
  }

  .manual-shell {
    padding-top: 18px;
  }

  .profile-layout,
  .profile-hero {
    grid-template-columns: 1fr;
  }

  .profile-aside {
    position: static;
  }

  .profile-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-avatar {
    width: 118px;
    height: 118px;
    font-size: 34px;
  }

  .manual-rail {
    position: static;
  }

  .manual-toc {
    display: none;
  }

  .manual-content {
    padding: 24px;
  }

  .manual-content table {
    min-width: 620px;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 58px;
  }

  .brand strong {
    max-width: 190px;
    font-size: 14px;
  }

  .brand small {
    font-size: 10px;
  }

  .brand-logo {
    width: 88px;
  }

  .brand-copy {
    padding-left: 8px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-media img {
    object-position: 54% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 9, 7, 0.86), rgba(8, 9, 7, 0.46)),
      linear-gradient(0deg, rgba(8, 9, 7, 0.78), transparent 48%);
  }

  .hero-copy {
    width: calc(100% - 24px);
    padding-top: 106px;
    padding-bottom: 118px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-line {
    font-size: 21px;
  }

  .hero-actions {
    display: grid;
  }

  .solid-button,
  .outline-button,
  .ghost-button {
    width: 100%;
  }

  .hero-strip {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-height: 76px;
    overflow: hidden;
  }

  .proof-band,
  .section {
    width: calc(100% - 24px);
  }

  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-logo-card img {
    max-width: 150px;
  }

  .proof-band strong {
    font-size: 34px;
  }

  .section-heading h2,
  .closing-copy h2,
  .split-copy h2,
  .process-brief h3,
  .note-map-head h3,
  .day-copy h3 {
    font-size: 32px;
  }

  .section-heading h2.nowrap-heading {
    font-size: 19px;
  }

  .section-heading p:last-child,
  .split-copy p,
  .closing-copy p {
    font-size: 16px;
  }

  .source-card,
  .manual-card,
  .note-card,
  .process-card,
  .audience-card {
    min-height: auto;
  }

  .day-copy,
  .closing-copy {
    padding: 18px;
  }

  .social-card {
    grid-template-columns: 1fr;
  }

  .social-card img {
    width: min(100%, 320px);
  }

  .social-card h3 {
    font-size: 28px;
  }

  .friend-link strong {
    font-size: 18px;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 0;
  }

  .gallery-grid {
    columns: 1;
  }

  .manual-shell {
    width: calc(100% - 24px);
  }

  .localized-page-summary {
    width: calc(100% - 24px);
    margin-bottom: 20px;
    padding: 18px;
  }

  .manual-hero-copy {
    min-height: auto;
    padding: 22px;
  }

  .manual-hero-copy h1 {
    font-size: 34px;
  }

  .people-hero-copy h1,
  .profile-hero-copy h1 {
    max-width: 100%;
    font-size: 33px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .people-hero-copy,
  .people-source-card,
  .people-toolbar,
  .profile-hero,
  .profile-main,
  .profile-aside {
    padding: 18px;
  }

  .people-hero {
    min-height: auto;
    padding: 18px;
  }

  .people-hero-copy {
    min-height: auto;
    padding: 0;
  }

  .people-source-card {
    width: 100%;
  }

  .people-source-card h2 {
    font-size: 30px;
  }

  .people-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-hero-stats span {
    min-width: 0;
  }

  .person-card a {
    min-height: auto;
  }

  .profile-intro-panel,
  .profile-topic-panel {
    padding: 18px;
  }

  .profile-mini-grid {
    grid-template-columns: 1fr;
  }

  .manual-hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .manual-hero-image img {
    min-height: 230px;
  }

  .manual-actions {
    display: grid;
  }

  .manual-content {
    padding: 18px;
  }

  .manual-content h1 {
    font-size: 28px;
  }

  .manual-content h2 {
    font-size: 22px;
  }

  .manual-callout {
    grid-template-columns: 1fr;
  }

  .manual-index-card {
    min-height: auto;
  }
}

@media (max-width: 360px) {
  .section-heading h2.nowrap-heading {
    font-size: 17px;
  }

  .manual-hero-copy h1 {
    font-size: 30px;
  }
}
