:root {
  --paper: #f4f5f2;
  --paper-deep: #e6e9e4;
  --ink: #171a18;
  --muted: #626964;
  --line: rgba(23, 26, 24, 0.16);
  --accent: #b43f29;
  --accent-soft: #ffc85a;
  --forest: #176b5a;
  --white: #ffffff;
  --shadow: 0 22px 56px -18px rgba(23, 26, 24, 0.24);
  --serif: Georgia, "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Simplified homepage: positioning → writing → projects → about. */
.home-minimal-hero {
  display: flex;
  min-height: 620px;
  padding-block: 120px 104px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.home-minimal-hero-copy {
  max-width: 1030px;
}

.home-minimal-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 7.2vw, 92px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-title-line {
  display: block;
  white-space: nowrap;
}

.home-minimal-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
}

.home-minimal-actions {
  display: flex;
  margin-top: 38px;
  gap: 12px;
}

.home-simple-section {
  padding-block: 108px;
  border-bottom: 1px solid var(--line);
}

.home-simple-heading {
  display: grid;
  margin-bottom: 54px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.5fr);
  gap: 48px;
}

.home-simple-heading h2,
.home-simple-about h2,
.home-simple-contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.home-simple-heading > p {
  max-width: 420px;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
}

.home-simple-heading .text-link {
  justify-self: end;
}

.home-featured-article {
  display: grid;
  min-height: 300px;
  padding: 52px 0;
  align-items: start;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 40px;
}

.home-featured-meta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.home-featured-meta span {
  color: var(--accent);
  font-weight: 700;
}

.home-featured-copy {
  max-width: 830px;
}

.home-featured-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.home-featured-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.home-article-arrow {
  color: var(--accent);
  font-size: 30px;
  transition: transform 160ms ease;
}

.home-featured-article:hover .home-article-arrow {
  transform: translate(4px, -4px);
}

.home-article-row {
  display: grid;
  padding: 28px 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 40px;
}

.home-article-row time {
  padding-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.home-article-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.home-article-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.home-article-row > span {
  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease;
}

.home-article-row:hover > span {
  color: var(--accent);
  transform: translateX(4px);
}

.home-project-list {
  border-top: 1px solid var(--ink);
}

.home-project-row {
  display: grid;
  min-height: 150px;
  padding: 34px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr) auto;
  gap: 42px;
}

.home-project-row > div {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.home-project-row span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.home-project-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.home-project-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.home-project-row strong {
  color: var(--forest);
  font-size: 12px;
  white-space: nowrap;
}

.home-simple-about {
  display: grid;
  padding-block: 108px;
  grid-template-columns: 0.45fr 1fr;
  gap: 90px;
}

.home-simple-about-copy {
  max-width: 720px;
}

.home-simple-about-copy > p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.75;
}

.home-simple-about-links {
  display: flex;
  margin-top: 30px;
  gap: 28px;
}

.home-simple-contact {
  padding-block: 92px;
  color: #fff;
  background: #171a18;
}

.home-simple-contact .shell {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr) auto;
  gap: 54px;
}

.home-simple-contact h2 {
  color: #fff;
  font-size: clamp(36px, 4.2vw, 54px);
}

.home-simple-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 900px) {
  .home-simple-heading,
  .home-simple-about,
  .home-simple-contact .shell {
    grid-template-columns: 1fr;
  }

  .home-simple-heading > p,
  .home-simple-heading .text-link {
    justify-self: start;
  }

  .home-featured-article,
  .home-article-row {
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 24px;
  }

  .home-project-row {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr) auto;
    gap: 28px;
  }

  .home-simple-about {
    gap: 42px;
  }

  .home-simple-contact .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .home-minimal-hero {
    min-height: 0;
    padding-block: 84px 72px;
  }

  .home-minimal-hero h1 {
    font-size: 44px;
  }

  .home-minimal-lead {
    margin-top: 26px;
    font-size: 17px;
  }

  .home-minimal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-simple-section,
  .home-simple-about {
    padding-block: 76px;
  }

  .home-simple-heading {
    margin-bottom: 38px;
    gap: 22px;
  }

  .home-simple-heading h2,
  .home-simple-about h2 {
    font-size: 40px;
  }

  .home-featured-article {
    min-height: 0;
    padding: 36px 0 42px;
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  .home-featured-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 14px;
  }

  .home-featured-copy h3 {
    font-size: 34px;
  }

  .home-article-row {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 16px;
  }

  .home-article-row p {
    display: none;
  }

  .home-project-row {
    padding: 30px 0;
    grid-template-columns: 1fr auto;
    gap: 16px 24px;
  }

  .home-project-row > div,
  .home-project-row p {
    grid-column: 1 / -1;
  }

  .home-project-row strong {
    grid-column: 1 / -1;
  }

  .home-simple-about-copy > p {
    font-size: 20px;
  }

  .home-simple-contact {
    padding-block: 70px;
  }
}

