:root {
  --paper: #f0eee6;
  --ink: #191a18;
  --muted: #5a5a54;
  --line: #cfcdc3;
  --card: #e5dfd2;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
body:lang(en) {
  letter-spacing: 0.005em;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.25;
}
h1 {
  font-size: clamp(42px, 5.1vw, 72px);
  letter-spacing: -0.02em;
}
p {
  font-size: 18px;
}
.wrap {
  width: min(1320px, 91.5%);
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 10px;
  background: var(--paper);
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 4px;
  font:
    600 32px/1 Georgia,
    serif;
  letter-spacing: -2px;
}
.wordmark img {
  object-fit: contain;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 17px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.5;
}
.button:hover {
  background: #383a34;
}
.button-light {
  background: var(--paper);
  color: var(--ink);
}
.button-light:hover {
  background: #fff;
}
.site-header nav > a:not(.button):hover,
.text-link:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.introduction {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 10%;
  padding-block: 96px 88px;
}
.introduction > p {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.6;
}
.photo-feature {
  position: relative;
  isolation: isolate;
  height: clamp(430px, 43vw, 610px);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.landscape {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-position: center;
}
.photo-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0b1d2933;
  z-index: -1;
}
.photo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  color: #fff;
  padding: 28px;
}
.photo-content h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
  text-shadow: 0 2px 20px #0b1d2930;
}
.photo-content .mascot {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.photo-content .button {
  margin-top: 6px;
}
.product-section {
  padding-top: 88px;
}
.section-label {
  font-size: 23px;
  margin-bottom: 28px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-grid article {
  background: var(--card);
  border-radius: 12px;
  padding: 30px;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.product-grid h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.product-grid p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.product-grid .text-link {
  margin-top: auto;
}
.resources {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8%;
  padding-block: 85px 95px;
}
.resources h2 {
  font-size: 25px;
  line-height: 1.5;
}
.resource-links a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.resource-links a:first-child {
  padding-top: 4px;
}
.resource-links a:hover {
  color: #686454;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-block: 25px 35px;
}
.site-footer > a:last-child {
  font-size: 13px;
  color: var(--muted);
}
.identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding-block: 20px 65px;
  align-items: center;
  border-block: 1px solid var(--line);
}
.mascot-canvas {
  display: grid;
  place-items: center;
  min-height: 350px;
}
.identity-copy h2,
.gallery-heading h2 {
  font-size: 30px;
}
.identity-copy p {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 22px;
}
.asset-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.license-link {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 28px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.photography {
  padding-block: 75px 90px;
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 30px;
  margin-bottom: 32px;
}
.gallery-heading p {
  font-size: 16px;
  color: var(--muted);
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 25px;
}
.photo-grid figure:first-child {
  grid-column: 1/-1;
}
.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.photo-grid figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 16px;
}
.photo-grid figcaption a:hover {
  text-decoration: underline;
}
@media (min-width: 1600px) {
  .introduction {
    padding-block: 115px 100px;
  }
}
@media (max-width: 900px) {
  .introduction {
    gap: 7%;
    padding-block: 75px 65px;
  }
  h1 {
    font-size: 46px;
  }
  .introduction > p {
    font-size: 22px;
  }
  .product-grid {
    gap: 15px;
  }
  .product-grid article {
    padding: 24px;
  }
  .product-grid h3 {
    font-size: 20px;
  }
  .product-grid p {
    font-size: 18px;
  }
  .resources {
    gap: 7%;
  }
  .resources h2 {
    font-size: 23px;
  }
  .identity {
    gap: 5%;
  }
  .gallery-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: 89%;
  }
  .site-header {
    height: 72px;
  }
  .site-header nav {
    gap: 17px;
  }
  .site-header nav > a:first-child {
    display: none;
  }
  .site-header nav > a[href*="github.com"] {
    display: none;
  }
  .site-header .button {
    padding: 8px 12px;
    gap: 10px;
  }
  .introduction {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 56px 46px;
  }
  h1 {
    font-size: clamp(38px, 9.5vw, 52px);
    line-height: 1.25;
  }
  .introduction > p {
    font-size: 21px;
    max-width: 450px;
  }
  .photo-feature {
    height: 440px;
    border-radius: 12px;
  }
  .photo-content {
    gap: 24px;
  }
  .photo-content h2 {
    font-size: 49px;
  }
  .photo-content .mascot {
    width: 70px;
    height: 70px;
  }
  .product-section {
    padding-top: 55px;
  }
  .section-label {
    font-size: 23px;
    margin-bottom: 23px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-grid article {
    min-height: 0;
    padding: 26px;
  }
  .product-grid h3 {
    font-size: 22px;
  }
  .product-grid p {
    font-size: 19px;
    margin-bottom: 23px;
  }
  .resources {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 55px 65px;
  }
  .resources h2 {
    font-size: 26px;
  }
  .site-footer {
    gap: 18px;
  }
  .site-footer > a:last-child {
    font-size: 12px;
  }
  .identity {
    grid-template-columns: 1fr;
    padding-bottom: 45px;
    gap: 5px;
  }
  .mascot-canvas {
    min-height: 290px;
  }
  .mascot-canvas img {
    width: 240px;
    height: 240px;
  }
  .identity-copy h2,
  .gallery-heading h2 {
    font-size: 27px;
  }
  .identity-copy p {
    font-size: 21px;
  }
  .photography {
    padding-block: 50px 60px;
  }
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid figure:first-child {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.interactive-mascot {
  display: block;
  max-width: 100%;
  overflow: visible;
  flex-shrink: 0;
  transform-origin: 50% 100%;
}
.mascot-play {
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
  position: relative;
  overflow: visible;
}
.mascot-split-clone {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.mascot-split-clone svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mascot-play:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.site-footer nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
}
.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.feature-nav {
  display: flex;
  gap: 35px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}
.feature-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10%;
  padding: 75px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.feature-detail h2 {
  font-size: clamp(34px, 3.5vw, 50px);
  letter-spacing: -0.015em;
}
.feature-detail > div > p {
  max-width: 470px;
  margin: 24px 0;
  font-family: var(--serif);
  font-size: 22px;
}
.feature-list article + article {
  margin-top: 30px;
}
.feature-list h3 {
  font-size: 21px;
}
.feature-list p {
  font-size: 17px;
  margin-top: 8px;
  color: var(--muted);
}
.provider-panel > div {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.provider-panel > div:first-child {
  padding-top: 0;
}
.provider-panel img {
  object-fit: contain;
}
.provider-panel h3 {
  font-size: 22px;
}
.provider-panel > p {
  font: 16px var(--sans) !important;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 80px 0;
}
.closing h2 {
  font-size: 34px;
}
.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.journal-card {
  display: block;
}
.journal-card img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: 8px;
}
.journal-card h3 {
  font-size: clamp(23px, 2.3vw, 32px);
  letter-spacing: -0.01em;
  margin: 22px 0 12px;
}
.journal-card p {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 18px;
}
.journal-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.blog-preview {
  padding-top: 85px;
}
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.section-heading-row h2 {
  font-size: 24px;
}
.editorial {
  /* Reading measure: ~42 CJK chars at 18px, ~72 Latin chars at 21px. */
  --article-width: 760px;
  padding: 60px 0 90px;
}
.editorial > .text-link {
  display: block;
  width: min(100%, var(--article-width));
  margin-inline: auto;
}
.editorial > h1 {
  max-width: var(--article-width);
  margin: 45px auto 0;
  font-size: clamp(40px, 5vw, 66px);
}
.article-lead {
  font: 24px/1.6 var(--serif);
  max-width: var(--article-width);
  margin: 28px auto 45px;
}
.article-image {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  max-height: 470px;
  object-fit: cover;
  border-radius: 9px;
}
.article-body {
  max-width: var(--article-width);
  margin: 60px auto 0;
}
.article-body h2 {
  font-size: 28px;
  margin: 45px 0 20px;
}
.article-body p {
  font: 21px/1.8 var(--serif);
  margin: 20px 0;
}
.note-diagram {
  margin: 40px 0;
}
.note-diagram a {
  display: block;
}
.note-diagram img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 8px;
}
.note-diagram figcaption {
  margin-top: 12px;
  color: var(--muted);
  font: 14px/1.7 var(--sans);
}
.article-body > .text-link {
  margin-top: 22px;
}
.identity {
  padding-block: 35px;
  gap: 7%;
  grid-template-columns: 0.8fr 1.2fr;
}
.mascot-canvas {
  min-height: 260px;
}
.photo-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.photo-grid figure:first-child {
  grid-column: auto;
}
.photo-grid img {
  aspect-ratio: 1.4;
  object-fit: cover;
}
.identity-copy p {
  font: 18px/1.6 var(--sans);
}
@media (max-width: 640px) {
  .site-header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    padding-block: 16px;
    gap: 20px;
  }
  .site-header nav {
    flex-wrap: wrap;
    gap: 18px;
  }
  .site-header nav > a:first-child {
    display: inline;
  }
  .site-footer {
    align-items: start;
    flex-direction: column;
  }
  .site-footer nav {
    gap: 20px;
  }
  .feature-detail {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 45px 0;
  }
  .feature-nav {
    gap: 24px;
    font-size: 14px;
  }
  .feature-detail > div > p {
    font-size: 21px;
  }
  .journal-grid,
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .blog-preview {
    padding-top: 60px;
  }
  .journal-card h3 {
    font-size: 26px;
  }
  .closing {
    flex-direction: column;
    align-items: start;
    padding: 55px 0;
  }
  .closing h2 {
    font-size: 30px;
  }
  .section-heading-row h2 {
    font-size: 22px;
  }
  .identity {
    grid-template-columns: 1fr;
  }
  .mascot-canvas {
    min-height: 230px;
  }
  .editorial {
    padding-top: 40px;
  }
  .article-lead {
    font-size: 22px;
  }
  .article-body {
    margin-top: 40px;
  }
  .article-body p {
    font-size: 20px;
  }
}
/* Localized typesetting shares the English composition and components. */
.zh-page {
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}
.zh-page :is(h1, h2, h3) {
  letter-spacing: 0;
  line-height: 1.45;
  text-wrap: balance;
}
.zh-page .introduction h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 600;
}
.zh-page .introduction > p {
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.85;
}
.zh-page .photo-content h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 400;
}
.zh-page .product-grid p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
}
.zh-page .product-grid h3 {
  font-size: 23px;
}
.zh-page .journal-card h3 {
  font-size: clamp(23px, 2.2vw, 30px);
}
.zh-page .journal-card p {
  font-size: 17px;
  line-height: 1.85;
}
.zh-page .resources h2 {
  font-size: 25px;
  line-height: 1.65;
}
.zh-page p {
  line-break: strict;
  text-wrap: pretty;
}
.site-header nav > a[hreflang] {
  display: inline;
}
@media (max-width: 640px) {
  .zh-page .introduction {
    gap: 25px;
  }
  .zh-page .introduction h1 {
    font-size: clamp(36px, 9.5vw, 48px);
  }
  .zh-page .introduction > p {
    font-size: 20px;
    max-width: 100%;
  }
  .zh-page .photo-content h2 {
    font-size: clamp(29px, 7.5vw, 40px);
  }
  .zh-page .site-header nav {
    gap: 18px;
  }
}
.zh-page .article-body p {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 2;
}
.zh-page .article-body h2 {
  font-size: 27px;
}
.zh-page .article-lead {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.85;
  max-width: var(--article-width);
}
.zh-page .editorial > h1 {
  font-size: clamp(36px, 4.5vw, 58px);
}
.zh-page .feature-detail > div > p {
  font-size: 21px;
  line-height: 1.85;
}
.zh-page .feature-list p {
  line-height: 1.85;
}
.zh-page .feature-detail h2 {
  font-size: clamp(31px, 3.5vw, 46px);
}
@media (max-width: 640px) {
  .zh-page .article-body p {
    font-size: 17px;
  }
  .zh-page .article-body h2 {
    font-size: 24px;
  }
  .zh-page .article-lead {
    font-size: 21px;
  }
}

