:root {
  color-scheme: light;
  --ink: #182d29;
  --forest: #17332e;
  --deep: #102622;
  --muted: #66736e;
  --paper: #f7f8f4;
  --line: #dce4da;
  --lime: #d8f5a5;
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}
a {
  color: inherit;
}
::selection {
  background: var(--lime);
  color: var(--deep);
}
:focus-visible {
  outline: 3px solid var(--night-focus, #7ca45b);
  outline-offset: 4px;
}
.wrap {
  width: min(1320px, calc(100% - 88px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  z-index: 100;
  left: 16px;
  top: -70px;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--deep);
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--night-header, rgb(247 248 244 / 94%));
}
.nav-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-decoration: none;
}
.brand-icon {
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--night-solid, var(--forest));
  color: var(--lime);
  font:
    26px/1 Georgia,
    serif;
  letter-spacing: -0.08em;
}
.brand-icon > span {
  position: absolute;
  right: 7px;
  bottom: 6px;
  font-size: 24px;
  line-height: 0.3;
}
.brand-icon span,
.footer-brand span,
.about-mark span {
  color: var(--night-accent, #b8da88);
}
.brand-name {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 43px);
  margin-left: auto;
}
.nav-links a {
  padding: 10px 0;
  color: var(--night-muted, #586762);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--forest);
}
.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--forest);
}
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  row-gap: 8px;
  margin: 0;
  color: var(--night-accent, #557c66);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-width: 29px;
  min-height: 29px;
  padding: 0 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0;
  white-space: nowrap;
}
.page-hero h1 {
  margin: 31px 0 0;
  font-size: clamp(54px, 5.2vw, 84px);
  font-weight: 810;
  letter-spacing: -0.075em;
  line-height: 1.17;
}
.page-hero h1 em {
  color: var(--night-accent, #5d8064);
  font-style: normal;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 51px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 17px;
  font-weight: 450;
  line-height: 1;
}
.button-dark {
  color: var(--night-ink, white);
  background: var(--night-solid, var(--forest));
}
.button-dark:hover {
  background: var(--night-hover, #285748);
}
.button-line {
  border-color: var(--night-line, #cbd8cd);
  color: var(--forest);
}
.button-line:hover {
  background: var(--night-surface, white);
}
.button-light {
  background: var(--lime);
  color: var(--deep);
}
.button-light:hover {
  background: var(--night-accent, white);
}
.section {
  padding-block: 105px;
}
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 38px;
}
.section-heading > div {
  width: min(100%, 720px);
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(33px, 3.4vw, 52px);
  letter-spacing: -0.055em;
  line-height: 1.25;
}
.section-heading > div p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.featured-project {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--night-line, #d6dfd5);
  border-radius: 24px;
  background: var(--night-surface, white);
}
.featured-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: 36px 48px;
  overflow: hidden;
  background: var(--night-soft, #dbe9dd);
}
.featured-art::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: var(--night-art, repeating-radial-gradient(
    circle at center,
    transparent 0 31px,
    rgb(46 101 70 / 10%) 32px 33px,
    transparent 34px 66px
  ));
}
.mock-window {
  position: relative;
  z-index: 1;
  width: min(100%, 474px);
  padding: 19px 21px 25px;
  border: 1px solid var(--night-line, rgb(60 94 70 / 20%));
  border-radius: 16px;
  background: var(--night-surface, #f9fbf5);
  box-shadow: 14px 22px 50px rgb(38 73 48 / 19%);
  transform: rotate(-4deg);
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--night-line, #e2e8dc);
}
.mock-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--night-soft, #a6baa5);
}
.mock-top small {
  margin-left: auto;
  color: var(--night-muted, #75907c);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.mock-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 24px;
  color: var(--forest);
  font-size: clamp(26px, 3vw, 39px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.mock-title span {
  color: var(--night-accent, #77a576);
  font-size: 50px;
  font-weight: 400;
}
.mock-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 27px;
  padding: 12px 15px;
  border: 1px solid var(--night-line, #e5e9df);
  border-radius: 7px;
  color: var(--night-muted, #a2b2a2);
  background: var(--night-surface, white);
  font-size: 11px;
}
.mock-search b {
  color: var(--night-accent, #5c8b67);
  font-size: 20px;
  line-height: 1;
}
.mock-pills {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.mock-pills i {
  min-width: 60px;
  padding: 5px 12px;
  border-radius: 4px;
  color: var(--night-accent, #4f7259);
  background: var(--night-soft, #e7f1df);
  font-size: 9px;
  font-style: normal;
  text-align: center;
}
.art-caption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 16px;
  color: var(--night-muted, #67806d);
  font-size: 10px;
}
.featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(34px, 4vw, 64px);
}
.featured-meta,
.project-card-top,
.library-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
}
.featured-meta > span:first-child,
.project-card-top > span:first-child,
.library-meta > span:first-child {
  color: var(--night-muted, #7d9082);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--night-line, #d9e2d8);
  border-radius: 999px;
  color: var(--night-muted, #6f8073);
  background: var(--night-surface, #f5f7f2);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--night-muted, #b2baac);
}
.status.is-live {
  color: var(--night-accent, #426e45);
  border-color: var(--night-line, #c6dfbd);
  background: var(--night-soft, #edf8e5);
}
.status.is-live i {
  background: var(--night-accent, #79b869);
}
.featured-copy h3 {
  margin: 33px 0 13px;
  font-size: clamp(30px, 3vw, 43px);
  letter-spacing: -0.055em;
  line-height: 1.28;
}
.featured-copy > p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}
.tags span {
  padding: 5px 10px;
  border: 1px solid var(--night-line, #dae2d7);
  border-radius: 999px;
  color: var(--night-muted, #587363);
  font-size: 10px;
  font-weight: 700;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-block: 5px 7px;
  border-bottom: 1px solid currentColor;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.featured-copy > .text-link {
  margin-top: auto;
  padding-top: 25px;
}
.text-link span {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
.project-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.project-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--night-soft, #edf0e6);
}
.project-3 {
  background: var(--night-soft, #e8eeeb);
}
.project-4 {
  background: var(--night-warm, #f0e8dc);
}
.project-glyph {
  align-self: flex-end;
  margin: auto 8px auto 0;
  color: var(--night-muted, rgb(37 79 54 / 16%));
  font:
    124px/1 Georgia,
    serif;
}
.project-card-bottom h3 {
  margin: 0 0 10px;
  font-size: 25px;
  letter-spacing: -0.04em;
}
.project-card-bottom p {
  min-height: 53px;
  margin: 0;
  color: var(--night-muted, #66756b);
  font-size: 12px;
  line-height: 1.75;
}
.project-card .tags {
  margin-top: 17px;
}
.project-card .tags span {
  border-color: var(--night-line, rgb(48 75 57 / 15%));
}
.card-link,
.card-pending {
  display: inline-flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.card-link {
  border-bottom: 1px solid currentColor;
}
.card-pending {
  color: var(--night-muted, #79877c);
}
.section-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 27px;
}
.resource-type {
  color: var(--night-muted, #6d8d71);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.site-footer {
  color: var(--night-ink, #dce8dc);
  background: var(--deep);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding-block: 64px 76px;
}
.footer-top > div:first-child {
  min-width: 0;
  max-width: 560px;
}
.footer-brand {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.footer-top p {
  margin: 16px 0 0;
  color: var(--night-muted, #a8bdb0);
  font-size: 13px;
}
.footer-links {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px 25px;
  max-width: 440px;
}
.footer-links a {
  color: var(--night-ink, #c4d5c7);
  font-size: 12px;
  text-decoration: none;
}
.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--lime);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--night-line, #355046);
  color: var(--night-muted, #8ea699);
  font-size: 11px;
}
.footer-bottom a {
  text-decoration: none;
}
.footer-filings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  min-width: 0;
}
.footer-filings a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  line-height: 20px;
}
.footer-filings img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-filings span { overflow-wrap: anywhere; }
.page-hero {
  padding-block: 64px 44px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin-top: 28px;
  font-size: clamp(38px, 4.5vw, 64px);
}
.page-hero > p:last-child {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.page-hero + .section {
  padding-top: 36px;
}
.page-hero + .article { padding-top: 36px; }
.page-hero + .article > .article-content { margin-top: 0; }
/* Journal rows already provide their own top padding; do not add it twice. */
.page-hero + .section:has(> .journal-list) { padding-top: 0; }
.plain-callout {
  display: flex;
  align-items: baseline;
  gap: 35px;
  margin-bottom: 100px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.plain-callout span {
  flex: none;
  color: var(--night-muted, #709075);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.plain-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--night-muted, #658071);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.detail-hero {
  padding-top: 54px;
}
.detail-title {
  display: flex;
  align-items: center;
  gap: 20px;
}
.detail-title h1 {
  margin-top: 22px;
}
.detail-title .status {
  margin-top: 22px;
}
.detail-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.detail-actions > span {
  color: var(--night-muted, #7a8a7f);
  font-size: 11px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(50px, 8vw, 130px);
}
.detail-aside {
  position: sticky;
  top: 25px;
  align-self: start;
}
.detail-aside > span {
  color: var(--night-muted, #64816e);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.detail-aside dl {
  margin: 28px 0 0;
}
.detail-aside dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.detail-aside dt {
  color: var(--night-muted, #849387);
}
.detail-aside dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.detail-body {
  max-width: 780px;
}
.detail-body h2 {
  margin: 0 0 14px;
  font-size: 30px;
  letter-spacing: -0.05em;
}
.detail-body h2:not(:first-child) {
  margin-top: 54px;
}
.detail-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}
.detail-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 350px;
  margin-top: 28px;
  padding: 30px;
  border-radius: 17px;
  background:
    var(--night-art, radial-gradient(circle at 75% 30%, #d3edd5, transparent 30%), #e4eee3);
}
.detail-placeholder span {
  color: var(--night-muted, #7b947e);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.detail-placeholder strong {
  margin-top: 5px;
  font-size: 25px;
  letter-spacing: -0.04em;
}
.detail-placeholder small {
  max-width: 410px;
  margin-top: 8px;
  color: var(--night-muted, #708375);
  font-size: 11px;
}
.detail-next {
  display: flex;
  justify-content: space-between;
  padding-block: 25px 70px;
  border-top: 1px solid var(--line);
}
.detail-next span {
  color: var(--night-muted, #849387);
  font-size: 12px;
}
.detail-next a {
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.journal-list {
  border-top: 0;
}
.journal-item {
  display: grid;
  grid-template-columns: 215px 1fr 40px;
  gap: 25px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.journal-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--night-muted, #748978);
  font-size: 12px;
  font-weight: 750;
}
.journal-date small {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.journal-item h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 2.6vw, 36px);
  letter-spacing: -0.04em;
}
.journal-item h2 a {
  text-decoration: none;
}
.journal-item h2:last-child { margin-bottom: 0; }
.home-note-copy h3:last-child { margin-bottom: 0; }
.article-header:not(:has(> .article-summary)) .article-meta { margin-top: 0; }
.journal-item h2 a:hover {
  color: var(--night-accent, #4d8060);
}
.journal-item p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.journal-arrow {
  align-self: start;
  color: var(--night-accent, #3d7851);
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}
.journal-after {
  margin: 32px 0 0;
  color: var(--night-muted, #849186);
  font-size: 13px;
}
.article {
  max-width: 960px;
  padding-block: 55px 100px;
}
.article-header {
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line);
}
.article-header h1 {
  max-width: 850px;
  margin: 27px 0 20px;
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -0.065em;
  line-height: 1.27;
}
.article-header > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 23px;
  margin-top: 30px;
  color: var(--night-muted, #698470);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.article-content {
  max-width: 720px;
  margin: 65px auto 0;
}
.article-content h2 {
  margin: 50px 0 16px;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.article-content h2:first-child {
  margin-top: 0;
}
.article-content h3 {
  margin: 30px 0 12px;
  font-size: 22px;
}
.article-content p,
.article-content li {
  color: var(--night-body, #475950);
  font-size: 16px;
  line-height: 2.1;
}
.article-content p {
  margin: 0 0 22px;
}
.article-content ul {
  margin: 15px 0 30px;
  padding-left: 22px;
}
.article-content li {
  padding-left: 5px;
}
.article-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 720px;
  margin: 65px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--night-muted, #7d917e);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.article-footer a {
  color: var(--forest);
  text-decoration: none;
}
.library-toolbar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--night-muted, #728b77);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.library-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.library-symbol {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 20px;
  background: var(--night-soft, #e0ecd9);
  color: var(--night-accent, #416f51);
  font-size: 67px;
  line-height: 1;
}
.library-meta {
  justify-content: flex-start;
}
.library-copy h2 {
  margin: 9px 0 8px;
  font-size: 27px;
  letter-spacing: -0.04em;
}
.library-copy > p {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.library-copy .tags {
  margin-top: 15px;
}
.library-empty {
  margin-top: 74px;
  padding: 42px;
  border: 1px dashed var(--night-line, #bfd1c0);
  border-radius: 18px;
  background: var(--night-soft, #f0f4ed);
}
.library-empty > span {
  color: var(--night-muted, #7c9c7a);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.library-empty h2 {
  margin: 13px 0 8px;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.library-empty p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.library-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}
.library-categories span {
  min-width: 72px;
  padding: 6px 12px;
  border: 1px solid var(--night-line, #cdddc9);
  border-radius: 999px;
  color: var(--night-muted, #63866d);
  font-size: 11px;
  text-align: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 8%;
}
.about-mark {
  display: grid;
  place-items: center;
  align-self: start;
  aspect-ratio: 1;
  max-width: 460px;
  width: 100%;
  border-radius: 22px;
  background: var(--night-solid, var(--forest));
  color: var(--night-ink, white);
  font:
    bold clamp(160px, 22vw, 320px) / 1 Georgia,
    serif;
  letter-spacing: -0.15em;
}
.about-grid h2 {
  margin: 0 0 20px;
  font-size: 39px;
  letter-spacing: -0.05em;
}
.about-grid > div:last-child > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}
.about-points {
  margin-top: 43px;
}
.about-points > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.about-points span {
  grid-row: span 2;
  color: var(--night-accent, #70a16e);
  font-size: 12px;
  font-weight: 800;
}
.about-points strong {
  font-size: 16px;
}
.about-points p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.about-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 100px;
  padding: 30px 36px;
  border-radius: 18px;
  background: var(--night-soft, #e4efdc);
}
.about-end span {
  color: var(--night-muted, #719477);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.about-end h2 {
  margin: 8px 0 0;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.05em;
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.policy-grid article {
  min-height: 240px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--night-surface, white);
}
.policy-grid article > span {
  color: var(--night-accent, #76a075);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.policy-grid h2 {
  margin: 23px 0 10px;
  font-size: 25px;
  letter-spacing: -0.04em;
}
.policy-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.policy-foot {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 100px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.policy-foot p {
  max-width: 750px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
/* Home: content-led editorial layout. Other page layouts remain independent. */
.home-page .nav-shell {
  min-height: 76px;
  gap: 32px;
}
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding-block: 40px 28px;
}
.home-intro {
  min-width: 0;
  padding-block: 12px;
}
.home-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--night-muted, #536b5a);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
}
.home-kicker > span[aria-hidden] {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--night-accent, #6e9451);
}
.home-kicker-text {
  min-width: 0;
  overflow-wrap: anywhere;
}
.home-intro h1 {
  margin: 22px 0 0;
  font-size: clamp(37px, 4.1vw, 58px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.32;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.home-title-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 320px) {
  .home-title-line { white-space: normal; }
}
.home-title-line:last-child {
  color: var(--night-accent, #526c58);
}
.home-intro-text {
  max-width: 42ch;
  margin: 23px 0 0;
  color: var(--night-muted, #5c6b61);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
}
.home-reading,
.home-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--night-accent, #42574b);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.home-reading:hover,
.home-more:hover {
  color: var(--night-accent, #203d30);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.home-reading span,
.home-more span {
  font-size: 18px;
}
.home-feature {
  min-width: 0;
}
.home-label {
  margin: 0;
  color: var(--night-muted, #526454);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.home-spotlight,
.home-welcome {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 30px 22px;
  border: 1px solid var(--night-line, #cbdcc7);
  border-radius: 22px;
  background: var(--night-art, linear-gradient(135deg, #eaf1e1, #e0ebde 65%, #d5e5d8));
  text-decoration: none;
}
a.home-spotlight {
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.home-spotlight:hover {
  border-color: var(--night-line, #799a73);
  box-shadow: 0 8px 26px rgb(29 64 43 / 7%);
}
.home-spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.home-spotlight-symbol {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  margin-top: 8px;
  color: var(--night-accent, #4e7155);
}
.home-spotlight-symbol > span {
  font: 52px/1 Georgia, serif;
  letter-spacing: -0.05em;
}
.home-spotlight-symbol > i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--night-line, #aac0a6);
  border-radius: 50%;
  color: var(--night-accent, #456d4c);
  font-size: 33px;
  font-style: normal;
  line-height: 1;
}
.home-spotlight-cover {
  display: block;
  width: 100%;
  height: 180px;
  margin-top: 20px;
  border-radius: 10px;
  object-fit: contain;
}
.home-spotlight h2,
.home-welcome h2 {
  margin: 8px 0 12px;
  font-size: clamp(25px, 2.35vw, 33px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.38;
  overflow-wrap: anywhere;
}
.home-spotlight > p,
.home-welcome p {
  margin: 0;
  color: var(--night-muted, #526454);
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.home-spotlight .tags {
  margin-top: 18px;
}
.home-spotlight .tags span {
  border-color: var(--night-line, #c1d1bb);
  background: var(--night-soft, rgb(255 255 255 / 32%));
}
.home-spotlight-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--night-line, #c3d3be);
  color: var(--night-muted, #526454);
  font-size: 11px;
}
.home-spotlight-bottom strong {
  color: var(--forest);
  font-size: 12px;
}
.home-spotlight-bottom strong span {
  display: inline-block;
  margin-left: 12px;
  font-size: 18px;
}
.home-welcome {
  gap: 20px;
  padding-block: 40px;
}
.home-welcome .text-link {
  align-self: flex-start;
}
.home-section {
  padding-block: 36px;
  scroll-margin-top: 24px;
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}
.home-section-head h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 9px 0 0;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.35;
}
.home-section-head h2 > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.home-more {
  flex-shrink: 0;
}
.home-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-note-grid[data-count="1"] {
  grid-template-columns: 1fr;
}
.home-note-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-note-grid > article {
  min-width: 0;
}
.home-note {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--night-surface, #fffefa);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.home-note:hover {
  border-color: var(--night-line, #9ab18f);
  background: var(--night-soft, #f0f4e9);
}
.home-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--night-muted, #657669);
  font-size: 11px;
}
.home-note-copy {
  min-width: 0;
}
.home-note h3 {
  margin: 17px 0 9px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.home-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.home-note-arrow {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 18px;
  color: var(--night-accent, #5e7c4f);
  font-size: 25px;
  line-height: 1;
}
.home-note-grid[data-count="1"] .home-note {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 30px;
  padding: 26px 30px;
}
.home-note-grid[data-count="1"] .home-note-meta {
  flex-direction: column;
  gap: 4px;
}
.home-note-grid[data-count="1"] h3 {
  margin-top: 0;
}
.home-note-grid[data-count="1"] .home-note-arrow {
  align-self: center;
  margin: 0;
  padding: 0;
}
.home-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--night-line, #cbd7c5);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}
.home-page .project-mini-grid {
  margin-top: 0;
}
.home-page .project-card {
  position: relative;
  min-height: 275px;
  padding: 23px;
  background: var(--night-soft, #eef1e9);
}
.home-page .project-card-top > span:first-child,
.home-page .card-pending {
  color: var(--night-muted, #586e5c);
}
.home-page .status:not(.is-live) {
  color: var(--night-muted, #546754);
}
.home-page .project-3 {
  background: var(--night-soft, #eaf0eb);
}
.home-page .project-4 {
  background: var(--night-warm, #f2eee4);
}
.home-page .project-glyph {
  margin: 20px 0 16px;
  align-self: flex-start;
  color: var(--night-muted, #7a9576);
  font-size: 29px;
  line-height: 1;
}
.home-page .project-card-bottom h3 {
  font-size: 24px;
}
.home-page .project-card-bottom p {
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.home-page .project-card .tags {
  margin-top: 18px;
}
.home-resource-list {
  padding-inline: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--night-soft, #f0f3ec);
}
.home-resource {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px;
  padding-block: 22px;
  text-decoration: none;
}
.home-resource + .home-resource {
  border-top: 1px solid var(--night-line, #d4ddcd);
}
.home-resource-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--night-soft, #dce8d3);
  color: var(--night-accent, #436843);
  font-size: 24px;
}
.home-resource h3 {
  margin: 3px 0 4px;
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.home-resource .resource-type {
  color: var(--night-muted, #546c59);
}
.home-resource p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.home-resource-end {
  color: var(--night-accent, #627d56);
  font-size: 22px;
}
.home-resource:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-block: 40px 70px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.home-about > div { min-width: 0; }
.home-about .text-link { flex-shrink: 0; max-width: min(100%, 320px); white-space: normal; }
.home-about h2,
.home-about p,
.home-about .text-link,
.footer-top p,
.footer-bottom > span { overflow-wrap: anywhere; }
.home-about p:not(.home-label),
.footer-top p { white-space: pre-line; }
.home-about h2 {
  margin: 12px 0 8px;
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.home-about p:not(.home-label) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1050px) {
  .wrap {
    width: min(100% - 48px, 1320px);
  }
  .nav-shell {
    gap: 25px;
  }
  .featured-art {
    padding: 26px;
  }
}
@media (max-width: 800px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 30px 20px;
  }
  .home-page .nav-shell {
    min-height: 0;
    gap: 0;
    padding-top: 10px;
  }
  .home-page .brand {
    margin-bottom: 8px;
  }
  .home-page .nav-links a {
    min-width: 44px;
    min-height: 44px;
    padding-block: 9px;
    text-align: center;
  }
  .home-intro h1 {
    font-size: clamp(31px, 5.7vw, 47px);
  }
  .home-spotlight-symbol {
    height: 58px;
  }
  .home-spotlight-symbol > span {
    font-size: 36px;
  }
  .home-spotlight-symbol > i {
    width: 42px;
    height: 42px;
    font-size: 25px;
  }
  .home-note-grid,
  .home-note-grid[data-count="2"] {
    grid-template-columns: 1fr;
  }
  .home-note-grid[data-count="1"] .home-note {
    grid-template-columns: 110px minmax(0, 1fr) 24px;
    gap: 18px;
    padding-inline: 24px;
  }
  .nav-shell {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 15px;
  }
  .brand {
    margin-bottom: 12px;
  }
  .nav-links {
    order: 3;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding-top: 4px;
    border-top: 1px solid var(--line);
  }
  .nav-links a {
    padding: 13px 0;
  }
  .section {
    padding-block: 75px;
  }
  .section-heading {
    flex-direction: column;
    gap: 16px;
  }
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-art {
    min-height: 360px;
  }
  .featured-copy {
    min-height: 320px;
  }
  .project-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-mini-grid .project-card:last-child {
    grid-column: span 2;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    position: static;
  }
  .detail-aside dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .detail-aside dl div {
    display: block;
  }
  .detail-aside dd {
    margin-top: 5px;
    text-align: left;
  }
  .library-item {
    grid-template-columns: 90px 1fr;
  }
  .library-symbol {
    width: 85px;
    height: 85px;
    font-size: 52px;
  }
  .library-item .button {
    grid-column: 2;
    justify-self: start;
  }
}
@media (min-width: 601px) and (max-width: 800px) {
  .home-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 24px;
  }
  .home-intro h1 {
    font-size: clamp(27px, 4.1vw, 33px);
  }
  .home-intro-text {
    font-size: 14px;
  }
  .home-spotlight {
    padding: 22px;
  }
  .home-spotlight h2 {
    font-size: 24px;
  }
  .home-spotlight .tags {
    gap: 5px;
  }
}
@media (max-width: 600px) {
  .home-page .brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 21px;
  }
  .home-page .brand {
    gap: 9px;
    font-size: 16px;
  }
  .home-hero {
    gap: 24px;
    padding-top: 24px;
  }
  .home-intro {
    padding: 0;
  }
  .home-intro h1 {
    margin-top: 16px;
    font-size: clamp(30px, 8.2vw, 40px);
    line-height: 1.38;
  }
  .home-intro-text {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.9;
  }
  .home-actions {
    gap: 24px;
    margin-top: 20px;
  }
  .home-spotlight {
    padding: 20px;
    border-radius: 16px;
  }
  .home-spotlight-symbol {
    display: none;
  }
  .home-spotlight-cover {
    height: 150px;
    margin-top: 16px;
  }
  .home-spotlight h2 {
    margin-top: 18px;
    font-size: 24px;
  }
  .home-spotlight .tags {
    display: none;
  }
  .home-spotlight-bottom {
    margin-top: 17px;
    padding-top: 12px;
  }
  .home-section {
    padding-block: 26px;
  }
  .home-section-head {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }
  .home-section-head h2 {
    flex-direction: column;
    gap: 6px;
    font-size: 23px;
  }
  .home-section-head h2 > span {
    font-size: 12px;
  }
  .home-more {
    min-height: 44px;
    gap: 6px;
    font-size: 12px;
  }
  .home-note,
  .home-note-grid[data-count="1"] .home-note {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
  }
  .home-note-grid[data-count="1"] .home-note-meta {
    flex-direction: row;
    gap: 12px;
  }
  .home-note h3,
  .home-note-grid[data-count="1"] h3 {
    margin-top: 12px;
    padding-right: 24px;
    font-size: 19px;
  }
  .home-note-arrow,
  .home-note-grid[data-count="1"] .home-note-arrow {
    position: absolute;
    top: 19px;
    right: 20px;
    padding: 0;
    font-size: 20px;
  }
  .home-page .project-card {
    min-height: 0;
    padding: 20px;
  }
  .home-page .project-card-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .home-page .project-glyph {
    position: absolute;
    top: 62px;
    right: 20px;
    margin: 0;
    color: var(--night-muted, #9aac94);
    font-size: 25px;
  }
  .home-page .project-card-bottom h3 {
    margin-top: 20px;
    padding-right: 36px;
    font-size: 22px;
  }
  .home-resource-list {
    padding-inline: 18px;
  }
  .home-resource {
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    gap: 12px;
    padding-block: 18px;
  }
  .home-resource-icon {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .home-resource h3 {
    font-size: 16px;
  }
  .home-about {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-block: 25px 35px;
    padding-block: 25px;
  }
  .home-about h2 {
    font-size: 25px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .nav-shell {
    min-height: 0;
  }
  .brand {
    font-size: 16px;
  }
  .brand-icon {
    width: 37px;
    height: 37px;
    font-size: 23px;
  }
  .nav-links a {
    font-size: 12px;
  }
  .button {
    min-height: 48px;
    gap: 14px;
    padding-inline: 17px;
    font-size: 12px;
  }
  .section {
    padding-block: 67px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .section-heading > div p {
    font-size: 13px;
  }
  .featured-art {
    min-height: 280px;
    padding: 25px;
  }
  .mock-window {
    padding: 12px 14px 18px;
  }
  .mock-title {
    margin-top: 14px;
    font-size: 28px;
  }
  .mock-title span {
    font-size: 37px;
  }
  .mock-search {
    margin-top: 17px;
    padding: 8px 10px;
  }
  .mock-pills {
    margin-top: 8px;
  }
  .art-caption {
    right: 12px;
    bottom: 8px;
    font-size: 8px;
  }
  .featured-copy {
    min-height: 0;
    padding: 25px;
  }
  .featured-copy h3 {
    margin-top: 23px;
    font-size: 29px;
  }
  .featured-copy > p {
    font-size: 13px;
  }
  .featured-copy > .text-link {
    margin-top: 28px;
  }
  .project-mini-grid {
    grid-template-columns: 1fr;
  }
  .project-mini-grid .project-card:last-child {
    grid-column: auto;
  }
  .project-card {
    min-height: 320px;
  }
  .project-glyph {
    font-size: 95px;
  }
  .footer-top {
    flex-direction: column;
    gap: 35px;
    padding-block: 50px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .footer-filings { flex-basis: 100%; }
  .page-hero {
    padding-block: 38px 30px;
  }
  .page-hero h1 {
    font-size: clamp(33px, 8vw, 46px);
  }
  .page-hero + .section, .page-hero + .article { padding-top: 26px; }
  .page-hero > p:last-child {
    font-size: 14px;
  }
  .plain-callout {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 70px;
  }
  .detail-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .detail-title .status {
    margin-top: 0;
  }
  .detail-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-aside dl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-aside dl div {
    display: flex;
  }
  .detail-aside dd {
    margin-top: 0;
    text-align: right;
  }
  .detail-body h2 {
    font-size: 25px;
  }
  .detail-body p {
    font-size: 14px;
  }
  .detail-placeholder {
    min-height: 270px;
    padding: 23px;
  }
  .journal-item {
    grid-template-columns: 1fr 26px;
    gap: 8px;
    padding: 28px 0;
  }
  .journal-date {
    grid-column: span 2;
  }
  .journal-item h2 {
    font-size: 27px;
  }
  .article {
    padding-block: 45px 70px;
  }
  .article-header h1 {
    font-size: clamp(32px, 8vw, 43px);
  }
  .article-header > p:not(.eyebrow) {
    font-size: 14px;
  }
  .article-content {
    margin-top: 45px;
  }
  .article-content h2 {
    font-size: 25px;
  }
  .article-content p,
  .article-content li {
    font-size: 15px;
  }
  .article-footer {
    flex-direction: column;
  }
  .library-item {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .library-item .button {
    grid-column: auto;
  }
  .library-empty {
    padding: 26px;
  }
  .about-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .about-mark {
    max-width: none;
    aspect-ratio: 1.5;
    font-size: 180px;
  }
  .about-grid h2 {
    font-size: 31px;
  }
  .about-end,
  .policy-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .policy-grid article {
    min-height: 0;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .nav-links {
    gap: 8px;
  }
  .mock-title {
    font-size: 23px;
  }
  .mock-top small {
    font-size: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
.public-cover {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 14px;
  margin: 24px 0;
  background: var(--night-soft, #edf0e8);
}
.featured-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.featured-custom:not(:has(img)) {
  grid-template-columns: 1fr;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.article-content pre {
  overflow-x: auto;
  background: var(--night-soft, #edf0e8);
  padding: 20px;
  border-radius: 8px;
}
.article-content code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}
.article-content table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  max-width: 100%;
}
.article-content th,
.article-content td {
  border: 1px solid var(--night-line, #cdd6cb);
  padding: 10px 14px;
}
.article-content blockquote {
  margin: 20px 0;
  padding: 12px 20px;
  border-left: 3px solid var(--night-line, #799452);
  background: var(--night-soft, #edf2e5);
}
.article-content a {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.page-hero h1, .page-hero > p, .article-header h1, .article-summary,
.journal-item h2, .journal-item p, .journal-date, .article-category,
.article-content, .library-copy, .policy-grid article, .policy-foot p {
  min-width: 0;
  overflow-wrap: anywhere;
}
.status-page .status-shell { padding-block: clamp(40px, 8vw, 100px); }
.status-panel {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--night-surface, #fafbf7);
  overflow-wrap: anywhere;
}
.status-panel h1 { margin: 24px 0 16px; font-size: clamp(30px, 5vw, 46px); line-height: 1.3; }
.status-panel > p:not(.eyebrow) { color: var(--muted); margin: 0 0 28px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Product showcase: original screenshots, CMS publication boundaries intact. */
.project-card-visual {
  display: flex;
  justify-content: center;
  margin: 22px 0;
  height: 220px;
  border-radius: 12px;
  background: var(--night-soft, #e0e8dd);
  overflow: hidden;
}
.project-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-page .project-card-visual { height: 180px; }
.showcase { padding-top: 30px; padding-bottom: 64px; }
.showcase-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  padding: 42px 0 56px;
}
.showcase-intro h1 {
  margin: 22px 0;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.showcase-summary { max-width: 510px; color: var(--night-muted, #53675c); font-size: 18px; line-height: 1.9; }
.showcase-intro .tags { margin-top: 25px; }
.showcase-intro .button { margin-top: 34px; }
.showcase-boundary { margin-top: 20px; color: var(--night-muted, #657368); font-size: 12px; line-height: 1.8; }
.showcase-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--night-line, #dce2d5);
  border-radius: 24px;
  background: var(--night-art, radial-gradient(ellipse at 60% 20%, #f4f0df, #dce7d8));
}
.showcase-cover img {
  display: block;
  width: min(100%, 242px);
  height: auto;
  border: 1px solid var(--night-line, #d4d9ce);
  border-radius: 16px;
  box-shadow: 0 15px 35px #1a392b12;
}
.showcase-cover figcaption, .showcase-caption { margin-top: 14px; color: var(--night-muted, #58695e); font-size: 11px; line-height: 1.6; }
.showcase-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.showcase-section {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--night-line, #dce2d5);
  border-radius: 20px;
  background: var(--night-surface, #fafbf7);
  min-width: 0;
}
.showcase-copy h2 { margin: 0 0 20px; font-size: 25px; line-height: 1.45; letter-spacing: -0.035em; }
.showcase-copy .article-content { max-width: none; font-size: 15px; }
.showcase-copy .article-content p, .showcase-copy .article-content li { font-size: 15px; line-height: 1.9; }
.showcase-copy .article-content p:last-child { margin-bottom: 0; }
.showcase-copy .article-content blockquote { margin: 0 0 24px; background: transparent; border-color: var(--night-line, #72835c); }
.showcase-image { display: flex; flex-direction: column; align-items: center; margin-top: 28px; padding: 20px; border-radius: 14px; background: var(--night-soft, #eeeee5); }
.showcase-original { display: block; width: min(100%, 240px); }
.showcase-image img { display: block; width: min(100%, 240px); height: auto; aspect-ratio: 828 / 1560; object-fit: contain; border: 1px solid var(--night-line, #d8dbd1); border-radius: 12px; }
.showcase-story, .showcase-entry, .showcase-note { grid-column: 1 / -1; }
.showcase-story { padding: 40px 10%; background: var(--night-soft, #edf1e7); }
.showcase-story .article-content blockquote p { color: var(--forest); font-size: 21px; line-height: 1.85; }
.showcase-entry { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: center; background: var(--night-soft, #e5ede2); scroll-margin-top: 110px; }
.showcase-entry .showcase-image { margin: 0; padding: 12px; background: var(--night-surface, #fff); }
.showcase-entry .showcase-original { width: min(100%, 258px); }
.showcase-entry .showcase-image img { width: min(100%, 258px); aspect-ratio: 1; border: none; border-radius: 0; }
.showcase-note { border: none; padding: 12px 0; background: transparent; }
.showcase-note .showcase-copy h2 { font-size: 15px; margin-bottom: 10px; }
.showcase-note .article-content p { font-size: 12px; color: var(--night-muted, #657368); }
.showcase-feature:last-of-type { grid-column: 1 / -1; }
.showcase-feature:has(+ .showcase-entry) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--night-soft, #e9eee7); }
.showcase-feature:has(+ .showcase-entry) .showcase-image { margin-top: 0; background: var(--night-soft, #dbe4dc); }
.showcase-end { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.showcase-end > span { color: var(--night-muted, #657368); font-size: 11px; letter-spacing: 0.12em; }
@media (max-width: 700px) {
  .showcase { padding-top: 22px; padding-bottom: 38px; }
  .showcase-hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .showcase-intro h1 { font-size: 40px; }
  .showcase-summary { font-size: 16px; }
  .showcase-intro .button { margin-top: 24px; }
  .showcase-cover img { width: min(100%, 210px); }
  .showcase-content { grid-template-columns: 1fr; gap: 18px; }
  .showcase-copy h2 { font-size: 23px; }
  .showcase-story { padding: 28px 24px; }
  .showcase-story .article-content blockquote { padding: 8px 0 8px 15px; }
  .showcase-story .article-content blockquote p { font-size: 18px; }
  .showcase-entry, .showcase-feature:has(+ .showcase-entry) { grid-template-columns: 1fr; gap: 24px; }
  .showcase-entry .showcase-image { width: 100%; max-width: 282px; justify-self: center; }
  .showcase-image { padding: 16px; }
  .showcase-feature:has(+ .showcase-entry) .showcase-image { margin-top: 0; }
  .showcase-end { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .featured-custom {
    grid-template-columns: 1fr;
  }
}

/* Desktop app case study: landscape screenshots retain their entire frame. */
.status.is-open-source, .status.is-source-public { color: var(--night-accent, #315d51); border-color: var(--night-line, #c7d9d1); background: var(--night-soft, #e8f0eb); }
.status.is-open-source i, .status.is-source-public i { background: var(--night-accent, #4b8170); }
.workbench { padding-top: 30px; padding-bottom: 64px; }
.workbench > .back-link { margin-bottom: 0; }
.workbench-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 60px; align-items: end; padding: 38px 0 32px; }
.workbench-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.workbench-meta .eyebrow { margin: 0; }
.workbench-intro h1 { margin: 22px 0 16px; font-size: clamp(38px, 5vw, 62px); line-height: 1.15; letter-spacing: -0.045em; }
.workbench-summary { margin: 0; color: var(--night-muted, #53675c); font-size: clamp(18px, 2vw, 24px); line-height: 1.65; }
.workbench-summary > span { white-space: nowrap; }
.workbench-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.workbench-actions .tags { margin: 0; justify-content: flex-end; }
.workbench-actions p { margin: 0; text-align: right; font-size: 12px; color: var(--night-muted, #657368); line-height: 1.7; }
.workbench-cover { grid-column: 1 / -1; margin: 0; padding: clamp(12px, 2vw, 24px); border: 1px solid var(--night-line, #d4dfd5); border-radius: 22px; background: var(--night-art, linear-gradient(130deg, #e0e9df, #eef0e5)); }
.workbench-cover a, .workbench-image a { display: block; width: 100%; }
.workbench-cover img, .workbench-image img { display: block; width: 100%; height: auto; aspect-ratio: 2940 / 1846; object-fit: contain; border: 1px solid var(--night-line, #d5dbd1); border-radius: 10px; }
.workbench-cover img { box-shadow: 0 8px 26px #203b2b0d; }
.workbench-cover figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; color: var(--night-muted, #596c60); font-size: 11px; line-height: 1.6; }
.workbench-cover figcaption span:first-child { letter-spacing: 0.13em; }
.workbench-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.tiaojizhan-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiaojizhan .workbench-content { grid-template-columns: 1fr; }
.tiaojizhan .workbench-cover { background: var(--night-art, linear-gradient(130deg, #e5ede5, #edf2f9)); }
.tiaojizhan .workbench-cover img, .tiaojizhan .workbench-image img { aspect-ratio: auto; }
.tiaojizhan-feature { grid-column: 1 / -1; }
.tiaojizhan-feature .workbench-copy { max-width: 820px; }
.tiaojizhan-timeline { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.tiaojizhan-timeline .workbench-image { margin: 0; }
.tiaojizhan-feature .article-content a { overflow-wrap: anywhere; }
@media (max-width: 900px) { .tiaojizhan-timeline { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 700px) { .tiaojizhan .tiaojizhan-flow { grid-template-columns: 1fr; } }
.tiaojizhan-image-scroll:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.tiaojizhan-featured-art { background: var(--night-art, linear-gradient(130deg, #e5ede5, #edf2f9)); text-decoration: none; }
.tiaojizhan-featured-art::before { content: none; }
.tiaojizhan-featured-art img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--night-line, #d5dbd1); }
@media (max-width: 800px) { .tiaojizhan-featured-art { min-height: 200px; } }
@media (max-width: 700px) {
  .tiaojizhan-wide .tiaojizhan-image-scroll { overflow-x: auto; border-radius: 10px; }
  .tiaojizhan-wide .tiaojizhan-image-scroll a { min-width: 840px; }
  .tiaojizhan-wide figcaption::before { content: "左右滑动查看 · "; }
}
.workbench-flow a { display: flex; gap: 16px; align-items: center; min-height: 70px; padding: 16px 20px; border: 1px solid var(--night-line, #d5ded3); border-radius: 12px; background: var(--night-soft, #edf2e8); text-decoration: none; transition: background .15s; }
.workbench-flow a:hover { background: var(--night-hover, #e0eadc); }
.workbench-flow span { color: var(--night-muted, #748779); font-size: 12px; letter-spacing: .05em; }
.workbench-flow strong { font-size: 18px; }
.workbench-flow i { margin-left: auto; font-style: normal; color: var(--night-muted, #63806b); }
.workbench-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.workbench-section { min-width: 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--night-line, #dce2d5); border-radius: 18px; background: var(--night-surface, #fafbf7); scroll-margin-top: 110px; }
.workbench-copy h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.45; letter-spacing: -.035em; }
.workbench-copy .article-content { max-width: none; margin: 0; }
.workbench-copy .article-content p, .workbench-copy .article-content li { font-size: 15px; line-height: 1.9; }
.workbench-copy .article-content p:last-child { margin-bottom: 0; }
.workbench-image { margin: 24px 0 0; }
.workbench-image figcaption { margin-top: 12px; color: var(--night-muted, #657368); font-size: 11px; line-height: 1.6; }
.workbench-story, .workbench-modules, .workbench-entry, .workbench-note { grid-column: 1 / -1; }
.workbench-story { display: grid; grid-template-columns: 1fr; background: var(--night-soft, #edf1e7); }
.workbench-story .workbench-copy { max-width: 820px; }
.workbench-modules .article-content ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin-bottom: 0; }
.workbench-modules .article-content strong { display: block; margin-bottom: 8px; color: var(--forest); font-size: 18px; }
.workbench-entry { background: var(--night-soft, #e5ede2); }
.workbench-entry .article-content a { overflow-wrap: anywhere; }
.workbench-note { border: 0; padding: 12px 0; background: transparent; }
.workbench-note h2 { font-size: 15px; margin-bottom: 10px; }
.workbench-note .article-content p { color: var(--night-muted, #657368); font-size: 12px; }
.job-assistant .workbench-cover img, .job-assistant .workbench-image img { aspect-ratio: 2940 / 1602; }
.job-assistant .workbench-cover { background: var(--night-art, linear-gradient(135deg, #dde9e2, #f0eee4)); }
.job-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.job-flow a { gap: 12px; padding: 16px; }
.job-review { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 36px; align-items: center; }
.job-review .workbench-image { margin: 0; }
.job-options .workbench-copy { max-width: none; }
.job-options .article-content ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 24px 0; }
.job-options .article-content li { margin: 0; padding: 22px; border: 1px solid var(--night-line, #d1ded3); border-radius: 12px; background: var(--night-surface, #fafbf7); }
.job-options .article-content strong { display: block; margin-bottom: 10px; color: var(--forest); font-size: 17px; }
@media (max-width: 900px) {
  .workbench-hero { grid-template-columns: 1fr; gap: 26px; }
  .workbench-actions { align-items: flex-start; }
  .workbench-actions .tags { justify-content: flex-start; }
  .workbench-actions p { text-align: left; }
}
@media (max-width: 700px) {
  .workbench { padding-top: 22px; padding-bottom: 38px; }
  .workbench-hero { padding-top: 28px; gap: 24px; }
  .workbench-meta { gap: 12px; }
  .workbench-meta .eyebrow { font-size: 11px; }
  .workbench-intro h1 { font-size: 38px; }
  .workbench-summary { font-size: 19px; }
  .workbench-cover { padding: 10px; border-radius: 14px; }
  .workbench-cover figcaption { font-size: 10px; }
  .workbench-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
  .workbench-flow a { padding: 14px; gap: 10px; min-height: 60px; }
  .workbench-flow strong { font-size: 16px; }
  .workbench-content { grid-template-columns: 1fr; gap: 18px; }
  .workbench-section { padding: 24px 20px; scroll-margin-top: 130px; }
  .workbench-copy h2 { font-size: 22px; }
  .workbench-modules .article-content ul { grid-template-columns: 1fr; gap: 18px; }
  .workbench-note { padding: 12px 0; }
  .job-review { grid-template-columns: 1fr; gap: 24px; }
  .job-options .article-content ul { grid-template-columns: 1fr; gap: 12px; }
}

/* Work archive: introduce the project before its screenshot at every width. */
.projects-page .page-hero { padding-block: 64px 44px; }
.projects-page .page-hero h1 { font-size: clamp(38px, 4.5vw, 64px); }
.projects-page .page-hero + .section { padding-top: 36px; }
.featured-real {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 0;
}
.featured-real .featured-copy {
  min-width: 0;
  min-height: 0;
  padding: clamp(26px, 3.3vw, 46px);
}
.featured-real .featured-meta { flex-wrap: wrap; gap: 12px; }
.featured-real .featured-copy h3 {
  margin-top: 22px;
  font-size: clamp(27px, 2.7vw, 38px);
  overflow-wrap: anywhere;
}
.featured-real .featured-copy > p { max-width: none; }
.featured-real .featured-copy > .text-link {
  margin-top: 24px;
  padding-top: 5px;
  min-height: 44px;
}
.featured-real-art {
  min-width: 0;
  min-height: 0;
  padding: 32px;
  gap: 14px;
  align-content: center;
  background: var(--night-art, linear-gradient(130deg, #e5ede5, #edf2f9));
  text-decoration: none;
}
.featured-real-art::before { content: none; }
.featured-real-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: 12px;
}
.featured-real-caption { color: var(--night-muted, #5f7468); font-size: 11px; text-align: center; }
.project-card { min-width: 0; }
.project-card-top { flex-wrap: wrap; gap: 10px; }
.project-card-top > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.project-card-bottom { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.project-card-bottom h3, .project-card-bottom p { overflow-wrap: anywhere; }
.project-card-bottom > .card-link, .project-card-bottom > .card-pending {
  margin-top: auto;
  padding-top: 20px;
  min-height: 44px;
}
.project-card-bottom .tags { margin-bottom: 12px; }
@media (max-width: 1100px) {
  .projects-page .project-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-page .project-mini-grid .project-card:last-child { grid-column: auto; }
}
@media (max-width: 900px) {
  .featured-real { grid-template-columns: minmax(0, 1fr); }
  .featured-real-art { padding: 24px; }
  .featured-real .featured-copy h3 { font-size: 32px; }
}
@media (max-width: 760px) {
  .projects-page .project-mini-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .projects-page .page-hero { padding-block: 38px 30px; }
  .projects-page .page-hero h1 { font-size: clamp(33px, 8vw, 46px); }
  .projects-page .page-hero + .section { padding-top: 26px; }
  .featured-real .featured-copy { padding: 24px; }
  .featured-real .featured-copy h3 { font-size: 28px; }
  .featured-real-art { padding: 20px; }
}