:root[data-theme="dark"] {
  --paper: #121513;
  --paper-deep: #1d211e;
  --ink: #edf1eb;
  --muted: #a6afa9;
  --line: rgba(237, 241, 235, 0.16);
  --accent: #ff7658;
  --accent-soft: #ffd16f;
  --forest: #76c7b5;
  --white: #1b1f1c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.reading-shell {
  width: min(820px, calc(100% - 48px));
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  color: #fff;
  background: var(--forest);
  border-radius: 4px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav a {
  position: relative;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}

.theme-toggle {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--paper-deep);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-toggle {
  display: grid;
  min-width: 44px;
  height: 44px;
  padding-inline: 10px;
  place-items: center;
  color: var(--ink) !important;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: var(--paper-deep);
}

.hero {
  display: grid;
  min-height: 680px;
  padding-block: 100px 82px;
  align-items: center;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: 90px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1,
.page-intro h1,
.post-header h1,
.not-found h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.22;
}

.hero h1 {
  max-width: 740px;
  font-size: 76px;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  color: var(--forest);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  position: absolute;
  right: -3px;
  bottom: 2px;
  left: -3px;
  z-index: -1;
  height: 12px;
  background: var(--accent-soft);
  content: "";
  opacity: 0.72;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  margin-top: 40px;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 37, 30, 0.12);
}

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

.button.secondary {
  background: transparent;
}

.button.light {
  color: #171a18;
  background: #ffffff;
  border-color: #ffffff;
}

.profile-intro {
  padding-block: 68px 48px;
  border-bottom: 1px solid var(--line);
}

.profile-intro h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: 82px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.profile-intro h1 span {
  display: block;
  margin-top: 14px;
  color: var(--forest);
  font-size: 28px;
  font-weight: 500;
}

.profile-lead {
  max-width: 780px;
  margin: 28px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
}

.profile-actions {
  display: flex;
  margin-top: 28px;
  gap: 12px;
}

.profile-facts {
  display: grid;
  margin: 42px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.profile-facts div {
  min-width: 0;
}

.profile-facts dt {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.profile-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.featured-work {
  padding-block: 112px 20px;
}

.project-showcase {
  display: grid;
  padding-block: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 64px;
}

.project-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.project-copy h3,
.secondary-work h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
}

.project-copy > p:not(.project-label) {
  margin: 20px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.85;
}

.project-points {
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.project-points li + li {
  margin-top: 7px;
}

.project-links {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 22px;
}

.project-visual {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.project-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.secondary-work {
  display: grid;
  padding-block: 36px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.65fr 1.25fr auto;
  gap: 36px;
}

.secondary-work h3 {
  font-size: 27px;
}

.secondary-work p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 0.88;
  justify-self: end;
  overflow: hidden;
  background: var(--forest);
  border-radius: 44% 44% 12px 12px;
  box-shadow: var(--shadow);
}

.hero-card::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 45% 45% 4px 4px;
  content: "";
}

.hero-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: 150px;
  font-weight: 600;
  line-height: 1;
  transform: translate(-50%, -52%);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 76%;
  height: 42%;
  transform: translate(-50%, -50%) rotate(28deg);
}

.orbit-two {
  width: 76%;
  height: 42%;
  transform: translate(-50%, -50%) rotate(-28deg);
}

.topic {
  position: absolute;
  z-index: 3;
  padding: 7px 12px;
  color: #fff;
  background: rgba(16, 40, 28, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0;
  backdrop-filter: blur(10px);
}

.topic-one { top: 23%; left: 7%; }
.topic-two { right: 5%; bottom: 25%; }
.topic-three { bottom: 9%; left: 17%; }

.principles {
  display: grid;
  padding-block: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  display: grid;
  padding: 0 38px;
  grid-template-columns: 38px 1fr;
  column-gap: 8px;
}

.principle:first-child { padding-left: 0; }
.principle:last-child { padding-right: 0; }
.principle + .principle { border-left: 1px solid var(--line); }

.principle > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.principle h2 {
  margin: -5px 0 4px;
  font-family: var(--serif);
  font-size: 22px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  grid-column: 2;
}

.latest {
  padding-block: 120px;
}

.section-heading {
  display: flex;
  margin-bottom: 40px;
  align-items: end;
  justify-content: space-between;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2,
.subscribe h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
}

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}

.text-link span {
  margin-left: 18px;
}

.post-row {
  display: grid;
  padding: 34px 0;
  align-items: center;
  border-top: 1px solid var(--line);
  grid-template-columns: 100px minmax(0, 1fr) 46px;
  gap: 30px;
}

.post-row:last-child {
  border-bottom: 1px solid var(--line);
}

.post-row time {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.post-row time span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.post-row-tags {
  display: flex;
  margin-bottom: 7px;
  gap: 7px;
}

.post-row-tags span {
  color: var(--forest);
  font-size: 11px;
  font-weight: 500;
}

.post-row h3,
.archive-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.post-row h3 a,
.archive-item h3 a {
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 7px;
  transition: background-size 180ms ease;
}

.post-row h3 a:hover,
.archive-item h3 a:hover {
  background-size: 100% 7px;
}

.post-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.post-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 180ms ease, color 180ms ease;
}

.post-arrow:hover {
  color: var(--paper);
  background: var(--ink);
}

.subscribe {
  display: flex;
  margin-bottom: 120px;
  padding: 64px 72px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--forest);
  border-radius: 8px;
}

.subscribe .eyebrow {
  margin-bottom: 8px;
  color: var(--accent-soft);
}

.subscribe p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 70px 0 24px;
  color: var(--muted);
  background: var(--paper-deep);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.footer-title {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.footer-grid p:last-child {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  margin-top: 58px;
  padding-top: 20px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0;
}

.page-intro {
  padding-block: 112px 72px;
  border-bottom: 1px solid var(--line);
}

.page-intro .eyebrow {
  margin-bottom: 12px;
}

.page-intro h1 {
  font-size: 72px;
}

.page-deck {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 20px;
}

.about-grid {
  display: grid;
  padding-block: 80px 130px;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 72px;
}

.about-aside p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.7;
  text-transform: uppercase;
}