/* Shared native disclosures keep navigation available without JavaScript. */
.site-header-shell {
  position: relative;
  z-index: 20;
  background: var(--paper);
}
.nav-menu summary {
  cursor: pointer;
  list-style: none;
}
.nav-menu summary::-webkit-details-marker {
  display: none;
}
.nav-menu summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.site-header
  nav:has(.nav-menu[open])
  .nav-menu:not([open])
  summary:not(.button) {
  color: var(--muted);
}
.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
}
.nav-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 8%;
  padding-block: 44px 54px;
  min-height: 260px;
}
.nav-label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.nav-intro p {
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.4;
  max-width: 19em;
  text-wrap: balance;
}
.nav-featured {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.nav-featured span {
  font-size: 0.7em;
  margin-left: 10px;
}
.nav-destinations {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.nav-destinations > a:not(.nav-featured) {
  font-size: 21px;
  line-height: 1.4;
}
.nav-panel a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.nav-backdrop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 0;
  background: rgb(25 26 24 / 12%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header-shell:has(.nav-menu[open]):not(.nav-enhanced) .nav-backdrop,
.nav-enhanced.is-navigation-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.nav-enhanced::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: var(--nav-panel-height, 260px);
  z-index: 1;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: height 220ms ease, opacity 200ms ease, visibility 0s linear 200ms;
}
.nav-enhanced.is-navigation-open::after {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.nav-enhanced .nav-panel {
  background: transparent;
  border-bottom-color: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.nav-enhanced .nav-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
  z-index: 3;
}
.nav-enhanced .nav-panel-inner {
  transform: translateY(6px);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-enhanced .nav-panel.is-active .nav-panel-inner { transform: translateY(0); }
.nav-menu summary {
  transition: color 180ms ease, background-color 180ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .nav-backdrop, .nav-menu summary, .nav-enhanced::after, .nav-enhanced .nav-panel, .nav-enhanced .nav-panel-inner { transition: none; }
}
.article-body a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-body code {
  font-size: 0.86em;
}
.article-next {
  display: block;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-decoration: none !important;
}
.article-next strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  font-weight: 500;
}
@media (max-width: 640px) {
  .nav-panel-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
    padding-block: 28px 36px;
  }
  .nav-featured {
    font-size: 28px;
  }
  .nav-intro p {
    font-size: 24px;
  }
  .nav-destinations > a:not(.nav-featured) {
    font-size: 18px;
  }
}

.essay-figure {
  margin: 44px 0;
  padding: clamp(20px, 4vw, 42px);
  background: #e8e5dc;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.figure-kicker { font: 500 14px/1.5 var(--sans); color: var(--muted); margin-bottom: 32px; }
.essay-figure figcaption { margin-top: 24px; font: 14px/1.7 var(--sans); color: var(--muted); }
.context-trace { display: grid; gap: 22px; }
.trace-row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; align-items: center; }
.trace-row > span { font-size: 14px; }
.trace-track { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 6px; }
.trace-track > * { font: 500 13px/1.5 var(--sans); padding: 12px 14px; border-radius: 3px; }
.trace-track b { background: #d6dbcd; }
.trace-track i { background: #dcd7cc; }
.trace-track em { background: var(--ink); color: var(--paper); }
.projection-demo { display: grid; grid-template-columns: 0.7fr 40px 1.4fr; gap: 20px; align-items: center; }
.diagram-label { display: block; font: 14px/1.6 var(--sans); margin-bottom: 16px; }
.saved-source { text-align: center; }
.saved-source strong { font: 14px/1.5 var(--sans); }
.source-sheet { width: 125px; padding: 22px 18px; margin: 0 auto 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; box-shadow: 5px 5px 0 #dcd7cc; display: grid; gap: 8px; }
.source-sheet span { height: 3px; background: #b4b9aa; }
.source-sheet span:nth-child(3n) { width: 65%; }
.diagram-arrow { font-size: 30px; color: var(--muted); text-align: center; }
.code-sample { padding: 18px; border: 1px solid var(--line); background: var(--paper); border-radius: 6px; overflow-wrap: anywhere; }
.article-body .code-sample code { display: block; font: 13px/1.9 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.read-continuation { margin: 14px 0; }
.read-continuation summary { cursor: pointer; padding: 12px; border: 1px dashed #a6ae9b; background: #d6dbcd; list-style: none; font: 14px/1.5 var(--sans); display: flex; gap: 10px; justify-content: space-between; }
.read-continuation summary::-webkit-details-marker { display: none; }
.read-continuation summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.read-continuation[open] summary span { transform: rotate(45deg); }
.read-continuation code { padding-top: 12px; }
.recovery-label { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .trace-row { grid-template-columns: 1fr; gap: 8px; }
  .trace-track > * { padding: 9px; }
  .projection-demo { grid-template-columns: 1fr; gap: 16px; }
  .saved-source { text-align: left; }
  .saved-source .source-sheet { display: none; }
  .saved-source .diagram-label { margin-bottom: 4px; }
  .diagram-arrow { display: none; }
  .figure-kicker { margin-bottom: 24px; }
}

/* Blog index */
.blog-index {
  display: grid;
  gap: 24px;
}
.blog-entry {
  display: block;
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.blog-entry:hover {
  border-color: var(--ink);
}
.blog-entry h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.blog-entry p {
  margin: 0;
  font: 18px/1.7 var(--serif);
  color: var(--muted);
}