.portrait-placeholder {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  color: var(--accent-soft);
  background: var(--forest);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 72px;
}

.prose {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
}

.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  margin: 0 0 1.6em;
}

.prose h2 {
  margin: 2.5em 0 0.8em;
  font-size: 28px;
  line-height: 1.45;
}

.prose h3 {
  margin: 2em 0 0.7em;
  font-size: 22px;
}

.prose a {
  border-bottom: 1px solid var(--accent);
}

.prose strong {
  color: var(--forest);
  font-weight: 700;
}

.prose blockquote {
  padding: 6px 0 6px 24px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
}

.prose code {
  padding: 2px 5px;
  background: var(--paper-deep);
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
}

.prose pre {
  overflow-x: auto;
  padding: 22px;
  background: var(--paper-deep);
  border-radius: 5px;
}

.prose pre code {
  padding: 0;
  background: transparent;
}

.post {
  padding-block: 100px 130px;
}

.post-header {
  margin-bottom: 64px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-bottom: 25px;
}

.post-header h1 {
  font-size: 60px;
  text-wrap: balance;
}

.post-subtitle {
  margin: 20px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 20px;
  text-wrap: balance;
}

.post-meta {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 12px;
}

.post-tags {
  display: inline-flex;
  gap: 10px;
  color: var(--forest);
}

.post-end {
  display: flex;
  margin-top: 80px;
  padding-top: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  gap: 18px;
  font-size: 13px;
}

.post-end-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
}

.post-end strong {
  font-family: var(--serif);
}

.post-end p {
  margin: 1px 0 0;
  color: var(--muted);
}

.post-end-copy {
  min-width: 0;
}

.support-link {
  display: inline-flex;
  min-height: 40px;
  margin-left: auto;
  padding: 0 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.support-link:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-1px);
}

.support-link span {
  color: var(--accent);
  font-size: 16px;
}

.support-page {
  padding-block: 72px 130px;
}

.support-intro {
  max-width: 720px;
  margin-bottom: 52px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
}

.support-intro p {
  margin: 0;
}

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

.qr-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(30, 45, 35, 0.06);
}

.qr-card-heading {
  display: flex;
  margin-bottom: 26px;
  align-items: start;
  gap: 16px;
}

.qr-card-heading .eyebrow {
  margin: 0 0 3px;
  font-size: 10px;
}

.qr-card-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.qr-index {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--forest);
  background: var(--paper-deep);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}

.qr-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23, 37, 30, 0.1);
  border-radius: 6px;
}

.qr-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.785;
  object-fit: contain;
}

.qr-card-tip .qr-frame img {
  aspect-ratio: 0.737;
}

.qr-note {
  min-height: 54px;
  margin: 22px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.qr-download {
  display: flex;
  padding-top: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}

.qr-download:hover {
  color: var(--forest);
}

.qr-download span {
  color: var(--accent);
  font-size: 18px;
}

.support-privacy {
  display: flex;
  margin-top: 34px;
  padding: 18px 22px;
  align-items: start;
  color: var(--muted);
  background: var(--paper-deep);
  border-radius: 5px;
  gap: 12px;
  font-size: 12px;
}

.support-privacy span {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.35;
}

.support-privacy p {
  margin: 0;
}

.archive {
  padding-block: 85px 130px;
}

.archive-year {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 40px;
}

.archive-year + .archive-year {
  margin-top: 72px;
}

.archive-year > h2 {
  margin: 8px 0 0;
  color: var(--forest);
  font-size: 14px;
  font-weight: 600;
}

.archive-item {
  display: grid;
  padding: 26px 0;
  align-items: center;
  border-top: 1px solid var(--line);
  grid-template-columns: 90px minmax(0, 1fr) 42px;
  gap: 24px;
}

.archive-item:last-child {
  border-bottom: 1px solid var(--line);
}

.archive-item time {
  color: var(--muted);
  font-size: 12px;
}

.archive-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.not-found {
  min-height: 68vh;
  padding-block: 120px;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--accent);
  font-size: 160px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.8;
}

.not-found h1 {
  margin-top: 35px;
  font-size: 38px;
}

.not-found p:not(.error-code) {
  margin: 18px auto 30px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .profile-facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .secondary-work {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero {
    min-height: auto;
    padding-block: 74px;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-card {
    width: min(100%, 520px);
    aspect-ratio: 1.25;
    justify-self: stretch;
    border-radius: 48% 48% 12px 12px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle {
    padding: 26px 0;
  }

  .principle:first-child { padding-top: 0; }
  .principle:last-child { padding-bottom: 0; }
  .principle + .principle { border-top: 1px solid var(--line); border-left: 0; }

  .subscribe {
    padding: 52px;
  }
}

@media (max-width: 680px) {
  .shell,
  .reading-shell {
    width: min(100% - 32px, 1160px);
  }

  .nav-wrap {
    min-height: 66px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    gap: 18px;
  }

  .hero {
    padding-block: 60px;
  }

  .profile-intro {
    padding-block: 72px 48px;
  }

  .profile-intro h1 {
    font-size: 58px;
  }

  .profile-intro h1 span {
    display: block;
    margin-top: 14px;
    font-size: 22px;
  }

  .profile-lead {
    margin-top: 28px;
    font-size: 18px;
  }

  .profile-actions,
  .project-links {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-facts {
    margin-top: 48px;
  }

  .featured-work {
    padding-top: 80px;
  }

  .project-showcase {
    padding-block: 34px;
    gap: 38px;
  }

  .project-copy h3 {
    font-size: 38px;
  }

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

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-card {
    aspect-ratio: 0.96;
  }

  .hero-monogram {
    font-size: 120px;
  }

  .latest {
    padding-block: 82px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .post-row {
    padding: 28px 0;
    align-items: start;
    grid-template-columns: 1fr 40px;
    gap: 10px 16px;
  }

  .post-row time {
    grid-column: 1 / -1;
  }

  .post-row-main {
    grid-column: 1;
  }

  .post-row .post-arrow {
    grid-column: 2;
    grid-row: 2;
  }

  .subscribe {
    margin-bottom: 80px;
    padding: 42px 28px;
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
  }

  .page-intro {
    padding-block: 74px 52px;
  }

  .about-grid {
    padding-block: 58px 90px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-aside {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .portrait-placeholder {
    width: 90px;
    font-size: 38px;
  }

  .post {
    padding-block: 70px 90px;
  }

  .post-header {
    margin-bottom: 44px;
  }

  .post-header h1 {
    font-size: 42px;
    line-height: 1.25;
  }

  .post-subtitle {
    font-size: 18px;
  }

  .post-end {
    align-items: start;
    flex-wrap: wrap;
  }

  .support-link {
    width: 100%;
    margin-top: 8px;
    margin-left: 60px;
    justify-content: space-between;
  }

  .support-page {
    padding-block: 54px 90px;
  }

  .support-intro {
    margin-bottom: 34px;
    font-size: 16px;
  }

  .qr-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    padding: 24px;
  }

  .qr-note {
    min-height: 0;
  }

  .archive {
    padding-block: 60px 90px;
  }

  .archive-year {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .archive-item {
    grid-template-columns: 1fr 40px;
    gap: 8px 12px;
  }

  .archive-item time {
    grid-column: 1 / -1;
  }

  .archive-item .post-arrow {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Homepage 2026: narrative-led portfolio */

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

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.menu-toggle svg,
.theme-icon,
.post-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 4px;
}

.home-hero {
  display: flex;
  min-height: 590px;
  padding-block: clamp(96px, 12vw, 164px) 88px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.home-hero-copy {
  max-width: 1040px;
}

.home-hero h1 {
  max-width: 1020px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 7.1vw, 88px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

.home-hero p {
  max-width: 760px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.8;
}

.home-hero .eyebrow {
  margin: 0 0 24px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-hero .home-proofline {
  max-width: none;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.home-actions {
  display: flex;
  margin-top: 36px;
  gap: 12px;
}

@media (min-width: 681px) {
  html[lang^="en"] .home-hero h1 {
    max-width: 1100px;
    font-size: clamp(52px, 6vw, 76px);
  }
}

.proof-ribbon {
  display: grid;
  padding-block: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.proof-item {
  position: relative;
  min-height: 260px;
  padding: 48px 38px 42px;
}

.proof-item:first-of-type {
  padding-left: 0;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-item::before {
  position: absolute;
  top: 0;
  left: 38px;
  width: 56px;
  height: 4px;
  background: var(--accent);
  content: "";
}

.proof-item:first-of-type::before {
  left: 0;
}

.proof-consumer::before {
  background: var(--forest);
}

.proof-hardware::before {
  background: var(--accent-soft);
}

.proof-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.proof-item p {
  margin: 18px 0 24px;
  color: var(--muted);
  line-height: 1.75;
}

.proof-item span {
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
}

.building,
.knowledge,
.home-about {
  padding-block: 124px;
}

.building-intro {
  display: grid;
  margin-bottom: 68px;
  align-items: end;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 72px;
}

.building-intro h2,
.home-section-heading h2,
.home-about h2,
.home-closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.building-intro p,
.home-section-heading p,
.home-about p,
.home-closing p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.build-feature {
  display: grid;
  margin-bottom: 88px;
  align-items: center;
  grid-template-columns: minmax(300px, 0.72fr) minmax(440px, 1.28fr);
  gap: clamp(54px, 7vw, 92px);
}

.build-status {
  display: flex;
  margin-bottom: 24px;
  gap: 8px;
}

.build-status span {
  padding: 5px 9px;
  color: var(--forest);
  background: color-mix(in srgb, var(--forest) 9%, transparent);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.build-feature h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.build-feature-copy > p {
  margin: 24px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.build-feature ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.build-feature li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.build-feature li::before {
  position: absolute;
  top: 18px;
  left: 1px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  content: "";
}

.build-links {
  display: flex;
  margin-top: 32px;
  align-items: center;
  gap: 24px;
}

.build-artifact {
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.build-artifact:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 66px -20px rgba(23, 26, 24, 0.3);
}

.build-artifact img {
  display: block;
  width: 100%;
  height: auto;
}

.build-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.build-flow > article {
  padding: 42px 32px 44px;
}

.build-flow > article:first-child {
  padding-left: 0;
}

.build-flow > article:last-child {
  padding-right: 0;
}

.build-flow > article + article {
  border-left: 1px solid var(--line);
}

.build-stage-meta {
  display: flex;
  margin-bottom: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.build-stage-meta strong {
  color: var(--accent);
  font-weight: 600;
}

.build-flow h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
}

.build-flow article > p {
  margin: 18px 0 0;
  color: var(--muted);
}

.build-flow .build-now {
  color: var(--ink);
  font-size: 14px;
}

.build-card-links {
  display: flex;
  margin-top: 24px;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.build-card-links .button {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 12px;
}

.knowledge {
  border-top: 1px solid var(--line);
}

.home-section-heading {
  margin-bottom: 58px;
}

.home-section-heading p {
  margin-top: 14px;
}

.knowledge-paths {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-top: 1px solid var(--line);
}

.knowledge-path {
  min-height: 280px;
  padding: 38px 42px 40px 0;
  border-bottom: 1px solid var(--line);
}

.knowledge-path:nth-child(even) {
  padding-right: 0;
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.knowledge-path > span {
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
}

.knowledge-path h3 {
  max-width: 580px;
  margin: 24px 0 18px;
  font-family: var(--serif);
  font-size: clamp(27px, 3.2vw, 39px);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

.knowledge-path p {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--muted);
}

.knowledge-path strong {
  display: block;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
}

.knowledge-path:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-decoration-thickness: 7px;
  text-underline-offset: -3px;
  text-decoration-skip-ink: none;
}

.knowledge-path-quiet h3 {
  font-size: clamp(24px, 2.8vw, 34px);
}

.latest {
  padding-block: 124px;
  border-top: 1px solid var(--line);
}

.post-arrow svg {
  width: 18px;
  height: 18px;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
  gap: clamp(64px, 9vw, 130px);
  border-top: 1px solid var(--line);
}

.home-about > div {
  align-self: end;
}

.home-about .text-link {
  display: inline-block;
  margin-top: 30px;
}

.home-closing {
  display: grid;
  margin-bottom: 120px;
  color: #fff;
  background: #145747;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.home-closing-main {
  padding: 72px clamp(44px, 7vw, 86px);
}

.home-closing h2 {
  font-size: clamp(40px, 5vw, 58px);
}

.home-closing p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.home-closing .button {
  margin-top: 34px;
}

.home-closing-secondary {
  display: flex;
  padding: 72px 50px;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.home-closing-secondary h3 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 22px;
}

.home-closing-secondary a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
}

.home-closing-secondary a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.beliefs,
.now-section {
  padding-block: 124px;
  border-bottom: 1px solid var(--line);
}

.beliefs-intro {
  display: grid;
  margin-bottom: 58px;
  align-items: end;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 72px;
}

.beliefs-intro h2,
.now-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.beliefs-intro p,
.now-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.belief-card {
  min-height: 300px;
  padding: 42px 42px 44px 0;
  border-bottom: 1px solid var(--line);
}

.belief-card:nth-child(even) {
  padding-right: 0;
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.belief-card > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.belief-card h3 {
  max-width: 520px;
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.28;
}

.belief-card p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.method-steps {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: method;
}

.method-steps li {
  display: grid;
  padding: 16px 0;
  align-items: baseline;
  border-top: 1px solid var(--line);
  counter-increment: method;
  grid-template-columns: 32px 110px minmax(0, 1fr);
  gap: 14px;
}

.method-steps li::before {
  color: var(--accent);
  content: "0" counter(method);
  font-size: 11px;
  font-weight: 700;
}

.method-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.method-steps strong {
  font-family: var(--serif);
  font-size: 17px;
}

.method-steps span {
  color: var(--muted);
  font-size: 14px;
}

.now-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(54px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.now-grid article {
  padding: 30px 32px 0 0;
}

.now-grid article + article {
  padding-right: 0;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.now-grid h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

/* About: selected product map */

.about-grid.reading-shell {
  width: min(1060px, calc(100% - 48px));
  grid-template-columns: 180px minmax(0, 1fr);
}

.about-aside {
  align-self: start;
  position: sticky;
  top: 112px;
}

.about-aside .about-name {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.about-aside ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-aside li {
  padding: 10px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
}

.about-aside li:last-child {
  border-bottom: 1px solid var(--line);
}

.product-map {
  margin: 44px 0 68px;
  font-family: var(--sans);
}

.product-domain {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.product-domain:last-child {
  border-bottom: 1px solid var(--line);
}

.product-domain-heading {
  margin-bottom: 36px;
}

.product-domain-heading p {
  margin: -7px 0 5px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
}

.product-domain-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
}

.product-ledger {
  display: grid;
  padding: 28px 0 0 74px;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
}

.product-role {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-role strong {
  color: var(--accent);
  font-size: 13px;
}

.product-role span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.product-items article {
  padding-bottom: 24px;
}

.product-items h4,
.product-layer-flow h4,
.data-product-line h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.product-items p,
.product-layer-flow p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.product-ledger-secondary {
  margin-top: 2px;
  padding-bottom: 4px;
}

.product-participation {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
}

.product-layer-flow {
  display: grid;
  margin-left: 74px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.product-layer-flow article {
  min-height: 230px;
  padding: 25px 24px 0 0;
}

.product-layer-flow article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.product-layer-flow span,
.data-product-line span {
  display: block;
  margin-bottom: 24px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 600;
}

.data-product-line {
  display: grid;
  margin-left: 74px;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-product-line article {
  min-height: 160px;
  padding: 25px 24px;
}

.data-product-line article:first-child {
  padding-left: 0;
}

.data-product-line article + article {
  border-left: 1px solid var(--line);
}

@media (max-width: 980px) {
  .home-hero {
    min-height: 520px;
  }

  .proof-ribbon {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-of-type {
    min-height: 0;
    padding: 38px 0;
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .proof-item::before,
  .proof-item:first-of-type::before {
    top: 0;
    left: 0;
  }

  .building-intro,
  .beliefs-intro,
  .build-feature,
  .home-about,
  .now-section {
    grid-template-columns: 1fr;
  }

  .building-intro,
  .beliefs-intro {
    gap: 30px;
  }

  .build-feature {
    gap: 56px;
  }

  .build-flow {
    grid-template-columns: 1fr;
  }

  .build-flow > article,
  .build-flow > article:first-child,
  .build-flow > article:last-child,
  .build-flow > article + article {
    padding: 34px 0;
    border-left: 0;
  }

  .build-flow > article + article {
    border-top: 1px solid var(--line);
  }

  .build-artifact {
    grid-row: 1;
  }

  .home-about {
    gap: 40px;
  }

  .now-section {
    gap: 46px;
  }

  .about-grid.reading-shell {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 48px;
  }

  .product-layer-flow,
  .data-product-line {
    grid-template-columns: 1fr;
  }

  .product-layer-flow article,
  .product-layer-flow article + article,
  .data-product-line article,
  .data-product-line article:first-child {
    min-height: 0;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-layer-flow article:first-child,
  .data-product-line article:first-child {
    border-top: 0;
  }
}

@media (max-width: 680px) {
  body.nav-open {
    overflow: hidden;
  }

  .brand span:last-child {
    display: inline;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(23, 26, 24, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-top: 1px solid var(--line);
  }

  .nav a[aria-current="page"]::after {
    display: none;
  }

  .theme-toggle {
    margin-top: 0;
  }

  .nav-tools {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .nav-tools .language-toggle {
    display: grid;
    min-height: 44px;
    border: 1px solid var(--line);
  }

  .home-hero {
    min-height: auto;
    padding-block: 70px 64px;
  }

  .home-hero h1 {
    font-size: clamp(40px, 12vw, 52px);
    letter-spacing: -0.025em;
  }

  .home-hero p {
    margin-top: 28px;
    font-size: 16px;
  }

  .home-actions,
  .build-links,
  .build-card-links {
    align-items: stretch;
    flex-direction: column;
  }

  .home-actions .button,
  .build-links .button,
  .build-card-links .button {
    width: 100%;
  }

  .proof-item h3 {
    font-size: 22px;
  }

  .building,
  .beliefs,
  .knowledge,
  .latest,
  .home-about,
  .now-section {
    padding-block: 82px;
  }

  .building-intro {
    margin-bottom: 48px;
  }

  .building-intro h2,
  .beliefs-intro h2,
  .home-section-heading h2,
  .home-about h2,
  .now-heading h2 {
    font-size: 40px;
  }

  .belief-grid,
  .now-grid {
    grid-template-columns: 1fr;
  }

  .belief-card,
  .belief-card:nth-child(even) {
    min-height: 0;
    padding: 34px 0 38px;
    border-left: 0;
  }

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

  .method-steps li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .method-steps span {
    grid-column: 2;
  }

  .now-grid article,
  .now-grid article + article {
    padding: 28px 0;
    border-left: 0;
  }

  .now-grid article + article {
    border-top: 1px solid var(--line);
  }

  .build-feature {
    margin-bottom: 62px;
  }

  .build-feature h3 {
    font-size: 48px;
  }

  .build-flow {
    grid-template-columns: 1fr;
  }

  .build-flow > article,
  .build-flow > article + article {
    padding: 34px 0;
    border-left: 0;
  }

  .build-flow > article + article {
    border-top: 1px solid var(--line);
  }

  .home-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }

  .knowledge-paths {
    grid-template-columns: 1fr;
  }

  .knowledge-path,
  .knowledge-path:nth-child(even) {
    min-height: 0;
    padding: 34px 0 38px;
    border-left: 0;
  }

  .knowledge-path h3,
  .knowledge-path-quiet h3 {
    font-size: 29px;
  }

  .home-closing {
    margin-bottom: 80px;
    grid-template-columns: 1fr;
  }

  .home-closing-main,
  .home-closing-secondary {
    padding: 48px 28px;
  }

  .home-closing-secondary {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .about-grid.reading-shell {
    width: min(100% - 32px, 1060px);
    grid-template-columns: 1fr;
  }

  .about-aside {
    position: static;
    display: block;
  }

  .about-aside ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .about-aside li,
  .about-aside li:last-child {
    padding: 5px 0;
    border: 0;
  }

  .product-domain {
    padding: 38px 0;
  }

  .product-domain-heading {
    margin-bottom: 30px;
  }

  .product-domain-heading h3 {
    font-size: 26px;
  }

  .product-ledger {
    padding: 24px 0 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-role {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }

  .product-layer-flow,
  .data-product-line {
    margin-left: 0;
  }
}

/* ===== Series landing pages ===== */
.series-hero {
  padding-block: 108px 88px;
  border-bottom: 1px solid var(--line);
}

.series-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.series-deck {
  max-width: 72ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
}

.series-block {
  padding-block: 88px;
  border-bottom: 1px solid var(--line);
}

.series-block-heading h2 {
  margin: 0 0 40px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

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

.series-thesis-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}

.series-thesis-num {
  padding-top: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.series-thesis-list h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.series-thesis-list p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}

.series-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 38px;
  background: var(--paper-deep);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.18s ease;
}

.series-entry:hover {
  background: #dfe4dc;
}

.series-entry-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.series-entry h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.series-entry p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.series-entry-arrow {
  flex-shrink: 0;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.series-entry:hover .series-entry-arrow {
  transform: translate(3px, -3px);
}

.series-article-list {
  margin-top: 14px;
}

.series-article-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 28px;
  gap: 24px;
  align-items: baseline;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.series-article-row time {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.series-article-row h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.series-article-row p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.series-article-row > span {
  color: var(--muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.series-article-row:hover h3 {
  color: var(--accent);
}

.series-article-row:hover > span {
  color: var(--ink);
  transform: translateX(3px);
}

.series-path-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.series-path-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}

.series-path-list li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
}

.series-path-list p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
}

.series-path-list a {
  color: var(--accent);
}

.series-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 80px;
  padding-block: 0 96px;
  background: var(--line);
}

.series-nav-link {
  display: block;
  padding: 30px 34px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease;
}

.series-nav-link:hover {
  background: var(--paper-deep);
}

.series-nav-link span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.series-nav-link strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

@media (max-width: 680px) {
  .series-hero {
    padding-block: 72px 56px;
  }

  .series-block {
    padding-block: 64px;
  }

  .series-thesis-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .series-thesis-list h3 {
    font-size: 21px;
  }

  .series-entry {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 26px 24px;
  }

  .series-entry h3 {
    font-size: 22px;
  }

  .series-article-row {
    grid-template-columns: 56px minmax(0, 1fr) 20px;
    gap: 14px;
  }

  .series-article-row h3 {
    font-size: 18px;
  }

  .series-nav {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Research Topic Hub
   ============================================================ */
.hub-toc {
  position: sticky;
  top: 76px;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.hub-toc-inner {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-block: 16px;
  scrollbar-width: none;
}

.hub-toc-inner::-webkit-scrollbar { display: none; }

.hub-toc a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.hub-toc a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hub-wrap {
  padding-block: 24px 120px;
}

.hub-section {
  padding-block: 76px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}

.hub-section:first-of-type { padding-top: 56px; }

.hub-section-head {
  display: grid;
  margin-bottom: 34px;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 26px;
}

.hub-section-num {
  padding-top: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hub-section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.hub-section-head h2 em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.hub-body {
  max-width: 760px;
}

.hub-body p,
.hub-body ul {
  margin: 0 0 1.5em;
}

.hub-body p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
}

.hub-body ul {
  padding-left: 22px;
}

.hub-body li {
  margin-bottom: 0.9em;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.85;
}

.hub-body li::marker {
  color: var(--accent);
}

.hub-body a {
  border-bottom: 1px solid var(--accent);
}

.hub-label {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  color: var(--forest);
  background: var(--paper-deep);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: 2px;
  white-space: nowrap;
}

.hub-label[data-kind="judgment"] {
  color: var(--accent);
}

.hub-label[data-kind="open"] {
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
}

.hub-callout {
  margin: 28px 0 8px;
  padding: 22px 26px;
  background: var(--paper-deep);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}

.hub-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
}

.hub-callout p {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
}

.hub-layer-list {
  margin: 26px 0 30px;
  border-top: 1px solid var(--ink);
}

.hub-layer {
  display: grid;
  padding: 20px 0;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.hub-layer span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.hub-layer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.hub-table {
  width: 100%;
  margin: 8px 0 30px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.6;
}

.hub-table th {
  padding: 12px 14px;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.hub-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.hub-table tr:last-child td {
  border-bottom: 0;
}

.hub-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.hub-research-grid {
  display: grid;
  margin: 8px 0 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hub-research-card {
  display: block;
  padding: 24px 26px;
  background: var(--paper-deep);
  border: 1px solid transparent;
  border-radius: 6px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.hub-research-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hub-research-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.hub-research-card p {
  margin: 10px 0 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.7;
}

.hub-research-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.hub-sub {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.hub-log {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hub-log li {
  margin-bottom: 10px;
  padding-left: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.7;
}

.hub-log li::marker { content: none; }

.hub-log time {
  display: inline-block;
  margin-right: 10px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hub-log a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hub-log a:hover {
  border-bottom-color: var(--accent);
}

.hub-note {
  color: var(--muted);
  font-size: 13.5px;
}

.hub-sources .hub-log li {
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .hub-toc { top: 66px; }

  .hub-section-head {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
  }

  .hub-section-head h2 { font-size: 28px; }

  .hub-layer {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 22px;
  }

  .hub-research-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hub-toc { top: 66px; }

  .hub-wrap { padding-block: 8px 80px; }

  .hub-section { padding-block: 56px; }

  .hub-section-head {
    display: block;
    margin-bottom: 26px;
  }

  .hub-section-num { display: block; padding-top: 0; margin-bottom: 10px; }

  .hub-section-head h2 { font-size: 25px; }

  .hub-body p,
  .hub-body li { font-size: 16px; }

  .hub-layer { display: block; }

  .hub-layer span { display: block; margin-bottom: 8px; }

  .hub-table { display: block; overflow-x: auto; white-space: nowrap; }

  .hub-callout { padding: 18px 20px; }
}

/* Research section index links */
.hub-index-links {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-top: 28px;
  flex-wrap: wrap;
}

.hub-index-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--forest);
}

.hub-index-links a span {
  color: var(--accent);
  transition: transform 160ms ease;
}

.hub-index-links a:hover span {
  transform: translateX(4px);
}

.hub-index-soon {
  color: var(--muted);
  font-size: 12.5px;
}

/* ============================================================
   Current campaign: Agent Capability Economy (2026-08-18)
   Homepage focus banner, three-asset grid, campaign page,
   capability index page.
   ============================================================ */

/* --- Homepage: current focus banner --- */
.focus-banner {
  margin-block: -1px 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--paper-deep);
}

.focus-banner-grid {
  display: grid;
  padding-block: 56px;
  align-items: start;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 64px;
}

.focus-banner h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.focus-banner-thesis {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.focus-banner-links {
  display: flex;
  margin-top: 32px;
  gap: 12px;
  flex-wrap: wrap;
}

.focus-banner-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.focus-banner-side p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.focus-banner-side .focus-chain {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12.5px;
  line-height: 2;
}

/* --- Homepage: three-asset grid (Traffic / Authority / Identity) --- */
.asset-grid {
  display: grid;
  margin-top: 8px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.asset-card {
  display: flex;
  min-height: 260px;
  padding: 30px 28px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.asset-card:hover {
  transform: translateY(-3px);
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.asset-card-type {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.asset-card h3 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

.asset-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.asset-card .asset-card-link {
  margin-top: auto;
  padding-top: 20px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
}

.asset-card .asset-card-link span {
  color: var(--accent);
}

/* --- Campaign page --- */
.campaign-section {
  padding-block: 92px;
  border-bottom: 1px solid var(--line);
}

.campaign-section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.campaign-section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.campaign-section-head .campaign-deck {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.campaign-prose {
  max-width: 760px;
}

.campaign-prose p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.9;
}

.campaign-prose .lead-strong {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
}

.campaign-fragment-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.campaign-fragment-list li {
  display: grid;
  padding: 16px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
}

.campaign-fragment-list li strong {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.campaign-fragment-list li span {
  color: var(--muted);
  font-size: 14px;
}

/* Cross-section matrix: Research / Essays / Projects x campaign */
.campaign-matrix {
  border-top: 1px solid var(--ink);
}

.campaign-matrix-row {
  display: grid;
  padding: 30px 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 48px;
}

.campaign-matrix-role {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.campaign-matrix-role small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.campaign-matrix-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.campaign-matrix-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.campaign-matrix-body ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.campaign-matrix-body ul li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.campaign-matrix-body ul li:last-child {
  border-bottom: 0;
}

.campaign-matrix-body ul li a {
  color: var(--forest);
  font-weight: 500;
}

.campaign-matrix-body ul li span {
  color: var(--muted);
  font-size: 12.5px;
}

/* Terminology */
.term-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.term-list li {
  display: grid;
  padding: 20px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 40px;
}

.term-list li strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.term-list li span {
  color: var(--muted);
  font-size: 14px;
}

/* Monthly report structure */
.monthly-structure {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: monthly;
  border-top: 1px solid var(--ink);
}

.monthly-structure li {
  display: grid;
  padding: 18px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 24px;
  counter-increment: monthly;
}

.monthly-structure li::before {
  content: counter(monthly, decimal-leading-zero);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.monthly-structure li strong {
  font-size: 14.5px;
  font-weight: 600;
}

.monthly-structure li span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

/* --- Capability index page --- */
.cap-status-note {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--forest);
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.cap-status-note strong {
  color: var(--ink);
}

.cap-category {
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
}

.cap-category-head {
  display: flex;
  margin-bottom: 22px;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.cap-category-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
}

.cap-category-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cap-table {
  width: 100%;
  border-collapse: collapse;
}

.cap-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
}

.cap-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.65;
}

.cap-table td.provider {
  font-weight: 600;
  white-space: nowrap;
}

.cap-table td.provider a {
  color: var(--forest);
}

.cap-table td .cap-note {
  color: var(--muted);
  font-size: 12.5px;
}

.cap-table .availability {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.badge {
  display: inline-block;
  margin: 1px 3px 1px 0;
  padding: 1px 8px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  font-size: 11px;
  white-space: nowrap;
}

.badge.mcp {
  border-color: var(--accent);
  color: var(--accent);
}

.cap-contribute {
  margin-top: 72px;
  padding: 40px 44px;
  color: #fff;
  background: #171a18;
}

.cap-contribute h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cap-contribute p {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.cap-contribute .button {
  margin-top: 28px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .focus-banner-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .asset-grid {
    grid-template-columns: 1fr;
  }

  .asset-card {
    min-height: 0;
  }

  .campaign-matrix-row,
  .term-list li,
  .campaign-fragment-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 680px) {
  .campaign-section {
    padding-block: 64px;
  }

  .cap-category-head {
    display: block;
  }

  .cap-category-head p {
    margin-top: 8px;
  }

  .cap-table-wrap {
    margin-inline: -24px;
    padding-inline: 24px;
    overflow-x: auto;
  }

  .cap-table {
    min-width: 720px;
  }

  .monthly-structure li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
  }

  .monthly-structure li span {
    grid-column: 2;
    text-align: left;
  }

  .cap-contribute {
    padding: 34px 26px;
  }
}
