html.locale-prepaint .site {
  opacity: 1;
  animation: none;
}
body[data-page="thinking"] .thinking-index {
  padding-top: 46px;
}

body[data-page="thinking"] .hero::after,
body[data-page="thinking"] .thinking-index::after {
  display: none;
}

body[data-page="thinking"] .thinking-index-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}

body[data-page="thinking"] .thinking-index-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

body[data-page="thinking"] .thinking-index-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1;
}

body[data-page="thinking"] .thinking-index-title .results-count {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="thinking"] .thinking-index-head .search input {
  min-height: 44px;
  border-color: rgba(23, 23, 23, 0.12);
  background: rgba(255, 252, 246, 0.42);
}

body[data-page="thinking"] .thinking-filter-grid {
  display: grid;
  grid-template-columns: minmax(150px, 1.08fr) minmax(170px, 1.32fr) minmax(116px, 0.7fr) minmax(116px, 0.7fr) auto;
  align-items: end;
  gap: 10px;
  margin: 0 0 50px;
  padding: 4px 0 0;
  border: 0;
}

body[data-page="thinking"] .thinking-filter-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 10px;
}

body[data-page="thinking"] .thinking-filter-field > span {
  line-height: 1;
}

body[data-page="thinking"] .thinking-filter-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 0;
  background-color: rgba(255, 252, 246, 0.42);
  color: var(--ink);
  padding: 0 34px 0 12px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

body[data-page="thinking"] .thinking-filter-field select:focus-visible,
body[data-page="thinking"] .thinking-filter-reset:focus-visible {
  border-color: rgba(176, 138, 67, 0.62);
  box-shadow: 0 0 0 3px rgba(176, 138, 67, 0.1);
}

body[data-page="thinking"] .thinking-filter-reset {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0 4px;
  font-size: 12px;
  white-space: nowrap;
}

body[data-page="thinking"] .thinking-filter-reset:hover {
  color: var(--ink);
}

body[data-page="thinking"] .article-layout {
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.65fr);
  gap: clamp(34px, 5vw, 72px);
}

body[data-page="thinking"] .featured-article {
  top: 24px;
  min-height: 440px;
  padding: 7px 0 28px;
  overflow: visible;
  isolation: isolate;
  transform: translateY(0);
  transition: border-color 180ms ease, transform 200ms ease;
}

body[data-page="thinking"] .featured-article::before {
  display: none;
}

body[data-page="thinking"] .featured-article::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -12px 0 -12px -18px;
  display: block;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(var(--editorial-paper-rgb), 0.66), rgba(var(--editorial-gold-rgb), 0.075) 62%, rgba(var(--editorial-paper-rgb), 0));
  box-shadow: none;
  filter: none;
  opacity: 0.28;
  animation: none;
  transition: opacity 200ms ease, box-shadow 200ms ease;
}

body[data-page="thinking"] .featured-article > * {
  position: relative;
  z-index: 1;
}

body[data-page="thinking"] .featured-article:hover,
body[data-page="thinking"] .featured-article:focus-within {
  border-color: transparent;
  transform: translateY(-2px);
  z-index: 2;
}

body[data-page="thinking"] .featured-article:hover::after,
body[data-page="thinking"] .featured-article:focus-within::after {
  box-shadow: 0 18px 42px rgba(49, 42, 31, 0.07);
  opacity: 1;
}

body[data-page="thinking"] .featured-article .button-text > span:last-child {
  display: inline-block;
  transition: transform 180ms ease;
}

body[data-page="thinking"] .featured-article:hover .button-text > span:last-child,
body[data-page="thinking"] .featured-article:focus-within .button-text > span:last-child {
  transform: translateX(4px);
}

body[data-page="thinking"] .featured-article .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 600;
}

body[data-page="thinking"] .featured-article .eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

body[data-page="thinking"] .featured-article h2 {
  max-width: 390px;
  margin: 0 0 18px;
  font-size: clamp(32px, 3.25vw, 48px);
  line-height: 1.08;
}

body[data-page="thinking"] .featured-article p {
  max-width: 410px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.78;
}

body[data-page="thinking"] .featured-article p.meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

body[data-page="thinking"] .featured-article .tag-list {
  margin-bottom: 18px;
}

body[data-page="thinking"] .archive-current-month {
  min-width: 0;
}

body[data-page="thinking"] .archive-current-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 0 0 20px;
  border-bottom: 0;
}

body[data-page="thinking"] .archive-current-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

body[data-page="thinking"] .archive-current-title h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
}

body[data-page="thinking"] .archive-current-title span {
  color: var(--muted);
  font-size: 11px;
}

body[data-page="thinking"] .archive-current-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 11px;
}

body[data-page="thinking"] .archive-current-nav span {
  width: 1px;
  height: 12px;
  background: rgba(23, 23, 23, 0.14);
}

body[data-page="thinking"] .archive-current-nav a {
  color: var(--muted);
  text-decoration: none;
}

body[data-page="thinking"] .archive-current-nav a:hover {
  color: var(--ink);
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) {
  gap: 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row {
  grid-template-columns: 76px minmax(0, 1fr);
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.055);
  background: transparent;
  box-shadow: none;
  filter: none;
  isolation: isolate;
  transform: translateY(0);
  transition: border-color 180ms ease, transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:last-child {
  border-bottom: 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:hover,
body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:focus-visible {
  border-color: transparent;
  background: transparent;
  box-shadow: 0 16px 36px rgba(49, 42, 31, 0.075);
  filter: saturate(1.015);
  transform: translateY(-2px);
  z-index: 2;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:has(+ .article-row:hover),
body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:has(+ .article-row:focus-visible) {
  border-bottom-color: transparent;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:focus-visible {
  outline: 1px solid rgba(176, 138, 67, 0.48);
  outline-offset: 2px;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row::before {
  display: none;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--editorial-paper-rgb), 0.58), rgba(var(--editorial-gold-rgb), 0.075) 56%, rgba(var(--editorial-paper-rgb), 0));
  opacity: 0;
  transition: opacity 200ms ease;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row > * {
  position: relative;
  z-index: 1;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:hover::after,
body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:focus-visible::after {
  opacity: 1;
}

body[data-page="thinking"] .archive-list .article-index {
  padding: 29px 16px 0 0;
}

body[data-page="thinking"] .archive-list .article-date span {
  color: var(--gold-dark);
  font-size: 24px;
  white-space: nowrap;
  letter-spacing: 0;
}

body[data-page="thinking"] .archive-list .article-date strong {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
}

body[data-page="thinking"] .archive-list .article-copy {
  padding: 26px 0 30px;
}

body[data-page="thinking"] .archive-list .article-copy .meta {
  margin-bottom: 8px;
  font-size: 10px;
}

body[data-page="thinking"] .archive-list .article-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.05vw, 32px);
  line-height: 1.18;
}

body[data-page="thinking"] .archive-list .article-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

body[data-page="thinking"] .archive-list .article-copy .button-text {
  margin-top: 14px;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy .button-text > span:last-child {
  display: inline-block;
  transition: transform 180ms ease;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:hover .button-text > span:last-child,
body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:focus-visible .button-text > span:last-child {
  transform: translateX(4px);
}

body[data-page="thinking"] .archive-year-nav {
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}

body[data-page="thinking"] .archive-year-nav a {
  min-height: 32px;
  border: 0;
  background: transparent;
  padding: 0 6px;
  color: var(--muted);
  font-size: 10px;
  text-transform: none;
}

body[data-page="thinking"] .archive-year-nav a:hover {
  color: var(--ink);
  box-shadow: none;
}

@media (max-width: 1080px) {
  body[data-page="thinking"] .thinking-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-page="thinking"] .thinking-filter-reset {
    grid-column: 1 / -1;
    justify-self: end;
    min-height: 28px;
  }

  body[data-page="thinking"] .article-layout {
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    gap: 34px;
  }
}

@media (max-width: 820px) {
  body[data-page="thinking"] .thinking-index-head {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body[data-page="thinking"] .thinking-index-head .search {
    max-width: none;
  }

  body[data-page="thinking"] .thinking-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 34px;
  }

  body[data-page="thinking"] .article-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="thinking"] .featured-article {
    position: static;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.42fr);
    gap: 26px;
    padding: 0 0 34px;
    border-bottom: 1px solid rgba(23, 23, 23, 0.11);
  }

  body[data-page="thinking"] .featured-article h2,
  body[data-page="thinking"] .featured-article p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  body[data-page="thinking"] .thinking-index {
    padding-top: 36px;
  }

  body[data-page="thinking"] .thinking-index-head {
    gap: 18px;
  }

  body[data-page="thinking"] .thinking-filter-grid {
    gap: 9px;
    padding: 14px 0;
  }

  body[data-page="thinking"] .thinking-filter-field select {
    padding-left: 10px;
    font-size: 12px;
  }

  body[data-page="thinking"] .featured-article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="thinking"] .archive-current-head {
    display: grid;
    align-items: start;
    gap: 12px;
  }

  body[data-page="thinking"] .archive-current-nav {
    justify-content: flex-start;
  }

  body[data-page="thinking"] .archive-list .article-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  body[data-page="thinking"] .archive-list .article-index {
    padding-right: 10px;
  }

  body[data-page="thinking"] .archive-list .article-date span {
    font-size: 19px;
  }

  body[data-page="thinking"] .archive-list .article-copy {
    padding: 23px 0 26px;
  }

  body[data-page="thinking"] .archive-list .article-copy h3 {
    font-size: 21px;
  }

  body[data-page="thinking"] .archive-list .article-copy p {
    -webkit-line-clamp: 2;
  }
}

html.locale-ready .site {
  opacity: 1;
  transition: none;
}

html.admin-prepaint .site {
  opacity: 0;
  animation: locale-prepaint-fallback 0s 1200ms forwards;
}

html.admin-shell-ready .site {
  opacity: 1;
  transition: opacity 100ms ease-out;
}

@keyframes locale-prepaint-fallback {
  to { opacity: 1; }
}

:root {
  --paper: #f7f2e8;
  --paper-2: #fbf8f0;
  --ink: #171717;
  --muted: #6f6a61;
  --line: rgba(23, 23, 23, 0.13);
  --gold: #b08a43;
  --gold-soft: rgba(176, 138, 67, 0.16);
  --card: rgba(255, 252, 246, 0.76);
  --card-solid: #fffaf1;
  --editorial-paper-rgb: 255, 252, 246;
  --editorial-gold-rgb: 176, 138, 67;
  --shadow: 0 24px 80px rgba(39, 32, 20, 0.08), 0 2px 10px rgba(39, 32, 20, 0.06);
  --control-height: 46px;
  --control-height-sm: 34px;
  --control-x: 24px;
  --panel-padding: 24px;
  --card-padding: 26px;
  --row-padding: 18px;
  --label-size: 10px;
  --label-tracking: 0.12em;
  --body-sm: 13px;
  --body-md: 15px;
  --serif: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.85), transparent 26%),
    radial-gradient(circle at 78% 2%, rgba(176, 138, 67, 0.13), transparent 26%),
    linear-gradient(180deg, var(--paper), var(--paper-2) 46%, var(--paper));
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(23, 23, 23, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 85%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
textarea { cursor: text; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(176, 138, 67, 0.72);
  outline-offset: 3px;
}

.page {
  width: min(1440px, calc(100% - 42px));
  margin: 22px auto;
  border: 1px solid rgba(23, 23, 23, 0.11);
  border-radius: 26px;
  background: rgba(247, 242, 232, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

body[data-page="observe"] .page {
  overflow: visible;
}

body:is([data-page="article"], [data-page="draft-preview"]) .page {
  overflow: visible;
}

body[data-page="observe"] .browser-bar {
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}

body:is([data-page="article"], [data-page="draft-preview"]) .browser-bar {
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}

.browser-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: #202020;
  color: #cfcfcf;
}

.traffic { display: flex; gap: 8px; flex: 0 0 auto; }
.traffic span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.traffic span:nth-child(1) { background: #f1665c; }
.traffic span:nth-child(2) { background: #e7c24a; }
.traffic span:nth-child(3) { background: #5fc06a; }

.url {
  margin: 0 auto;
  width: min(460px, 52vw);
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.site { padding: 42px min(5.6vw, 78px) 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
}

.brand-text {
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  filter: drop-shadow(0 5px 12px rgba(36, 31, 22, 0.08));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  min-width: 0;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  align-items: center;
  justify-content: flex-end;
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #232323;
  white-space: nowrap;
  min-width: 0;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--control-height-sm);
  padding: 6px 0;
  text-align: center;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 240ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: var(--control-height-sm);
  padding: 3px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  background: rgba(255, 252, 246, 0.6);
  gap: 2px;
}

.lang-switch button,
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.lang-switch button.active,
.lang-switch a.active {
  color: #fff;
  background: var(--ink);
}

h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); line-height: 1.7; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
  line-height: 1.35;
  max-width: 100%;
}

.eyebrow::before {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 1px;
  background: var(--gold);
}

html[lang="en"] body[data-page="home"] .hero-copy .eyebrow {
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: min(7vw, 92px);
  align-items: center;
  min-height: 560px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.hero.narrow {
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 460px;
}
.hero.narrow > .hero-copy {
  align-self: start;
}

.hero.narrow > .hero-copy > .eyebrow {
  display: flex;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 144px);
  line-height: 0.9;
  letter-spacing: 0;
  margin-bottom: 22px;
  font-weight: 400;
}

.subpage-title {
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 22px;
  font-weight: 400;
}

.gold-stroke {
  width: 148px;
  height: 12px;
  display: block;
  margin: -6px 0 28px 4px;
}

.hero-copy h2 {
  font-family: var(--serif);
  font-size: clamp(31px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 22px;
}

.hero-copy p {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.actions { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--control-height);
  max-width: 100%;
  padding: 0 var(--control-x);
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 1px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 12px 32px rgba(23, 23, 23, 0.14);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.2), 0 0 0 4px rgba(176, 138, 67, 0.12);
}

.button-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--control-height);
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #252525;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button-text span { transition: transform 220ms ease; }
.button-text span + span {
  display: inline-block;
  animation: site-arrow-forward 4.8s ease-in-out infinite;
}

.button-text:hover span:last-child {
  animation: none;
  transform: translateX(5px);
}

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 9% 4% 11% 8%;
  border: 1px solid rgba(23,23,23,0.11);
  background-image:
    linear-gradient(rgba(23,23,23,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,23,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: rotate(-0.5deg);
  opacity: 0.75;
}

.method-hero-art::before {
  inset: 12% 7% 12% 8%;
  border-color: rgba(23,23,23,0.075);
  background-image:
    linear-gradient(rgba(23,23,23,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,23,0.024) 1px, transparent 1px);
  background-size: 88px 88px;
  transform: none;
  opacity: 0.64;
}

.sketch {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 16px rgba(41,32,20,0.04));
}

.draw-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2s ease forwards;
}
.draw-line.delay-1 { animation-delay: 0.2s; }
.draw-line.delay-2 { animation-delay: 0.45s; }
.draw-line.delay-3 { animation-delay: 0.7s; }
.draw-line.delay-4 { animation-delay: 0.95s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.pulse-dot { animation: pulse 3s ease-in-out infinite; transform-origin: center; }
@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}

.section-title::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-action {
  color: #2b2b2b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-align: right;
  white-space: normal;
}

.section-intro {
  max-width: 820px;
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-head.compact .section-title {
  font-size: 12px;
  letter-spacing: 0.2em;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }

.card,
.feature-card,
.method-card,
.resume-panel,
.signal-card,
.note-card,
.project-card,
.quote-card,
.contact-card,
.article-row {
  min-width: 0;
  background: var(--card);
  border: 1px solid rgba(23,23,23,0.10);
  box-shadow: 0 12px 38px rgba(36, 31, 22, 0.045);
  backdrop-filter: blur(12px);
  overflow-wrap: break-word;
}

.feature-card,
.method-card,
.resume-panel,
.signal-card,
.project-card,
.note-card,
.article-row {
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.feature-card:hover,
.method-card:hover,
.resume-panel:hover,
.signal-card:hover,
.project-card:hover,
.note-card:hover,
.article-row:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 138, 67, 0.34);
  box-shadow: 0 22px 58px rgba(36, 31, 22, 0.085);
}

.home-card-link,
.principle {
  color: inherit;
  text-decoration: none;
}

.home-card-link {
  display: flex;
}

.case-card.home-card-link {
  display: block;
}

.feature-card {
  min-height: 230px;
  height: 100%;
  padding: var(--card-padding);
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
}

.feature-card .num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-family: var(--serif);
  margin-bottom: 28px;
}

.feature-card h3,
.method-card h3,
.resume-panel h3,
.signal-card h3,
.note-card h3,
.project-card h3,
.article-row h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.feature-card h3 { font-size: 25px; line-height: 1.1; margin-bottom: 12px; }
.feature-card p { font-size: 14px; line-height: 1.65; margin-bottom: 20px; align-self: start; }

.method-node rect {
  fill: rgba(255, 252, 246, 0.76);
  stroke: rgba(23,23,23,0.18);
}

.method-node text {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  fill: #171717;
}

.method-lineage {
  width: min(100%, 760px);
  height: auto;
}

.method-field path,
.method-field ellipse,
.method-thread,
.method-signal-ruler path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-field path {
  stroke: rgba(23,23,23,0.065);
  stroke-width: 1;
}

.method-field ellipse {
  stroke: rgba(176,138,67,0.16);
  stroke-width: 1;
}

.method-field-minimal path:nth-child(2) {
  stroke: rgba(23,23,23,0.05);
}

.method-thread {
  stroke: rgba(23,23,23,0.46);
  stroke-width: 1.15;
}

.method-thread.is-muted {
  stroke: rgba(23,23,23,0.16);
}

.method-thread.is-gold {
  stroke: rgba(176,138,67,0.66);
  stroke-width: 1.2;
}

.method-focus circle,
.method-focus path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-focus circle:first-child {
  stroke: rgba(176,138,67,0.52);
  stroke-width: 1.4;
}

.method-focus circle:nth-child(2) {
  fill: rgba(176,138,67,0.64);
  stroke: rgba(176,138,67,0.72);
  stroke-width: 1;
}

.method-focus path {
  stroke: rgba(23,23,23,0.28);
  stroke-width: 1;
}

.method-anchor-field circle {
  fill: rgba(23,23,23,0.72);
}

.method-anchor-field circle:nth-child(4),
.method-anchor-field circle:nth-child(5),
.method-anchor-field circle:nth-child(6) {
  fill: rgba(176,138,67,0.72);
}

.method-signal-ruler path {
  stroke: rgba(23,23,23,0.24);
  stroke-width: 1;
}

.method-signal-ruler circle {
  fill: var(--gold);
  opacity: 0.82;
}

.method-card {
  min-height: 294px;
  height: 100%;
  padding: var(--card-padding);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
}

.method-card .num {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-family: var(--serif);
  margin-bottom: 30px;
}

.method-card h3 { font-size: 24px; line-height: 1.08; margin-bottom: 12px; }
.method-card p { font-size: 14px; line-height: 1.62; margin-bottom: 22px; align-self: start; }

.method-flow {
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255, 252, 246, 0.48);
}

.method-row {
  display: grid;
  grid-template-columns: 90px 0.48fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.method-row:last-child { border-bottom: 0; }
.method-row strong {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 26px;
  font-weight: 400;
}

.method-row h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 400;
  margin: 0;
}

.method-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
}

.mini-path {
  font-family: var(--serif);
  font-size: 13px;
  color: #2b2925;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid rgba(23,23,23,0.12);
  background: rgba(255,255,255,0.26);
  color: #4e493f;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.note-card {
  min-height: 254px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.note-visual {
  height: 96px;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.25);
  overflow: hidden;
}

.note-body { flex: 1; display: flex; flex-direction: column; padding: 20px 20px 18px; }
.note-body h3 { font-size: 22px; margin-bottom: 10px; }
.note-body p { font-size: 14px; line-height: 1.55; margin-bottom: 18px; }
.note-body .meta { margin-top: auto; }

.meta {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.meta b { color: var(--gold); font-weight: 500; }

.project-card {
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: 320px 1fr;
}
.project-shot {
  height: 320px;
  min-height: 320px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.45), rgba(176,138,67,0.08)),
    rgba(255,255,255,0.22);
  display: grid;
  place-items: center;
  padding: 24px;
}

.project-shot > * {
  max-width: 100%;
  max-height: 100%;
}

.project-body { display: flex; flex-direction: column; padding: 28px; }
.project-body h3 { min-height: 64px; font-size: 30px; line-height: 1.05; margin-bottom: 12px; }
.project-body p { font-size: 15px; margin-bottom: 18px; }
.project-body > p:not(.meta) { min-height: 58px; }
.project-stack { min-height: 42px; align-content: start; }
.project-body .tag-list { min-height: 44px; align-content: start; margin-bottom: 18px; }

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.case-card {
  background: var(--card);
  border: 1px solid rgba(23,23,23,0.10);
  box-shadow: 0 12px 38px rgba(36, 31, 22, 0.045);
  backdrop-filter: blur(12px);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  overflow: hidden;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 138, 67, 0.34);
  box-shadow: 0 22px 58px rgba(36, 31, 22, 0.085);
}
.case-top { display: grid; grid-template-columns: 220px 1fr; min-height: 164px; border-bottom: 1px solid var(--line); }
.case-art { border-right: 1px solid var(--line); display: grid; place-items: center; background: rgba(255,255,255,0.24); }
.case-title { padding: 30px 30px 24px; }
.case-title h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; font-weight: 400; margin-bottom: 12px; letter-spacing: 0; }
.case-title p { color: #514d46; font-size: 16px; line-height: 1.55; margin-bottom: 0; }
.case-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.case-step { padding: 18px 18px 22px; min-height: 118px; border-right: 1px solid var(--line); }
.case-step:last-child { border-right: 0; }
.case-step strong { display: block; font-size: 10px; letter-spacing: 0.12em; line-height: 1.28; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.case-step span { font-size: 13px; line-height: 1.48; color: #35312b; }

html[lang="en"] .case-step {
  padding: 18px 14px 20px;
  min-height: 132px;
}

html[lang="en"] .case-step strong {
  font-size: 9px;
  letter-spacing: 0.11em;
}

html[lang="en"] .case-step span {
  font-size: 12.5px;
  line-height: 1.44;
}

.thinking {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255, 252, 246, 0.48);
}
.principle {
  border: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
  background: transparent;
  min-height: 210px;
  padding: 30px 22px 26px;
  display: block;
  text-align: center;
  transition: background 220ms ease, transform 220ms ease;
}
.principle:last-child { border-right: 0; }
.principle:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-2px);
}
.principle h3 { font-family: var(--serif); font-size: 18px; font-weight: 400; margin: 14px 0 8px; }
.principle p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }

.about-block { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 48px; align-items: stretch; }
.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 24px;
}
.about-copy p { color: var(--muted); font-size: 17px; line-height: 1.78; max-width: 620px; }

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #403b33;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.status-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4f8d68;
  box-shadow: 0 0 0 5px rgba(79,141,104,0.12);
}

.console-shot,
.app-shot,
.map-shot {
  width: min(520px, 100%);
  border: 1px solid rgba(23,23,23,0.18);
  background: rgba(255,252,246,0.78);
  box-shadow: 0 16px 42px rgba(23,23,23,0.08);
  position: relative;
  overflow: hidden;
}

body[data-page="work"] .hero-art .app-shot::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176,138,67,0.56), transparent);
  opacity: 0;
  animation: work-scan-line 7s ease-in-out infinite;
}

body[data-page="work"] .app-main span,
body[data-page="work"] .console-line,
body[data-page="work"] .map-node span,
body[data-page="work"] .map-rail {
  animation: work-line-breathe 5.8s ease-in-out infinite;
}

body[data-page="work"] .app-main span:nth-child(2),
body[data-page="work"] .console-line:nth-child(2),
body[data-page="work"] .map-node:nth-child(2) span {
  animation-delay: 0.55s;
}

body[data-page="work"] .app-main span:nth-child(3),
body[data-page="work"] .console-line:nth-child(3),
body[data-page="work"] .map-node:nth-child(3) span {
  animation-delay: 1.1s;
}

body[data-page="work"] .console-line:nth-child(4),
body[data-page="work"] .map-node:nth-child(4) span,
body[data-page="work"] .map-rail {
  animation-delay: 1.65s;
}

body[data-page="work"] .project-shot svg path[stroke="#b08a43"] {
  stroke-dasharray: 540;
  stroke-dashoffset: 540;
  animation: draw 2.4s ease forwards, work-gold-line 6s ease-in-out 2.4s infinite;
}

body[data-page="work"] .status-line::before {
  animation: work-status-pulse 4.8s ease-in-out infinite;
}

@keyframes work-scan-line {
  0%, 18%, 100% { opacity: 0; transform: translateY(0); }
  32% { opacity: 0.46; }
  54% { opacity: 0.16; transform: translateY(142px); }
}

@keyframes work-line-breathe {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 0.98; }
}

@keyframes work-gold-line {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes work-status-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(79,141,104,0.12); }
  50% { box-shadow: 0 0 0 8px rgba(79,141,104,0.18); }
}

.shot-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: #202020;
}

.shot-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f1665c;
}
.shot-bar span:nth-child(2) { background: #e7c24a; }
.shot-bar span:nth-child(3) { background: #5fc06a; }

.console-lines { padding: 20px; display: grid; gap: 10px; }
.console-line {
  height: 12px;
  background: rgba(23,23,23,0.18);
}
.console-line:nth-child(2) { width: 72%; background: rgba(176,138,67,0.55); }
.console-line:nth-child(3) { width: 88%; }
.console-line:nth-child(4) { width: 56%; }

.app-shot { padding-bottom: 20px; }
.app-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 16px;
  padding: 18px;
}
.app-side,
.app-main,
.map-node,
.map-rail { border: 1px solid rgba(23,23,23,0.12); background: rgba(255,255,255,0.28); }
.app-side { min-height: 138px; }
.app-main { min-height: 138px; padding: 18px; display: grid; gap: 12px; align-content: start; }
.app-main span {
  height: 10px;
  background: rgba(23,23,23,0.16);
}
.app-main span:nth-child(1) { width: 54%; background: rgba(176,138,67,0.55); }
.app-main span:nth-child(2) { width: 88%; }
.app-main span:nth-child(3) { width: 68%; }

.map-shot { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.map-node { min-height: 72px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.map-node span { height: 8px; background: rgba(23,23,23,0.16); }
.map-node span:first-child { width: 62%; background: rgba(176,138,67,0.55); }
.map-node span:last-child { width: 86%; }
.map-rail { grid-column: 1 / -1; min-height: 44px; }

.contact-hero .hero-art::before {
  inset: 13% 9%;
  border-radius: 50%;
}

.profile-mark {
  position: relative;
  z-index: 2;
  width: min(430px, 86vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23,23,23,0.10);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,250,241,0.92), rgba(255,250,241,0.58) 58%, rgba(176,138,67,0.08) 100%);
  box-shadow: 0 28px 84px rgba(36,31,22,0.08);
}

.profile-mark::before,
.profile-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(176,138,67,0.22);
}

.profile-mark::before { inset: 11%; }
.profile-mark::after { inset: 22%; border-color: rgba(23,23,23,0.10); }

.profile-mark img {
  width: 70%;
  height: auto;
  position: relative;
  z-index: 1;
  margin-top: -34px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(36,31,22,0.12));
}

.profile-mark-label {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(330px, 78%);
  text-align: center;
}

.profile-mark-label span {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 8px;
}

.profile-mark-label small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.resume-panel {
  min-height: 260px;
  height: 100%;
  padding: 30px;
}

.resume-panel h3 {
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: 0;
  min-height: 2.08em;
  margin-bottom: 16px;
}

.resume-panel p { font-size: 15px; line-height: 1.7; margin-bottom: 0; }

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255, 252, 246, 0.48);
}

.signal-card {
  min-height: 238px;
  height: 100%;
  padding: 26px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
  background: transparent;
}

.signal-card:last-child { border-right: 0; }

.signal-card strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 28px;
}

.signal-card h3 { font-size: 22px; line-height: 1.12; margin-bottom: 12px; }
.signal-card p { font-size: 13px; line-height: 1.58; margin-bottom: 0; }

.observe-hero .hero-art::before {
  inset: 12% 8% 12% 7%;
}

.observe-sketch {
  width: min(640px, 100%);
}

.observe-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255,252,246,0.46);
  margin-bottom: 34px;
}

.observe-metrics div {
  min-height: 126px;
  padding: 24px;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 10px;
}

.observe-metrics div:last-child {
  border-right: 0;
}

.observe-metrics span,
.observe-topic-status,
.observe-topic-latest span,
.observe-topic-foot,
.observe-signal-row span,
.observe-signal-row em,
.observe-read-grid span,
.observe-timeline-item time,
.observe-timeline-item span,
.observe-signal-detail-head,
.observe-signal-detail em {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}

.observe-metrics strong {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
}

.observe-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

#observe-preview .observe-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#observe-preview .observe-topic-card {
  min-height: 388px;
  grid-template-rows: minmax(82px, auto) minmax(154px, auto) minmax(122px, auto);
  gap: 18px;
  padding: 28px;
  align-content: start;
}

#observe-preview .observe-topic-card h3 {
  min-height: 82px;
  align-self: start;
}

#observe-preview .observe-topic-card p {
  min-height: 154px;
  align-self: start;
}

#observe-preview .observe-topic-latest {
  min-height: 122px;
  align-self: stretch;
  grid-template-rows: 16px 1fr;
  align-content: start;
  padding-top: 16px;
}

#observe-preview .observe-topic-latest span {
  display: block;
  height: 16px;
  line-height: 16px;
  overflow: visible;
  -webkit-line-clamp: unset;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#observe-preview .observe-topic-clues ul {
  grid-template-rows: repeat(2, minmax(34px, auto));
  grid-auto-rows: minmax(34px, auto);
  gap: 10px;
  align-content: start;
  align-self: start;
  justify-self: stretch;
  min-height: 78px;
}

#observe-preview .observe-topic-clues li {
  min-height: 34px;
  display: block;
  line-height: 1.45;
}

.observe-topic-card {
  min-height: 300px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto auto;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255,252,246,0.56);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.observe-topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(176,138,67,0.38);
  background: rgba(255,252,246,0.72);
  box-shadow: 0 18px 46px rgba(36,31,22,0.07);
}

.observe-topic-status {
  color: var(--gold);
}

.observe-topic-card h3 {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.06;
  font-weight: 400;
  margin: 0;
}

.observe-topic-card p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.observe-topic-latest {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.observe-topic-lineage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 13px 0 10px;
  position: relative;
}

.observe-topic-lineage::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgba(23,23,23,0.14);
}

.observe-topic-lineage span {
  min-width: 0;
  display: grid;
  gap: 8px;
  justify-items: start;
  position: relative;
}

.observe-topic-lineage span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(176,138,67,0.10);
  z-index: 1;
}

.observe-topic-lineage i {
  color: var(--gold);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.observe-topic-lineage b {
  max-width: 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.observe-topic-latest strong {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.observe-topic-clues {
  gap: 12px;
}

.observe-topic-clues ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.observe-topic-clues li {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.48;
  font-weight: 600;
}

.observe-topic-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

.observe-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(280px, 0.66fr);
  gap: 22px;
  margin-top: 24px;
  align-items: stretch;
}

.observe-panel {
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255,252,246,0.44);
  padding: 24px;
  min-width: 0;
}

.observe-signal-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.observe-signal-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.observe-signal-row:hover strong {
  color: var(--gold);
}

.observe-signal-row strong {
  min-width: 0;
  font-size: 16px;
  line-height: 1.45;
  transition: color 180ms ease;
}

.observe-signal-row p {
  grid-column: 2 / -1;
  margin: -6px 0 0;
  font-size: 13px;
  line-height: 1.62;
}

.observe-bridge {
  display: grid;
  align-content: space-between;
  gap: 24px;
}

.observe-bridge .eyebrow {
  margin-bottom: 0;
}

.observe-bridge p {
  font-size: 16px;
  line-height: 1.78;
  margin: 0;
}

.observe-lineage-shell {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 18px;
}

.observe-lineage-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  padding: 0 0 26px;
}

.observe-lineage-head .section-title {
  margin: 10px 0 10px;
}

.observe-lineage-head p {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
}

.observe-lineage-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  max-width: 520px;
}

.observe-lineage-stats span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-align: right;
}

.observe-lineage-stats strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.observe-unified-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23,23,23,0.10);
  border-bottom: 1px solid rgba(23,23,23,0.10);
}

.observe-timeline-ledger {
  margin-top: 54px;
  padding-top: 38px;
  border-top: 1px solid rgba(23,23,23,0.12);
}

.observe-timeline-ledger-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1.28fr);
  gap: 32px;
  align-items: baseline;
  margin-bottom: 24px;
}

.observe-timeline-ledger-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.observe-timeline-ledger-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.observe-unified-topics > a {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 22px 28px 24px;
  border-right: 1px solid rgba(23,23,23,0.10);
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease, background 180ms ease;
}

.observe-unified-topics > a:first-child {
  padding-left: 0;
}

.observe-unified-topics > a:last-child {
  padding-right: 0;
  border-right: 0;
}

.observe-unified-topics > a:hover {
  color: var(--gold);
  background: rgba(176,138,67,0.025);
}

.observe-unified-topics > a[data-filtered-out="true"] {
  opacity: 0.28;
}

.observe-unified-topics span,
.observe-unified-topics small {
  color: var(--muted);
  font-family: var(--sans);
}

.observe-unified-topics span {
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.observe-unified-topics strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
}

.observe-unified-topics small {
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.58;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.observe-unified-timeline {
  margin-top: 28px;
}

.observe-unified-axis {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.observe-unified-axis i {
  height: 1px;
  background: linear-gradient(90deg, rgba(176,138,67,0.5), rgba(23,23,23,0.10));
}

.observe-unified-axis em {
  color: var(--gold);
  font-style: normal;
}

.observe-unified-event-list {
  border-top: 1px solid rgba(23,23,23,0.11);
}

.observe-unified-event {
  display: grid;
  grid-template-columns: 112px 20px minmax(0, 1fr);
  gap: 0 18px;
  min-width: 0;
  padding: 26px 0 28px;
  border-bottom: 1px solid rgba(23,23,23,0.09);
  transition: opacity 160ms ease;
}

.observe-unified-event[data-filtered-out="true"] {
  display: none;
}

.observe-unified-event > time {
  padding-top: 2px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.observe-unified-event > i {
  position: relative;
  display: block;
  min-height: 100%;
}

.observe-unified-event > i::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: -38px;
  left: 50%;
  width: 1px;
  background: rgba(23,23,23,0.12);
}

.observe-unified-event:last-child > i::before {
  bottom: 0;
}

.observe-unified-event > i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px rgba(176,138,67,0.08);
}

.observe-unified-event-main {
  min-width: 0;
}

.observe-unified-event-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.observe-unified-event-topics a {
  color: var(--gold);
  text-decoration: none;
}

.observe-unified-event-topics a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.observe-unified-event-topics span {
  color: var(--muted);
}

.observe-unified-event h3 {
  max-width: 860px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 400;
  line-height: 1.34;
}

.observe-unified-event h3 a {
  color: inherit;
  text-decoration: none;
}

.observe-unified-event h3 a:hover {
  color: var(--gold);
}

.observe-unified-event p {
  max-width: 860px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.observe-unified-event small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.observe-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(23,23,23,0.08);
  border-bottom: 1px solid rgba(23,23,23,0.08);
}

.observe-filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(23,23,23,0.12);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.observe-filter span {
  color: var(--gold);
  margin-left: 6px;
}

.observe-filter:hover,
.observe-filter.active {
  border-color: rgba(176,138,67,0.48);
  color: var(--ink);
  background: rgba(255,252,246,0.54);
  box-shadow: 0 12px 30px rgba(36,31,22,0.055);
}

.observe-board {
  min-width: 0;
}

.observe-nexus-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.observe-nexus-toolbar span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.observe-nexus-density {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.46);
  box-shadow: 0 12px 28px rgba(31,31,31,0.035);
}

.observe-nexus-density button {
  appearance: none;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.observe-nexus-density button:first-child {
  border-left: 0;
}

.observe-nexus-density button:hover {
  color: var(--ink);
  background: rgba(176,138,67,0.08);
}

.observe-nexus-density button.active,
.observe-nexus-density button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(23,23,23,0.12);
}

.observe-nexus-board {
  position: relative;
  margin-top: 22px;
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255,252,246,0.46);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(176,138,67,0.5) rgba(23,23,23,0.06);
}

.observe-nexus-board::-webkit-scrollbar {
  height: 10px;
}

.observe-nexus-board::-webkit-scrollbar-track {
  background: rgba(23,23,23,0.06);
}

.observe-nexus-board::-webkit-scrollbar-thumb {
  background: rgba(176,138,67,0.48);
}

.observe-nexus-canvas {
  position: relative;
  min-height: 780px;
  width: max(100%, var(--nexus-width-expanded, var(--nexus-width, 2800px)));
  background:
    linear-gradient(rgba(23,23,23,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,23,0.035) 1px, transparent 1px),
    radial-gradient(circle at 43% 46%, rgba(176,138,67,0.11), transparent 30%),
    rgba(255,252,246,0.46);
  background-size: 100% 92px, 92px 100%, auto, auto;
  transition: width 180ms ease;
}

.observe-nexus-board[data-density="compact"] .observe-nexus-canvas {
  min-height: 660px;
  width: max(100%, var(--nexus-width-compact, 2200px));
}

.observe-nexus-board[data-density="standard"] .observe-nexus-canvas {
  min-height: 720px;
  width: max(100%, var(--nexus-width-standard, 3000px));
}

.observe-nexus-board[data-density="expanded"] .observe-nexus-canvas {
  min-height: 820px;
  width: max(100%, var(--nexus-width-expanded, var(--nexus-width, 3800px)));
}

.observe-nexus-canvas::before {
  content: "";
  position: absolute;
  inset: 11% 8% 12%;
  border-top: 1px solid rgba(23,23,23,0.14);
  border-bottom: 1px solid rgba(23,23,23,0.10);
  pointer-events: none;
}

.observe-nexus-axis {
  position: absolute;
  z-index: 1;
  left: 12%;
  right: 22%;
  top: 50%;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.observe-nexus-axis i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(176,138,67,0.16), rgba(23,23,23,0.22), rgba(176,138,67,0.16));
}

.observe-nexus-lines {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.observe-nexus-lines path {
  fill: none;
  stroke: rgba(23,23,23,0.22);
  stroke-width: 0.45;
  transition: opacity 180ms ease, stroke 180ms ease;
}

.observe-nexus-lines path:nth-child(3n + 1) { stroke: rgba(176,138,67,0.34); }
.observe-nexus-lines path:nth-child(3n + 2) { stroke: rgba(37,95,76,0.26); }

.observe-nexus-topic,
.observe-nexus-node,
.observe-nexus-register {
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.observe-nexus-topic[data-filtered-out="true"],
.observe-nexus-node[data-filtered-out="true"],
.observe-nexus-register [data-filtered-out="true"] {
  opacity: 0.16;
  filter: grayscale(0.7);
}

.observe-nexus-lines [data-filtered-out="true"] {
  opacity: 0.06;
}

.observe-nexus-topic {
  position: absolute;
  z-index: 4;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 270px;
  transform: translate(-8px, -12px);
}

.observe-nexus-topic a {
  display: block;
  color: inherit;
  text-decoration: none;
  border-left: 1px solid rgba(176,138,67,0.62);
  padding-left: 16px;
}

.observe-nexus-topic a::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 9px rgba(176,138,67,0.10);
}

.observe-nexus-topic h3 {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.04;
  font-weight: 400;
  margin: 8px 0 10px;
}

.observe-nexus-topic p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.56;
}

.observe-nexus-topic em {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.observe-nexus-node-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.observe-nexus-node {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  display: grid;
  width: 218px;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  transform: translate(-10px, -10px);
  pointer-events: auto;
}

.observe-nexus-board[data-density="compact"] .observe-nexus-topic {
  width: 218px;
}

.observe-nexus-board[data-density="compact"] .observe-nexus-topic h3 {
  font-size: 22px;
}

.observe-nexus-board[data-density="compact"] .observe-nexus-topic p,
.observe-nexus-board[data-density="compact"] .observe-nexus-topic em,
.observe-nexus-board[data-density="compact"] .observe-nexus-node small {
  display: none;
}

.observe-nexus-board[data-density="compact"] .observe-nexus-node {
  width: 150px;
}

.observe-nexus-board[data-density="standard"] .observe-nexus-node {
  width: 188px;
}

.observe-nexus-board[data-density="standard"] .observe-nexus-node small {
  -webkit-line-clamp: 1;
}

.observe-nexus-node::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(23,23,23,0.08);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.observe-nexus-node:hover {
  color: var(--gold);
  transform: translate(-10px, -12px);
}

.observe-nexus-node:hover::before {
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(176,138,67,0.12);
  transform: scale(1.08);
}

.observe-nexus-node span,
.observe-nexus-node em,
.observe-nexus-register > span,
.observe-nexus-register em {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}

.observe-nexus-node strong {
  font-size: 13px;
  line-height: 1.34;
  font-weight: 600;
}

.observe-nexus-node em {
  font-style: normal;
}

.observe-nexus-node small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.observe-nexus-register {
  position: absolute;
  z-index: 6;
  right: 4%;
  top: 38%;
  width: 310px;
  display: grid;
  gap: 12px;
  border-left: 1px solid rgba(23,23,23,0.16);
  padding-left: 18px;
}

.observe-nexus-register a {
  display: grid;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

.observe-nexus-register strong {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.observe-nexus-register small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.44;
}

.observe-nexus-muted {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.observe-detail-hero {
  padding-top: 0;
  padding-bottom: 30px;
  border-bottom: 0;
}

.observe-evolution {
  max-width: 860px;
  margin-top: 20px;
  color: var(--gold);
  font-size: 15px;
  line-height: 1.72;
}

.observe-detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
}

.observe-lineage-band {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255,252,246,0.42);
  padding: 20px 22px;
  margin-bottom: 24px;
}

.observe-lineage-band > span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.observe-lineage-band .observe-topic-lineage {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-bottom: 0;
}

.observe-read-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(23,23,23,0.10);
  background: rgba(255,252,246,0.42);
  margin-bottom: 36px;
}

.observe-read-grid section {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.observe-read-grid section:last-child {
  border-right: 0;
}

.observe-read-grid p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.72;
}

.observe-detail-section {
  margin-bottom: 38px;
}

.observe-detail-section h2 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 400;
  margin-bottom: 18px;
}

.observe-detail-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.observe-timeline,
.observe-signal-detail-list,
.observe-judgment-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.observe-timeline-item,
.observe-judgment-note {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.observe-timeline-item h3,
.observe-judgment-note h3,
.observe-signal-detail h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 400;
  margin: 8px 0 10px;
}

.observe-timeline-item p,
.observe-judgment-note p,
.observe-signal-detail p {
  font-size: 15px;
  line-height: 1.72;
  margin: 0;
}

.observe-judgment-note time,
.observe-judgment-note span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}

.observe-signal-detail {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.observe-signal-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.observe-signal-detail em {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: var(--gold);
}

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

.observe-linked {
  display: grid;
  gap: 0;
  margin-top: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.observe-linked a {
  display: grid;
  gap: 7px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.09);
  color: var(--ink);
  text-decoration: none;
}

.observe-linked a + a {
  padding-top: 18px;
}

.observe-linked a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.observe-linked a span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.observe-linked a strong {
  font-family: var(--sans);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.35;
}

.observe-linked a small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.observe-linked a:hover strong {
  color: var(--gold);
}

.observe-topic-archive {
  padding-top: 10px;
}

.observe-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 0 12px;
}

.observe-section-head span,
.observe-topic-close .observe-detail-section > h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.35;
}

.observe-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.observe-direction-panel {
  margin-bottom: 56px;
}

.observe-direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  padding: 8px 0 4px;
}

.observe-direction-grid section {
  display: grid;
  gap: 12px;
  align-content: start;
}

.observe-direction-grid span,
.observe-topic-meta-strip span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.observe-direction-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.observe-topic-core-links {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(23,23,23,0.09);
}

.observe-topic-core-head {
  display: grid;
  align-content: start;
  gap: 8px;
}

.observe-topic-core-head span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.observe-topic-core-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.observe-topic-core-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(23,23,23,0.09);
}

.observe-topic-core-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 12px;
  align-content: start;
  min-height: 104px;
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid rgba(23,23,23,0.09);
  color: var(--ink);
  text-decoration: none;
}

.observe-topic-core-list a:nth-child(odd) {
  margin-right: 18px;
}

.observe-topic-core-list a:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid rgba(23,23,23,0.09);
}

.observe-topic-core-list a > span,
.observe-topic-core-list a > em {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.observe-topic-core-list a > strong {
  font-family: var(--serif);
  font-size: clamp(16px, 1.12vw, 19px);
  font-weight: 400;
  line-height: 1.38;
  transition: color 0.18s ease;
}

.observe-topic-core-list a > em {
  grid-column: 2;
}

.observe-topic-core-list a:hover > strong,
.observe-topic-core-list a:hover > em {
  color: var(--gold);
}

.observe-topic-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding: 24px 0 4px;
}

.observe-topic-tags {
  margin-top: 10px;
  gap: 10px 16px;
}

.observe-topic-tags .tag {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.observe-event-workbench {
  margin-bottom: 56px;
  position: relative;
  overflow: visible;
}

.observe-event-rail {
  display: grid;
  gap: 12px;
  padding: 8px 0 28px;
  position: relative;
}

.observe-event-rail-window {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 0 18px;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
}

.observe-event-rail-window:active {
  cursor: grabbing;
}

.observe-event-rail-window[data-overflow="false"] {
  cursor: default;
  -webkit-mask-image: none;
  mask-image: none;
}

.observe-event-rail[data-overflow="true"]::after {
  content: "→";
  position: absolute;
  right: 2px;
  top: 43px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  opacity: .76;
  animation: observeScrollCue 2.8s ease-in-out infinite;
}

.observe-event-rail-window::-webkit-scrollbar {
  display: none;
}

.observe-event-rail-heading,
.observe-event-list-wrap > h2,
.observe-event-panel .eyebrow {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.observe-event-rail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.observe-event-rail-heading small {
  color: rgba(23,23,23,0.46);
  font: inherit;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.observe-event-rail-heading b {
  color: var(--gold);
  font-weight: 500;
  margin: 0 5px;
}

.observe-event-rail-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--event-count), minmax(86px, 1fr));
  gap: 0;
  width: calc((100% / var(--visible-events, 8)) * var(--event-count));
  min-width: 100%;
  overflow: visible;
}

.observe-event-rail-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, rgba(176,138,67,0.52), rgba(23,23,23,0.12));
}

.observe-event-rail-track::after {
  content: "";
  position: absolute;
  left: -96px;
  top: 4px;
  width: 96px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(176,138,67,0), rgba(176,138,67,0.75), rgba(176,138,67,0));
  opacity: .55;
  animation: observeTimelineFlow 5.6s ease-in-out infinite;
  pointer-events: none;
}

.observe-event-rail-track button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0 4px;
  color: var(--muted);
  line-height: 1;
  cursor: pointer;
  scroll-snap-align: start;
}

.observe-event-rail-track i {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 7px rgba(176,138,67,0.08);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.observe-event-rail-track button.active i {
  animation: observeEventPulse 3.2s ease-in-out infinite;
}

.observe-event-rail-track time {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.observe-event-rail-track button:hover i,
.observe-event-rail-track button.active i {
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(176,138,67,0.18);
  transform: translateY(-1px);
}

.observe-event-rail-hint {
  justify-self: end;
  margin: -8px 0 0;
  color: rgba(23,23,23,0.46);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: var(--sans);
}

@keyframes observeTimelineFlow {
  0% { left: -96px; opacity: 0; }
  14% { opacity: .58; }
  72% { opacity: .58; }
  100% { left: calc(100% - 24px); opacity: 0; }
}

@keyframes observeEventPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(176,138,67,0.16); }
  50% { box-shadow: 0 0 0 13px rgba(176,138,67,0.08); }
}

@keyframes observeScrollCue {
  0%, 100% { transform: translateX(0); opacity: .42; }
  50% { transform: translateX(8px); opacity: .86; }
}

.observe-event-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 44px;
  align-items: start;
  padding-top: 18px;
  position: relative;
  overflow: visible;
}

.observe-event-list-wrap {
  display: grid;
  gap: 18px;
  align-self: start;
}

.observe-event-list {
  display: grid;
}

.observe-event-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0;
  border-bottom: 0;
  cursor: pointer;
  outline: none;
}

.observe-event-item time {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.observe-event-item span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.observe-event-item h3 {
  font-family: var(--serif);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.16;
  font-weight: 400;
  margin: 6px 0 9px;
}

.observe-event-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.observe-event-item small {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.observe-event-item:hover,
.observe-event-item:focus-visible,
.observe-event-item.active {
  background: linear-gradient(90deg, rgba(176,138,67,0.08), transparent 58%);
}

.observe-event-panel-shell {
  position: sticky;
  top: clamp(72px, 10vh, 112px);
  align-self: start;
  z-index: 2;
  height: fit-content;
  max-height: calc(100vh - 128px);
}

.observe-event-panel {
  position: static;
  display: grid;
  gap: 16px;
  max-height: inherit;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px 24px 24px 28px;
  border: 0;
  background: rgba(255,252,246,0.62);
  box-shadow: 0 28px 70px rgba(23,23,23,0.05);
  scrollbar-width: thin;
}

.observe-event-panel .eyebrow {
  margin-bottom: 18px;
  gap: 10px;
}

.observe-event-panel .eyebrow::before {
  flex-basis: 28px;
  width: 28px;
  opacity: 0.62;
}

.observe-event-panel h2 {
  font-family: var(--serif);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.16;
  font-weight: 400;
}

.observe-event-panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.observe-event-panel section {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}

.observe-event-panel h3 {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.observe-event-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.observe-event-panel-evidence {
  color: var(--ink) !important;
  font-weight: 600;
}

.observe-topic-close {
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
  margin-top: 34px;
  padding-top: 46px;
  border-top: 1px solid rgba(23,23,23,0.10);
}

.observe-topic-close .observe-detail-section:only-child {
  grid-column: 1 / -1;
}

.observe-topic-close .observe-detail-section {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: start;
  margin-bottom: 0;
}

.observe-question-cluster ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23,23,23,0.09);
}

.observe-question-cluster li {
  display: grid;
  grid-template-columns: 66px minmax(88px, 132px) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 30px);
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23,23,23,0.09);
  color: var(--ink);
  line-height: 1.72;
}

.observe-question-index,
.observe-question-label {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.observe-question-index {
  color: var(--gold);
  font-weight: 700;
}

.observe-question-label {
  color: var(--muted);
  font-weight: 600;
}

.observe-question-text {
  color: var(--ink);
  font-size: clamp(15px, 1.05vw, 17px);
}

.observe-linked-cluster {
  display: grid;
  align-content: start;
  gap: 0;
  max-width: none;
}

.observe-linked-cluster h2 {
  margin: 0;
}

.observe-linked-thinking-index {
  display: grid;
  margin-top: 0;
  border-top: 1px solid rgba(23,23,23,0.09);
}

.observe-linked-thinking-months {
  border-bottom: 1px solid rgba(23,23,23,0.09);
}

.observe-linked-month {
  border-bottom: 1px solid rgba(23,23,23,0.09);
}

.observe-linked-month:last-child {
  border-bottom: 0;
}

.observe-linked-month summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.observe-linked-month summary::-webkit-details-marker {
  display: none;
}

.observe-linked-month summary::after {
  content: "+";
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}

.observe-linked-month[open] summary::after {
  content: "−";
}

.observe-linked-month summary strong {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  white-space: nowrap;
}

.observe-linked-month-list {
  display: grid;
  padding: 0 0 10px;
}

.observe-linked-thinking-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 88px;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23,23,23,0.09);
  color: var(--ink);
  text-decoration: none;
}

.observe-linked-month .observe-linked-thinking-row {
  border-bottom: 0;
  padding: 15px 0 18px;
}

.observe-linked-month .observe-linked-thinking-row + .observe-linked-thinking-row {
  border-top: 1px solid rgba(23,23,23,0.06);
}

.observe-linked-thinking-row:first-child {
  padding-top: 18px;
}

.observe-linked-thinking-row:hover .observe-linked-thinking-title,
.observe-linked-thinking-row:hover .observe-linked-thinking-action {
  color: var(--gold);
}

.observe-linked-thinking-date {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 2px;
}

.observe-linked-thinking-date strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.observe-linked-thinking-date span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.10em;
}

.observe-linked-thinking-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.observe-linked-thinking-title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.24vw, 22px);
  line-height: 1.28;
  font-weight: 400;
  transition: color 0.18s ease;
}

.observe-linked-thinking-clue {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.observe-linked-thinking-action {
  justify-self: end;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 44px;
  align-items: center;
  padding: 36px;
}

.contact-card h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 18px;
}

.contact-card p {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 0;
}

.resume-list {
  display: grid;
  gap: 14px;
  border-left: 1px solid var(--line);
  padding-left: 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.resume-list a {
  color: var(--ink);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.search {
  position: relative;
}

.search input {
  width: 100%;
  min-height: var(--control-height);
  border: 1px solid rgba(23,23,23,0.14);
  background: rgba(255,252,246,0.72);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}

.search input:focus {
  border-color: rgba(176,138,67,0.56);
  box-shadow: 0 0 0 4px rgba(176,138,67,0.12);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-bar button {
  min-height: var(--control-height-sm);
  border: 1px solid rgba(23,23,23,0.14);
  background: rgba(255,252,246,0.62);
  cursor: pointer;
  padding: 0 12px;
  color: #4f4a43;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.results-count {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: -12px 0 24px;
}

.archive-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0 0 28px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.archive-controls-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.archive-period {
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.archive-period span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-period b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.archive-view-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(255,252,246,0.62);
  min-height: var(--control-height-sm);
}

.archive-view-switch button {
  min-width: 92px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.archive-view-switch button:last-child {
  border-right: 0;
}

.archive-view-switch button.active {
  background: rgba(23,23,23,0.06);
  color: var(--ink);
}

.article-lists {
  min-width: 0;
}

[data-archive-panel][hidden] {
  display: none !important;
}

.archive-month-nav {
  display: grid;
  grid-template-columns: repeat(var(--archive-month-columns, 1), minmax(0, 1fr));
  gap: 8px;
}

.archive-month-nav a {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
  border: 1px solid rgba(23,23,23,0.12);
  background: rgba(255,252,246,0.54);
  color: var(--muted);
  padding: 0 11px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.archive-month-nav a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-month-nav a.active,
.archive-month-nav a:hover {
  border-color: rgba(176,138,67,0.42);
  color: var(--ink);
  background: rgba(176,138,67,0.07);
}

.archive-month-nav b {
  color: var(--gold);
  font-size: 11px;
}

@media (max-width: 980px) and (min-width: 781px) {
  .archive-month-nav.is-dense {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.article-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: start;
}

.featured-article {
  position: sticky;
  top: 22px;
  padding: 30px;
  min-height: 520px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  isolation: isolate;
}

.featured-article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(176, 138, 67, 0.22);
}

.featured-article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 2px;
  height: 112px;
  background: linear-gradient(180deg, transparent, rgba(176, 138, 67, 0.86), transparent);
  filter: drop-shadow(0 0 12px rgba(176, 138, 67, 0.34));
  opacity: 0.68;
  animation: thinking-featured-current 5.8s ease-in-out infinite;
}

.featured-article h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 18px;
}

.featured-article p { font-size: 16px; }

.article-list { display: grid; gap: 18px; }

.archive-list {
  gap: 34px;
}

.archive-month-group {
  scroll-margin-top: 28px;
  border-top: 1px solid rgba(23,23,23,0.13);
  background: transparent;
  transition: border-color 240ms ease;
}

.archive-month-group[hidden] {
  display: none;
}

.archive-month-group > summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

.archive-month-group > summary:hover {
  color: var(--gold);
}

.archive-month-group > summary::-webkit-details-marker {
  display: none;
}

.archive-month-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
  color: var(--ink);
  transition: color 180ms ease;
}

.archive-month-group > summary:hover .archive-month-title {
  color: inherit;
}

.archive-month-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--control-height-sm);
  color: var(--muted);
}

.archive-month-toggle em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-month-toggle i {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(23,23,23,0.14);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  transition: transform 200ms ease, border-color 180ms ease, background 180ms ease;
}

.archive-month-toggle i::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}

.archive-month-group[open] .archive-month-toggle i {
  transform: rotate(180deg);
  border-color: rgba(176,138,67,0.42);
  background: rgba(176,138,67,0.08);
}

.archive-month-list {
  display: grid;
  gap: 0;
  padding: 0 0 6px;
}

.section[data-archive-view="list"] .archive-month-group {
  border: 0;
  background: transparent;
}

.section[data-archive-view="list"] .archive-month-group > summary {
  display: none;
}

.section[data-archive-view="list"] .archive-month-list {
  padding: 0;
}

.archive-list .article-row {
  grid-template-columns: 138px 1fr;
  min-height: 0;
  border: 0;
  border-top: 1px solid rgba(23,23,23,0.10);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.archive-list .article-row:hover {
  border-color: rgba(176,138,67,0.32);
  background: linear-gradient(90deg, rgba(255,252,246,0.62), rgba(176,138,67,0.08) 56%, transparent);
  box-shadow: 0 18px 42px rgba(49, 42, 31, 0.07);
  filter: saturate(1.02);
}

.archive-list .article-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(176,138,67,0.78), transparent);
  transition: width 220ms ease;
}

.archive-list .article-row:hover::before {
  width: min(320px, 42%);
}

.archive-list .article-index {
  border-right: 0;
  background: transparent;
  align-content: start;
  justify-items: start;
  padding: 32px 18px 0 0;
}

.archive-list .article-date {
  gap: 5px;
  text-align: left;
}

.archive-list .article-date span {
  font-size: 34px;
}

.archive-list .article-date strong {
  font-size: 11px;
  letter-spacing: 0.24em;
}

.archive-list .article-cover {
  min-height: 180px;
  border-right: 0;
  margin: 18px 22px 18px 0;
  overflow: hidden;
}

.archive-list .article-copy {
  padding: 28px 0 30px;
}

.archive-list .article-copy h3 {
  max-width: 820px;
}

.archive-list .article-copy p {
  max-width: 900px;
}

.archive-year-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.archive-year-nav a {
  min-height: var(--control-height-sm);
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(23,23,23,0.12);
  background: rgba(255,252,246,0.56);
  color: var(--ink);
  padding: 0 16px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-year-nav a:hover {
  border-color: rgba(176,138,67,0.42);
  box-shadow: 0 12px 28px rgba(36,31,22,0.06);
}

.article-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 190px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, filter 160ms ease;
}

.article-row:hover {
  border-color: rgba(176, 138, 67, 0.5);
  box-shadow: 0 20px 46px rgba(49, 42, 31, 0.09);
  filter: saturate(1.02);
}

.article-index {
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,0.24);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 48px;
  color: rgba(176,138,67,0.84);
}

.article-date {
  align-content: center;
  gap: 6px;
  text-align: center;
}

.article-date span {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: color 260ms ease, opacity 260ms ease;
}

.article-date strong {
  color: rgba(84,78,68,0.72);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.article-cover {
  min-height: 100%;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,0.26);
}

.article-cover img,
.detail-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.article-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}
.article-copy h3 { font-size: 28px; line-height: 1.12; margin-bottom: 12px; }
.article-copy h3 a { color: inherit; }
.article-copy p { font-size: 15px; margin-bottom: 16px; }
.article-copy .tag-list { margin-bottom: 18px; }
.article-copy .button-text {
  width: fit-content;
  justify-content: flex-start;
  margin-top: auto;
  text-align: left;
}

.detail-hero {
  padding: 10px 0 46px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(360px, 42vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(176,138,67,0.72), transparent);
  opacity: 0.68;
  animation: thinking-detail-current 6.4s ease-in-out infinite;
}

.detail-back {
  display: flex;
  align-items: center;
  min-height: var(--control-height-sm);
  width: fit-content;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
  animation: detail-back-breathe 5.8s ease-in-out infinite;
}

.detail-back:hover,
.detail-return:hover {
  color: var(--gold);
  transform: translateX(-3px);
}

.detail-hero .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.detail-title {
  max-width: 960px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 24px;
}

.detail-summary {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 26px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 34px;
  align-items: start;
}

.detail-article {
  min-width: 0;
}

.article-read-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 80;
  pointer-events: none;
  background: transparent;
}

.article-read-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(176,138,67,0), rgba(176,138,67,0.92), rgba(23,23,23,0.32));
  transform: scaleX(var(--article-progress, 0));
  transform-origin: left center;
  transition: transform 90ms linear;
}

.detail-cover {
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: var(--card);
}

.detail-cover img {
  aspect-ratio: 16 / 9;
}

.detail-cover figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 12px;
}

.detail-aside-shell {
  position: sticky;
  top: clamp(78px, 10vh, 112px);
  align-self: start;
  z-index: 2;
  height: fit-content;
  max-height: calc(100vh - 132px);
}

.detail-aside {
  position: sticky;
  top: 24px;
  --detail-aside-pad: 28px;
  padding: var(--detail-aside-pad);
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside-shell .detail-aside {
  position: relative;
  top: auto;
  overflow: hidden;
  isolation: isolate;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-color: rgba(23,23,23,0.10);
  background: rgba(255,252,246,0.72);
  box-shadow: 0 28px 70px rgba(39,32,20,0.075);
  backdrop-filter: blur(14px);
  scrollbar-width: thin;
}

.detail-aside-scroll-cue {
  display: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside.is-scrollable .detail-aside-scroll-cue {
  position: sticky;
  bottom: calc(var(--detail-aside-pad) * -1);
  z-index: 3;
  display: grid;
  place-items: end center;
  height: 46px;
  margin: 12px calc(var(--detail-aside-pad) * -1) calc(var(--detail-aside-pad) * -1);
  padding-bottom: 13px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 74%, rgba(176,138,67,0.18), transparent 24%),
    linear-gradient(180deg, rgba(255,252,246,0), rgba(255,252,246,0.94) 68%);
  opacity: 0.95;
}

.detail-aside-scroll-cue span {
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(176,138,67,0.82);
  border-bottom: 1px solid rgba(176,138,67,0.82);
  transform: rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(176,138,67,0.24));
  animation: detail-aside-scroll-cue 1.8s ease-in-out infinite;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body h2,
body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body h3 {
  scroll-margin-top: 104px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176,138,67,0.54), transparent);
  opacity: 0.58;
  animation: thinking-aside-breathe 5.8s ease-in-out infinite;
}

.detail-aside .tag-list {
  margin: 18px 0 24px;
}

.detail-toc {
  display: none;
  margin: 26px 0 20px;
  padding: 0;
  border: 0;
}

.detail-toc.visible {
  display: grid;
  gap: 12px;
}

.detail-toc-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.detail-toc a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.detail-toc a.depth-h3 {
  margin-left: 14px;
  font-size: 12px;
}

.detail-toc a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border: 1px solid rgba(176,138,67,0.42);
  border-radius: 50%;
  background: transparent;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.detail-toc a.depth-h3::before {
  width: 5px;
  height: 5px;
  margin-top: 6px;
}

.detail-toc a:hover,
.detail-toc a.active {
  color: var(--ink);
  transform: translateX(2px);
}

.detail-toc a.active::before {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(176,138,67,0.10);
}

.detail-note {
  padding: 16px 0 0;
  border-top: 0;
}

.detail-toc + .detail-note {
  margin-top: 24px;
}

.detail-note + .detail-note {
  margin-top: 22px;
}

.detail-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-note strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

body[data-page="draft-preview"] .draft-preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.draft-preview-private {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.draft-preview-private i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(176, 138, 67, 0.10);
}

.draft-preview-locales {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(23, 23, 23, 0.09);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.54);
}

.draft-preview-locales a {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 30px;
  padding: 0 9px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.draft-preview-locales a:hover {
  color: var(--ink);
  background: rgba(176, 138, 67, 0.08);
}

.draft-preview-locales a.active {
  color: #fffdf8;
  background: var(--ink);
  box-shadow: 0 5px 14px rgba(23, 23, 23, 0.12);
}

.draft-preview-scope {
  margin: 0 0 28px;
  padding: 13px 16px;
  border-left: 2px solid rgba(176, 138, 67, 0.66);
  background: linear-gradient(90deg, rgba(176, 138, 67, 0.075), transparent 92%);
  color: var(--muted);
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.draft-preview-aside-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.draft-preview-quality-state {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.draft-preview-quality-state.is-passed {
  color: var(--success);
}

.draft-preview-quality-state.needs-review {
  color: #9b6e21;
}

.draft-preview-quality {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin-top: 22px;
  padding: 16px 0 2px;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.draft-preview-quality > span {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(73, 144, 105, 0.10);
}

.draft-preview-quality[data-state="needs-review"] > span {
  background: #b48838;
  box-shadow: 0 0 0 5px rgba(180, 136, 56, 0.11);
}

.draft-preview-quality small,
.draft-preview-quality strong {
  display: block;
}

.draft-preview-quality small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.draft-preview-quality strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.draft-preview-warnings {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.draft-preview-warnings li {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(23, 23, 23, 0.07);
}

.draft-preview-warnings span,
.draft-preview-warnings small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.draft-preview-warnings span {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.draft-preview-warnings strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

body[data-page="draft-preview"] .detail-note strong {
  overflow-wrap: anywhere;
}

.detail-provenance {
  display: grid;
  gap: 20px;
  margin: 48px 0 0;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(20, 19, 17, 0.1);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.detail-provenance header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.detail-provenance > header > h2 {
  display: inline-grid;
  place-items: center;
  order: 2;
  flex: 0 0 auto;
  margin: 0;
  min-height: 30px;
  padding: 5px 11px 4px;
  border: 1px solid rgba(160, 44, 35, 0.5);
  color: rgba(160, 44, 35, 0.84);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  transform: rotate(-8deg);
  box-shadow:
    inset 0 0 0 1px rgba(160, 44, 35, 0.08),
    0 8px 18px rgba(160, 44, 35, 0.045);
  opacity: 0.96;
}

.detail-provenance > header > a {
  display: inline-flex;
  order: 1;
  min-width: 0;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
}

.detail-provenance > header > a::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(176, 138, 67, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(176, 138, 67, 0.36) 0 2px, transparent 2.5px),
    linear-gradient(135deg, transparent 0 42%, rgba(176, 138, 67, 0.32) 42% 58%, transparent 58%);
  opacity: 0.72;
  transform: rotate(-12deg);
}

.detail-provenance dl {
  display: grid;
  gap: 12px 20px;
  margin: 0;
}

.detail-provenance dl > div {
  display: grid;
  grid-template-columns: minmax(96px, 0.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 0;
}

.detail-provenance dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-provenance dd {
  margin: 0;
  min-width: 0;
}

.detail-provenance a,
.detail-provenance-copy {
  color: var(--ink);
}

.detail-provenance a,
.detail-provenance-copy {
  overflow-wrap: anywhere;
  text-decoration-color: rgba(20, 19, 17, 0.22);
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.detail-provenance a:hover,
.detail-provenance-copy:hover {
  color: var(--gold);
  text-decoration-color: rgba(176, 138, 67, 0.5);
}

.detail-provenance-copy {
  display: inline;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 12px;
  line-height: inherit;
  text-align: left;
  text-decoration-line: underline;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: copy;
}

.detail-provenance-copy::after {
  content: attr(data-copy-label);
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(1px);
  transition: opacity 160ms ease;
}

.detail-provenance-copy:hover::after,
.detail-provenance-copy.copied::after {
  opacity: 0.7;
}

.detail-provenance-copy.copied::after {
  content: attr(data-copied-label);
  color: var(--gold);
}

.detail-provenance-feed {
  width: max-content;
  font-size: 12px;
  font-weight: 600;
}

.detail-return {
  transition: color 160ms ease, transform 160ms ease;
  animation: detail-back-breathe 6.4s ease-in-out infinite;
}

.detail-observe-topics {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-observe-heading {
  align-self: center;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.detail-observe-topics a {
  display: grid;
  gap: 3px;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  color: inherit;
  text-decoration: none;
}

.detail-observe-topics a[data-observe-relation="related"] {
  border-left-color: var(--muted);
}

.detail-observe-topics a span {
  color: var(--muted);
  font-size: 10px;
}

.detail-observe-topics a strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.detail-observe-topics a:hover strong {
  color: var(--gold);
}

.observe-linked-thinking-tiers {
  display: grid;
  gap: 32px;
}

.observe-linked-tier > h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.observe-linked-tier > h3 span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .detail-observe-topics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-observe-heading {
    margin-bottom: 2px;
  }
}

.detail-related {
  margin: 56px 0 22px;
  padding-top: 0;
  border: 0;
  scroll-margin-top: 104px;
}

.detail-prevnext {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.detail-prevnext a {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 44px;
  padding-block: 12px;
  color: inherit;
  text-decoration: none;
}

.detail-prevnext a:is(:hover, :focus-visible) strong {
  color: var(--gold-ink);
}

.detail-prevnext span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.detail-prevnext strong {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.related-block h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
}

.related-list {
  display: grid;
  gap: 8px;
}

.related-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border: 0;
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.related-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(var(--editorial-paper-rgb), 0.92), rgba(var(--editorial-gold-rgb), 0.065) 64%, rgba(var(--editorial-paper-rgb), 0.16));
  opacity: 0;
  transition: opacity 220ms ease;
}

.related-card strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.related-card em {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.related-card-meta,
.related-card-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
}

.related-card-action {
  justify-content: space-between;
  color: var(--gold-ink);
  margin-top: 4px;
}

.related-card:focus-visible {
  outline-offset: 2px;
}

.related-card:focus-visible::after {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(40, 40, 37, 0.065), 0 4px 12px rgba(40, 40, 37, 0.025);
  }

  .related-card:hover::after {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .related-card { padding: 20px 0; }
  .related-card strong { font-size: 21px; }
  .detail-prevnext { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  .related-card,
  .related-card:hover,
  .related-card::after {
    transform: none;
    transition: none;
  }
}

body[data-page="thinking"] .hero-art .sketch {
  animation: thinking-surface-breathe 8.8s ease-in-out infinite;
}

body[data-page="thinking"] .hero-art .icon-stroke,
body[data-page="thinking"] .hero-art .pulse-dot {
  animation: thinking-line-breathe 6.6s ease-in-out infinite;
}

body[data-page="thinking"] .hero-art .pulse-dot:nth-of-type(2) {
  animation-delay: 0.8s;
}

body[data-page="thinking"] .hero-art .pulse-dot:nth-of-type(3) {
  animation-delay: 1.4s;
}

body[data-page="thinking"] .gold-stroke path {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  animation: draw 1.6s ease forwards, thinking-gold-breathe 7.2s ease-in-out 1.6s infinite;
}

.article-motion-unit {
  opacity: 1;
  transform: none;
  transition: none;
}

.article-motion-unit.visible {
  opacity: 1;
  transform: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body,
body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body *,
body[data-page="article"] .detail-provenance,
body[data-page="article"] .detail-related {
  opacity: 1;
  transition-property: color, background, border-color, box-shadow, text-decoration-color;
}

@keyframes thinking-surface-breathe {
  0%, 100% { filter: saturate(1); transform: translateY(0); }
  50% { filter: saturate(1.05); transform: translateY(-2px); }
}

@keyframes thinking-line-breathe {
  0%, 100% { opacity: 0.52; }
  50% { opacity: 0.86; }
}

@keyframes thinking-gold-breathe {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 0.98; }
}

@keyframes thinking-featured-current {
  0%, 100% { opacity: 0.24; transform: translateY(-18px); }
  50% { opacity: 0.82; transform: translateY(calc(100% + 22px)); }
}

@keyframes thinking-aside-breathe {
  0%, 100% { opacity: 0.22; transform: translateX(-32%); }
  50% { opacity: 0.78; transform: translateX(32%); }
}

@keyframes thinking-detail-current {
  0%, 100% { opacity: 0.36; transform: scaleX(0.62); transform-origin: left center; }
  50% { opacity: 0.86; transform: scaleX(1); transform-origin: left center; }
}

@keyframes detail-back-breathe {
  0%, 100% { opacity: 0.68; }
  50% { opacity: 1; }
}

@keyframes detail-aside-scroll-cue {
  0%, 100% { opacity: 0.42; transform: translateY(-3px) rotate(45deg); }
  50% { opacity: 1; transform: translateY(3px) rotate(45deg); }
}

@keyframes site-arrow-forward {
  0%, 100% { opacity: 0.68; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}

.prose {
  max-width: 820px;
}

.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.prose h1 {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.06;
  font-weight: 400;
  margin: 0 0 24px;
}

.prose h2 {
  font-size: 34px;
  line-height: 1.08;
  margin: 0 0 18px;
}

.prose h3 {
  font-size: 24px;
  line-height: 1.16;
  margin: 30px 0 12px;
}

.prose h4 {
  font-size: 20px;
  line-height: 1.28;
  margin: 28px 0 10px;
}

.prose h5,
.prose h6 {
  font-size: 17px;
  line-height: 1.45;
  margin: 24px 0 8px;
}

.prose s,
.prose del {
  color: var(--muted);
  text-decoration-thickness: 1px;
}

.prose p {
  font-size: 17px;
  line-height: 1.86;
  margin-bottom: 22px;
}

.prose a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.prose blockquote {
  margin: 0 0 28px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(176, 138, 67, 0.08);
  color: var(--muted);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 28px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.prose li {
  margin-bottom: 8px;
}

.prose code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  padding: 2px 5px;
  background: rgba(18, 18, 18, 0.06);
  border: 1px solid var(--line);
}

.prose pre {
  margin: 0 0 30px;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.prose pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.75;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}

.prose .footnote-ref {
  margin-left: 2px;
  font-family: var(--sans);
  font-size: 0.72em;
  line-height: 1;
}

.prose .footnote-ref a,
.prose .footnote-backref {
  text-decoration: none;
}

.prose .footnotes-sep {
  margin: 52px 0 24px;
}

.prose .footnotes {
  color: var(--muted);
}

.prose .footnotes-list {
  margin-bottom: 0;
  padding-left: 24px;
  font-size: 14px;
}

.prose .footnote-item p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.markdown-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 34px;
  border: 1px solid var(--line);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: rgba(255, 255, 255, 0.22);
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.prose th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  background: rgba(176, 138, 67, 0.08);
}

.prose th:last-child,
.prose td:last-child {
  border-right: 0;
}

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

.markdown-media {
  margin: 0 0 34px;
}

.markdown-media img,
.markdown-media video {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.markdown-media audio {
  width: 100%;
}

.markdown-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.markdown-linked-media {
  display: block;
  color: inherit;
  text-decoration: none;
}

.markdown-diagram {
  margin: 0 0 34px;
  border: 1px solid var(--line);
  background: rgba(176, 138, 67, 0.06);
}

.markdown-diagram::before {
  content: attr(data-diagram);
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.markdown-diagram pre {
  margin: 0;
  border: 0;
}

.markdown-mermaid {
  margin: 0 0 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
  overflow-x: auto;
}

.markdown-mermaid::before {
  content: attr(data-diagram);
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.markdown-mermaid pre {
  margin: 0;
  border: 0;
  background: transparent;
}

.markdown-mermaid.is-rendered {
  padding: 18px;
}

.markdown-mermaid.is-rendered::before {
  display: none;
}

.markdown-mermaid svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.detail-shot {
  min-height: 320px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.5), rgba(176,138,67,0.08)),
    rgba(255,255,255,0.22);
  display: grid;
  place-items: center;
  padding: 28px;
  margin-bottom: 28px;
  overflow: hidden;
}

.detail-shot .meta {
  align-self: end;
  width: 100%;
  justify-content: center;
  margin: 12px 0 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.detail-card {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.detail-card:last-child {
  border-right: 0;
}

.detail-card h2 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.detail-card p {
  font-size: 15px;
  line-height: 1.68;
  margin-bottom: 0;
}

.detail-footer-nav {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-return {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  color: #252525;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.empty-state {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.22);
}

.publish-queue-toolbar {
  grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(112px, 0.72fr)) minmax(104px, auto);
  gap: 12px;
  align-items: end;
  overflow-x: visible;
  padding-bottom: 2px;
  scrollbar-gutter: stable;
}

.publish-queue-toolbar label {
  min-width: 0;
}

.publish-queue-toolbar input,
.publish-queue-toolbar select {
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink);
}

.publish-queue-toolbar .button-text {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255,252,246,0.64);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.readiness-summary {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  background: rgba(255,255,255,0.14);
}

.readiness-score {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.readiness-score span,
.readiness-score small {
  display: block;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.readiness-score strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 58px;
  line-height: 0.92;
  font-weight: 400;
}

.readiness-summary-copy {
  padding: 20px;
  min-width: 0;
}

.readiness-summary-copy p {
  max-width: 760px;
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
}

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

.readiness-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  min-width: 0;
  padding: var(--row-padding);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.16);
}

.readiness-gate > div {
  min-width: 0;
}

.readiness-gate span,
.readiness-gate small strong {
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.readiness-gate strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.readiness-status {
  align-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(23,23,23,0.14);
  padding: 0 8px;
  white-space: nowrap;
}

.readiness-gate.is-ready .readiness-status {
  color: #51653d;
  border-color: rgba(85,124,65,0.26);
  background: rgba(85,124,65,0.08);
}

.readiness-gate.is-needs_review .readiness-status {
  color: #6b5a35;
  border-color: rgba(176,138,67,0.32);
  background: rgba(176,138,67,0.08);
}

.readiness-gate.is-blocked .readiness-status {
  color: #8b5c4f;
  border-color: rgba(164,82,64,0.3);
  background: rgba(164,82,64,0.08);
}

.readiness-gate.is-declared .readiness-status {
  color: #55524d;
  border-color: rgba(23,23,23,0.16);
  background: rgba(23,23,23,0.04);
}

.readiness-gate p,
.readiness-gate small {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.readiness-gate small {
  color: #6b5a35;
}

.readiness-gate small strong {
  display: inline;
  margin: 0 6px 0 0;
}

.deployment-summary {
  margin-bottom: 20px;
}

.deployment-status-grid {
  grid-template-columns: repeat(4, 1fr);
}

.deployment-boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.deployment-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.14);
  min-width: 0;
}

.deployment-actions-card {
  grid-column: 1 / -1;
}

.deployment-card-head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.deployment-card-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.security-control-list {
  display: grid;
}

.security-control {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.security-control:last-child {
  border-bottom: 0;
}

.security-control div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.security-control strong,
.security-control span {
  display: block;
}

.security-control strong {
  font-size: 13px;
  line-height: 1.35;
}

.security-control span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(23,23,23,0.14);
  padding: 0 7px;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.security-control.is-ready span {
  color: #51653d;
  border-color: rgba(85,124,65,0.26);
  background: rgba(85,124,65,0.08);
}

.security-control.is-needs_review span {
  color: #6b5a35;
  border-color: rgba(176,138,67,0.32);
  background: rgba(176,138,67,0.08);
}

.security-control.is-blocked span {
  color: #8b5c4f;
  border-color: rgba(164,82,64,0.3);
  background: rgba(164,82,64,0.08);
}

.security-control p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.webhook-contract,
.rollback-contract {
  display: grid;
}

.webhook-contract .admin-status-row,
.rollback-contract .admin-status-row {
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.rollback-contract .admin-status-row:last-child {
  border-bottom: 0;
}

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

.release-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding: var(--row-padding);
  border-right: 1px solid var(--line);
}

.release-action:last-child {
  border-right: 0;
}

.release-action span {
  display: block;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.release-action strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.release-action p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.release-action button {
  min-width: 128px;
  min-height: 38px;
  padding: 0 12px;
  font-size: 11px;
  white-space: nowrap;
}

.release-action-feedback {
  min-height: 96px;
}

.release-action-result {
  padding: 18px;
}

.release-action-result span {
  display: block;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.release-action-result strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.release-action-result p,
.release-action-result small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.release-action-result small {
  margin-top: 12px;
}

.publishing-workspace {
  display: grid;
  gap: 18px;
}

.publishing-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.13);
}

.publishing-tabs button {
  min-width: 0;
  min-height: 46px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 10px;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  cursor: pointer;
}

.publishing-tabs button:last-child {
  border-right: 0;
}

.publishing-tabs button.is-active {
  background: #171717;
  color: #f6efe3;
}

.publishing-zone {
  display: none;
  min-width: 0;
}

.publishing-zone.is-active {
  display: grid;
  gap: 18px;
}

.publish-queue-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2px;
}

.publish-queue-signal {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 3px 10px;
  align-items: baseline;
  min-width: 132px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.14);
}

.publish-queue-signal span,
.publish-queue-signal small {
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.publish-queue-signal strong {
  justify-self: end;
  font-size: 18px;
  line-height: 1.1;
}

.publish-queue-signal small {
  grid-column: 1 / -1;
  line-height: 1.4;
}

.publishing-zone-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.14);
}

.publishing-zone-head p {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.publishing-queue-list {
  display: grid;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.12);
}

.publishing-queue-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.publishing-queue-item:last-child {
  border-bottom: 0;
}

.publishing-queue-item span,
.publishing-queue-item small {
  display: block;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.publishing-queue-item strong {
  display: block;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.35;
}

.publishing-queue-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.publishing-queue-item > div:last-child {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.publishing-queue-item .button-text {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  line-height: 30px;
  text-decoration: none;
}

.publishing-review-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.publishing-review-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-height: min(940px, calc(100vh - 260px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-gutter: stable;
}

.publishing-review-item {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 0.66fr) minmax(0, 0.72fr) minmax(0, 0.58fr) minmax(0, 0.5fr) minmax(0, 0.86fr) minmax(0, 0.86fr) minmax(124px, 0.72fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: var(--row-padding);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.14);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.publishing-review-item:hover,
.publishing-review-item.is-selected {
  border-color: rgba(176,138,67,0.34);
  background: rgba(176,138,67,0.08);
}

.publishing-review-item-main,
.publishing-review-item-side,
.publishing-review-cell {
  min-width: 0;
}

.publishing-review-item-main {
  display: grid;
  gap: 7px;
}

.publishing-review-item-kicker,
.publishing-review-item-main small,
.publishing-review-item-side small,
.publishing-review-item-side > span,
.publishing-review-cell span {
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  font-weight: 500;
}

.publishing-review-item-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.publishing-review-item-main strong {
  display: block;
  font-size: 16px;
  line-height: 1.36;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.publishing-review-item-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.publishing-status-hint,
.publishing-detail-status-hint {
  display: block;
  margin: 0;
  color: rgba(23,23,23,0.62);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.publishing-detail-status-hint {
  margin-top: -4px;
}

.publishing-render-progress {
  display: grid;
  gap: 6px;
  max-width: 420px;
  margin-top: 2px;
}

.publishing-render-progress > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.publishing-render-progress span {
  color: var(--ink);
  font-weight: 650;
}

.publishing-render-progress small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.publishing-render-progress.is-failed span {
  color: #8a4b3d;
}

.publishing-review-item-side {
  display: grid;
  justify-items: end;
  gap: 9px;
  text-align: right;
}

.publishing-review-item-side strong,
.publishing-review-cell strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.publishing-inline-select,
.publishing-inline-input {
  width: 100%;
  min-height: 34px;
  margin-top: 7px;
  border: 1px solid rgba(23,23,23,0.14);
  background: rgba(255,252,246,0.76);
  color: var(--ink);
  padding: 0 8px;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
}

.publishing-review-item-side a {
  color: var(--ink);
  text-decoration: none;
}

.publishing-row-actions {
  display: grid;
  justify-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 148px;
}

.publishing-row-actions .publish-row-action {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255,252,246,0.72);
  box-shadow: 0 8px 22px rgba(23, 23, 23, 0.04);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 500;
}

.publishing-row-actions .publish-row-action:hover,
.publishing-detail-actions .publish-row-action:hover,
.admin-api-key-actions .button-text:hover {
  transform: translateY(-1px);
  border-color: rgba(176,138,67,0.45);
  background: rgba(176,138,67,0.1);
  box-shadow: 0 10px 28px rgba(176,138,67,0.12), 0 0 0 4px rgba(176,138,67,0.08);
}

.publishing-row-actions .publish-row-action.is-publish,
.publishing-detail-actions .publish-row-action.is-publish {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.publishing-row-actions .publish-row-action.is-publish:hover,
.publishing-detail-actions .publish-row-action.is-publish:hover {
  box-shadow: 0 12px 32px rgba(23, 23, 23, 0.18), 0 0 0 4px rgba(176,138,67,0.12);
}

.publishing-row-actions .publish-row-action.is-withdraw,
.publishing-detail-actions .publish-row-action.is-withdraw {
  border-color: rgba(133, 78, 58, 0.34);
  color: #6f3f32;
  background: rgba(133, 78, 58, 0.06);
}

.publishing-row-actions .publish-row-action.is-delete,
.publishing-detail-actions .publish-row-action.is-delete {
  border-color: rgba(164, 82, 64, 0.26);
  color: #7a4639;
  background: rgba(164, 82, 64, 0.05);
}

.publish-row-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(23,23,23,0.12);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.publishing-review-detail {
  min-width: 0;
  position: static;
}

.publishing-review-detail[hidden] {
  display: none;
}

.publishing-detail-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.14);
  padding: 18px;
}

.publishing-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.publishing-detail-head span,
.publishing-detail-label {
  display: block;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.publishing-detail-head strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
}

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

.publishing-detail-grid div,
.publishing-check-list div {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.publishing-detail-grid div:nth-child(2n),
.publishing-check-list div:nth-child(2n) {
  border-right: 0;
}

.publishing-detail-grid div:nth-last-child(-n+2),
.publishing-check-list div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.publishing-detail-grid span,
.publishing-check-list span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.publishing-detail-grid strong,
.publishing-check-list strong {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.publishing-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.publishing-detail-decisions {
  padding-top: 2px;
}

.publishing-detail-actions .button-primary,
.publishing-detail-actions .button-text {
  min-height: 36px;
  padding: 0 12px;
  line-height: 34px;
  text-decoration: none;
}

.publishing-detail-actions .publish-row-action {
  border: 1px solid var(--line);
  background: rgba(255,252,246,0.72);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(23, 23, 23, 0.04);
}

.publishing-action-note {
  margin: -2px 0 0;
}

.publishing-media-preview {
  display: grid;
  gap: 12px;
}

.publishing-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.publishing-media-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 10px;
  background: rgba(255,255,255,0.16);
}

.publishing-media-grid .admin-media-preview {
  width: 100%;
  min-height: 92px;
}

.publishing-media-grid strong,
.publishing-media-grid small,
.publishing-media-missing span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.publishing-media-grid small,
.publishing-media-missing span {
  color: var(--muted);
}

.publishing-media-missing {
  border: 1px solid rgba(154, 61, 42, 0.35);
  padding: 12px;
  background: rgba(154, 61, 42, 0.05);
}

.publishing-detail-empty {
  border: 1px solid var(--line);
  padding: 18px;
  color: var(--muted);
  background: rgba(255,255,255,0.14);
}

.publishing-mounted-zone {
  display: grid;
  gap: 18px;
}

.publishing-embedded-panel {
  padding: 0;
}

.publishing-embedded-panel .admin-panel-head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.publishing-embedded-panel > .admin-toolbar,
.publishing-embedded-panel > .admin-table-wrap,
.publishing-embedded-panel > .admin-inbox-grid,
.publishing-embedded-panel > .admin-link-grid {
  margin: 18px;
}

.publishing-embedded-panel > .admin-editor,
.publishing-embedded-panel > .admin-import-box {
  margin: 18px;
}

.settings-links-mount {
  margin-top: 18px;
}

.publish-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.publish-step {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.publish-step:last-child {
  border-right: 0;
}

.publish-step span,
.publish-step strong {
  display: block;
}

.publish-step span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 16px;
}

.publish-step strong {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.publish-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.table-action {
  min-height: 30px;
  padding: 0 8px;
  margin-right: 10px;
  font-size: 10px;
  vertical-align: middle;
}

.openclaw-hero {
  align-items: center;
}

.openclaw-console {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 300px;
  gap: 22px;
  padding-top: 34px;
}

.oc-rail,
.oc-context {
  min-width: 0;
}

.oc-panel,
.oc-canvas,
.oc-dispatch,
.oc-preview,
.oc-diff {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
  min-width: 0;
}

.oc-panel {
  padding: 18px;
  margin-bottom: 18px;
}

.oc-panel:last-child {
  margin-bottom: 0;
}

.oc-panel h2,
.oc-diff h2,
.oc-preview h2 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.oc-list {
  display: grid;
  gap: 10px;
}

.oc-item {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(23,23,23,0.1);
  background: rgba(255,252,246,0.48);
}

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

.oc-item strong {
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.oc-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.oc-item small {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #6b5a35;
  border: 1px solid rgba(176,138,67,0.28);
  padding: 0 7px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oc-canvas {
  padding: 22px;
  min-width: 0;
}

.oc-canvas-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.oc-canvas-head p {
  max-width: 620px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.58;
}

.oc-stream {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.oc-message {
  width: min(88%, 680px);
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(23,23,23,0.12);
  background: rgba(255,252,246,0.52);
}

.oc-message.agent {
  margin-left: auto;
  background: rgba(176,138,67,0.07);
}

.oc-message.streaming {
  border-color: rgba(176,138,67,0.44);
}

.oc-message strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.oc-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.oc-blocks {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.oc-block {
  border: 1px solid rgba(23,23,23,0.11);
  background: rgba(255,255,255,0.36);
  padding: 11px 12px;
  min-width: 0;
}

.oc-block.is-streaming {
  border-color: rgba(176,138,67,0.44);
  box-shadow: inset 3px 0 0 rgba(176,138,67,0.35);
}

.oc-block strong {
  margin-bottom: 6px;
}

.oc-block p,
.oc-block ul {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.oc-block ul {
  padding-left: 16px;
  margin-top: 7px;
}

.oc-block img,
.oc-block video {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}

.oc-block audio {
  width: 100%;
  display: block;
  margin-bottom: 8px;
}

.oc-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
}

.oc-block th,
.oc-block td {
  border-top: 1px solid rgba(23,23,23,0.1);
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
}

.oc-block-code {
  overflow-x: auto;
  white-space: pre;
  font-size: 12px;
  line-height: 1.5;
}

.oc-chart-bars {
  display: grid;
  gap: 8px;
}

.oc-chart-row {
  display: grid;
  grid-template-columns: minmax(62px, 0.8fr) minmax(90px, 2fr) minmax(34px, auto);
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.oc-chart-row i {
  height: 8px;
  background: linear-gradient(90deg, rgba(176,138,67,0.72) var(--oc-bar), rgba(23,23,23,0.08) var(--oc-bar));
}

.oc-chart-row strong {
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
  text-align: right;
}

.oc-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.oc-stage-grid div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.oc-stage-grid div:last-child {
  border-right: 0;
}

.oc-stage-grid span,
.oc-stage-grid strong {
  display: block;
}

.oc-stage-grid span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 12px;
}

.oc-stage-grid strong {
  font-size: 13px;
  margin-bottom: 8px;
}

.oc-stage-grid p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.oc-chat-composer {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(23,23,23,0.13);
  background: rgba(255,252,246,0.52);
}

.oc-chat-composer label {
  display: grid;
  gap: 8px;
}

.oc-composer-route {
  max-width: 320px;
}

.oc-chat-composer label span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.oc-chat-composer select,
.oc-chat-composer textarea {
  width: 100%;
  border: 1px solid rgba(23,23,23,0.14);
  background: rgba(255,255,255,0.38);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  line-height: 1.56;
  outline: none;
}

.oc-chat-composer select {
  min-height: 44px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(23,23,23,0.72) 50%),
    linear-gradient(135deg, rgba(23,23,23,0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.oc-chat-composer textarea {
  min-height: 104px;
  resize: vertical;
}

.oc-chat-composer select:focus,
.oc-chat-composer textarea:focus {
  border-color: rgba(176,138,67,0.62);
  box-shadow: 0 0 0 3px rgba(176,138,67,0.11);
}

.oc-composer-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px 12px;
  flex-wrap: wrap;
}

.oc-composer-actions .button-primary {
  margin-left: auto;
}

.oc-config-list {
  display: grid;
  border: 1px solid var(--line);
}

.oc-config-list div {
  min-width: 0;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.oc-config-list div:last-child {
  border-bottom: 0;
}

.oc-config-list span,
.oc-config-list strong {
  display: block;
}

.oc-config-list span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.oc-config-list strong {
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.oc-dispatch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.oc-dispatch label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.oc-dispatch label:nth-child(5),
.oc-dispatch .admin-permission-strip,
.oc-dispatch .button-primary {
  grid-column: 1 / -1;
}

.oc-dispatch select,
.oc-dispatch textarea {
  width: 100%;
  min-height: var(--control-height);
  border: 1px solid rgba(23,23,23,0.14);
  background: rgba(255,252,246,0.72);
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  outline: none;
}

.oc-dispatch textarea {
  min-height: 120px;
  padding: 12px;
  line-height: 1.56;
  resize: vertical;
}

.oc-dispatch .button-primary {
  justify-self: start;
}

.oc-dispatch-feedback {
  grid-column: 1 / -1;
}

.oc-dispatch-result {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.2);
}

.oc-dispatch-result.is-idle {
  color: var(--muted);
}

.oc-dispatch-result.is-error {
  border-color: rgba(164,82,64,0.28);
  background: rgba(164,82,64,0.07);
}

.oc-dispatch-result > span {
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.oc-dispatch-result > strong {
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.oc-dispatch-result p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.oc-dispatch-result .button-primary {
  justify-self: start;
}

.oc-results-grid {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1fr) minmax(220px, .8fr);
  gap: 22px;
}

.oc-artifacts {
  display: grid;
  gap: 12px;
}

.oc-artifact {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.oc-artifact span,
.oc-artifact strong {
  display: block;
}

.oc-artifact span {
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  margin-bottom: 9px;
}

.oc-artifact strong {
  font-size: 14px;
  margin-bottom: 10px;
}

.oc-artifact p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.oc-artifact-preview {
  margin: 12px 0 0;
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--ink);
  font: 12px/1.55 var(--font-ui);
}

.oc-draft-summary {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.oc-draft-summary div span,
.oc-draft-summary small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.oc-draft-summary div strong {
  margin: 3px 0 0;
  font-size: 13px;
}

.oc-draft-summary p {
  margin: 0;
}

.oc-draft-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.oc-draft-pills code {
  border: 1px solid var(--line);
  padding: 4px 7px;
  font-size: 11px;
  background: rgba(255,255,255,0.22);
}

.oc-draft-request-button {
  width: fit-content;
  margin-top: 12px;
}

.oc-draft-request-feedback {
  margin-top: 10px;
  border-left: 2px solid var(--ink);
  padding-left: 10px;
}

.oc-draft-request-feedback strong,
.oc-draft-request-feedback a {
  font-size: 13px;
}

.oc-draft-request-feedback p {
  margin-top: 4px;
}

.oc-preview,
.oc-diff {
  padding: 20px;
}

.oc-preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.oc-preview-toolbar strong {
  overflow-wrap: anywhere;
  text-align: right;
}

.oc-preview h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.oc-preview p,
.oc-diff p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.66;
}

.oc-diff del,
.oc-diff ins {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
}

.oc-diff del {
  color: #8b5c4f;
  background: rgba(164,82,64,0.08);
}

.oc-diff ins {
  color: #51653d;
  background: rgba(85,124,65,0.1);
}

.oc-diff .admin-hero-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: 24px;
  padding-top: 34px;
}

.review-main,
.review-side {
  display: grid;
  gap: 24px;
  min-width: 0;
  align-self: start;
}

.review-side {
  position: sticky;
  top: 24px;
}

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

.review-fact,
.review-check {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-fact:nth-child(2n),
.review-check:nth-child(2n) {
  border-right: 0;
}

.review-fact:nth-last-child(-n+2),
.review-check:nth-last-child(-n+2) {
  border-bottom: 0;
}

.review-fact span,
.review-check span {
  display: block;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  margin-bottom: 9px;
}

.review-fact strong,
.review-check strong {
  display: block;
  font-size: 13px;
  line-height: 1.46;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.review-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-diff-list,
.review-artifact-grid,
.review-actions {
  display: grid;
  gap: 12px;
}

.review-file {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
  padding: 16px;
}

.review-file > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.review-file strong,
.review-file span {
  display: block;
}

.review-file strong {
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.review-file > div:first-child span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #6b5a35;
  border: 1px solid rgba(176,138,67,0.28);
  padding: 0 7px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-file p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.review-change {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.review-change span {
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.review-change del,
.review-change ins {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.55;
}

.review-change del {
  color: #8b5c4f;
  background: rgba(164,82,64,0.08);
}

.review-change ins {
  color: #51653d;
  background: rgba(85,124,65,0.1);
}

.review-actions .button-primary,
.review-actions .button-text {
  justify-content: center;
  width: 100%;
}

.review-actions .button-text {
  border: 1px solid rgba(23,23,23,0.14);
  background: rgba(255,252,246,0.42);
}

.review-action-result {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(23,23,23,0.12);
  background: rgba(255,252,246,0.54);
}

.review-action-result.is-idle {
  color: var(--muted);
}

.review-action-result.is-error {
  border-color: rgba(164,82,64,0.28);
  background: rgba(164,82,64,0.07);
}

.review-action-result > span,
.review-action-grid span,
.review-audit-event span {
  display: block;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.review-action-result > strong {
  font-size: 15px;
}

.review-action-result p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.review-action-result small,
.review-audit-event small {
  color: #6b5a35;
  font-size: 11px;
  line-height: 1.5;
}

.review-action-grid {
  display: grid;
  border: 1px solid var(--line);
}

.review-action-grid div {
  min-width: 0;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.review-action-grid div:last-child {
  border-bottom: 0;
}

.review-action-grid strong {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.review-artifact-mini {
  display: grid;
  gap: 7px;
  padding-top: 2px;
}

.review-artifact-mini span {
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.review-artifact-mini code {
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.28);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.review-rich-blocks {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.review-rich-block {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.14);
  padding: 12px;
  min-width: 0;
}

.review-rich-block .oc-blocks {
  margin-top: 0;
}

.review-rich-block .oc-block {
  background: rgba(255,255,255,0.28);
}

.review-audit-list {
  display: grid;
  gap: 12px;
}

.review-audit-event {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.18);
}

.review-audit-event strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.review-audit-event p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .62fr);
  gap: min(7vw, 84px);
  align-items: center;
  min-height: 620px;
  padding-bottom: 64px;
}

.login-copy h1 {
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 24px;
}

.login-copy p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.78;
  margin-bottom: 28px;
}

.login-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.login-policy-grid div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.login-policy-grid div:last-child {
  border-right: 0;
}

.login-policy-grid span,
.login-policy-grid strong {
  display: block;
}

.login-policy-grid span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 12px;
}

.login-policy-grid strong {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.login-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.24);
  padding: 28px;
  display: grid;
  gap: 18px;
}

.login-card p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.56;
}

.login-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

.login-card input {
  width: 100%;
  min-height: var(--control-height);
  border: 1px solid rgba(23,23,23,0.14);
  background: rgba(255,252,246,0.72);
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  outline: none;
}

.login-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.login-scope span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(176,138,67,0.38);
  padding: 0 8px;
  color: #6b5a35;
  font-size: var(--label-size);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.login-card .button-primary {
  width: 100%;
}

.login-feedback {
  min-height: 22px;
  color: #6b5a35;
  font-size: 12px;
  line-height: 1.5;
}

.login-note {
  color: var(--muted);
  font-size: 12px !important;
}

.search input,
.login-card input,
.admin-composer input,
.admin-composer select,
.admin-composer textarea,
.oc-chat-composer select,
.oc-chat-composer textarea,
.oc-dispatch select,
.oc-dispatch textarea {
  border-radius: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.admin-composer input:focus,
.admin-composer select:focus,
.admin-composer textarea:focus,
.oc-chat-composer select:focus,
.oc-chat-composer textarea:focus,
.oc-dispatch select:focus,
.oc-dispatch textarea:focus,
.login-card input:focus {
  border-color: rgba(176,138,67,0.56);
  box-shadow: 0 0 0 4px rgba(176,138,67,0.12);
}

.admin-panel,
.admin-table-wrap,
.admin-job-list,
.admin-status-grid,
.admin-settings-grid,
.admin-link-grid,
.readiness-summary,
.readiness-grid,
.deployment-card,
.release-action-list,
.publish-flow,
.oc-panel,
.oc-canvas,
.oc-dispatch,
.oc-preview,
.oc-diff,
.review-fact-grid,
.review-check-grid,
.review-file,
.review-action-result,
.login-card {
  min-width: 0;
}

.hidden { display: none !important; }

.quote-card {
  padding: 36px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: -32px;
  right: 28px;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 180px;
  line-height: 1;
}

.quote-card p {
  font-family: var(--serif);
  position: relative;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 28px;
  color: var(--ink);
}

.quote-card small {
  color: var(--muted);
  line-height: 1.7;
  display: block;
}

.footer { padding: 52px 0 0; }
.footer-main {
  display: grid;
  grid-template-columns: 0.9fr 0.75fr 1fr;
  gap: 44px;
  align-items: start;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.footer h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.footer p,
.contact-list {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: 8px;
  border-left: 1px solid var(--line);
  padding-left: 42px;
}

.contact-list a { display: inline-flex; gap: 12px; align-items: center; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  padding: 22px 0;
}

.footer-legal {
  display: inline;
}

.footer-legal a {
  color: inherit;
  text-decoration-color: rgba(20, 19, 17, 0.18);
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-legal a:hover {
  color: var(--ink);
  text-decoration-color: rgba(20, 19, 17, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.icon-stroke {
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.svg-label {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.03em;
  fill: #151515;
  font-weight: 700;
}

@media (min-width: 1181px) {
  .case-card {
    display: grid;
    grid-template-rows: 198px 1fr;
  }
  .case-top {
    min-height: 0;
    height: 198px;
  }
  .case-steps { height: 100%; }
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    gap: 18px;
  }
  .nav-right {
    justify-content: flex-end;
    gap: 14px;
  }
  .nav-links {
    gap: 14px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .lang-switch button,
  .lang-switch a {
    padding: 7px 9px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 22px;
  }
  .detail-aside {
    --detail-aside-pad: 22px;
    padding: var(--detail-aside-pad);
  }
}

@media (max-width: 1180px) {
  .publish-queue-toolbar {
    grid-template-columns: minmax(190px, 1.2fr) repeat(4, minmax(104px, 0.7fr)) minmax(96px, auto);
  }
  .publish-queue-toolbar .button-text {
    justify-self: stretch;
    min-width: 0;
  }
  .hero,
  .hero.narrow,
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { min-height: auto; }
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .observe-topic-grid,
  #observe-preview .observe-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .observe-lower,
  .observe-detail-layout { grid-template-columns: 1fr; }
  .observe-lineage-head {
    grid-template-columns: 1fr;
  }
  .observe-lineage-stats {
    justify-content: flex-start;
    max-width: none;
  }
  .observe-lineage-stats span {
    text-align: left;
  }
  .observe-nexus-board {
    min-height: auto;
    display: grid;
    gap: 26px;
    padding: 24px;
    overflow: visible;
  }
  .observe-nexus-canvas {
    min-height: auto;
    width: auto !important;
    display: grid;
    gap: 26px;
    background: transparent;
  }
  .observe-nexus-canvas::before,
  .observe-nexus-axis,
  .observe-nexus-lines {
    display: none;
  }
  .observe-nexus-topic,
  .observe-nexus-node,
  .observe-nexus-register,
  .observe-nexus-node-layer {
    position: static;
    width: auto;
    transform: none;
  }
  .observe-nexus-node-layer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    pointer-events: auto;
  }
  .observe-nexus-topic {
    transform: none;
  }
  .observe-nexus-node:hover {
    transform: none;
  }
  .observe-nexus-register {
    max-width: none;
  }
  .observe-read-grid { grid-template-columns: 1fr; }
  .observe-lineage-band .observe-topic-lineage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .observe-read-grid section {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .observe-read-grid section:last-child { border-bottom: 0; }
  .grid-2,
  .cases-grid,
  .about-block,
  .resume-grid,
  .contact-card,
  .footer-main,
  .admin-hero,
  .admin-layout,
  .deployment-boundary-grid,
  .admin-openclaw-grid,
  .admin-openclaw-summary,
  .openclaw-console,
  .oc-results-grid,
  .review-layout,
  .login-shell { grid-template-columns: 1fr; }
  .review-side { position: static; }
  .admin-metric-grid,
  .admin-ops-summary,
  .admin-health-grid,
  .publishing-tabs,
  .admin-settings-grid,
  .deployment-status-grid,
  .release-action-list,
  .admin-form-grid,
  .publish-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-metric:nth-child(2n),
  .admin-health-item:nth-child(2n),
  .admin-setting:nth-child(2n),
  .deployment-status-grid .admin-status-row:nth-child(2n),
  .release-action:nth-child(2n),
  .publish-step:nth-child(2n) {
    border-right: 0;
  }
  .admin-metric:nth-child(n+3),
  .admin-health-item:nth-child(n+3),
  .admin-setting:nth-child(n+3),
  .deployment-status-grid .admin-status-row:nth-child(n+3),
  .release-action:nth-child(n+3),
  .publish-step:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .observe-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .observe-metrics div:nth-child(2n) { border-right: 0; }
  .observe-metrics div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .publishing-queue-item {
    grid-template-columns: minmax(0, 1fr);
  }
  .publishing-queue-item > div:last-child {
    justify-items: start;
  }
  .publishing-review-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .publishing-review-item {
    grid-template-columns: minmax(0, 1fr);
  }
  .publishing-review-item-side {
    justify-items: start;
    text-align: left;
  }
  .publishing-row-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
  .publishing-review-detail {
    position: static;
  }
  .method-row { grid-template-columns: 70px 1fr; }
  .method-row p { grid-column: 2; }
  .featured-article { position: static; min-height: auto; }
  .contact-list,
  .resume-list { border-left: 0; padding-left: 0; }
  .resume-panel h3 { min-height: auto; }
  .case-top { min-height: 176px; }
}

@media (max-width: 780px) {
  :root {
    --control-height: 44px;
    --control-x: 18px;
    --panel-padding: 20px;
    --card-padding: 22px;
    --row-padding: 16px;
  }
  .page {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .browser-bar { display: none; }
  .site { padding: 28px 22px 0; }
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 14px;
    margin-bottom: 36px;
  }
  .brand {
    order: 1;
    justify-self: start;
  }
  .nav-right { display: contents; }
  .lang-switch {
    order: 2;
    justify-self: end;
  }
  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    white-space: normal;
  }
  .eyebrow {
    display: flex;
    align-items: flex-start;
    font-size: 11px;
    letter-spacing: 0.13em;
  }
  html[lang="en"] body[data-page="home"] .hero-copy .eyebrow {
    gap: 7px;
    font-size: 9px;
    letter-spacing: 0.015em;
  }
  html[lang="en"] body[data-page="home"] .hero-copy .eyebrow::before {
    flex-basis: 18px;
    width: 18px;
  }
  .hero { min-height: auto; padding-bottom: 42px; }
  .hero-copy p { font-size: 15px; }
  .actions {
    align-items: center;
    gap: 18px;
  }
  .button-primary,
  .button-text {
    white-space: normal;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-action {
    text-align: left;
  }
  .grid-3,
  .grid-4,
  .grid-2,
  .toolbar,
  .archive-controls { grid-template-columns: 1fr; }
  .admin-auth-strip,
  .admin-status-grid,
  .admin-ops-grid,
  .admin-health-grid,
  .admin-inbox-grid,
  .admin-toolbar,
  .publishing-tabs,
  .admin-link-grid,
  .deployment-status-grid,
  .release-action-list,
  .publish-flow,
  .oc-stage-grid,
  .oc-dispatch,
  .readiness-summary,
  .readiness-grid,
  .review-fact-grid,
  .review-check-grid,
  .login-policy-grid {
    grid-template-columns: 1fr;
  }
  .admin-auth-strip > *,
  .admin-status-row,
  .admin-health-item,
  .admin-link-item,
  .deployment-status-grid .admin-status-row,
  .release-action,
  .publish-step,
  .oc-stage-grid div,
  .readiness-score,
  .review-fact,
  .review-check,
  .login-policy-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-auth-strip > *:last-child,
  .admin-status-row:last-child,
  .admin-health-item:last-child,
  .admin-link-item:last-child,
  .deployment-status-grid .admin-status-row:last-child,
  .release-action:last-child,
  .publish-step:last-child,
  .oc-stage-grid div:last-child,
  .readiness-score:last-child,
  .review-fact:last-child,
  .review-check:last-child,
  .login-policy-grid div:last-child {
    border-bottom: 0;
  }
  .readiness-score {
    border-right: 0;
  }
  .deployment-status-grid .admin-status-row:nth-child(n+3) {
    border-top: 0;
  }
  .publish-step:nth-child(n+3) {
    border-top: 0;
  }
  .review-fact:nth-last-child(-n+2),
  .review-check:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .review-fact:last-child,
  .review-check:last-child {
    border-bottom: 0;
  }
  .admin-side-nav,
  .admin-metric-grid,
  .admin-ops-summary,
  .admin-health-grid,
  .publishing-tabs,
  .publishing-detail-grid,
  .publishing-check-list,
  .admin-settings-grid,
  .admin-token-row,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .publish-queue-toolbar {
    grid-template-columns: 1fr 1fr;
    overflow-x: visible;
  }
  .publish-queue-toolbar .button-text {
    justify-self: stretch;
  }
  .publishing-detail-grid div,
  .publishing-check-list div {
    border-right: 0;
  }
  .publishing-detail-grid div:nth-last-child(-n+2),
  .publishing-check-list div:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .publishing-detail-grid div:last-child,
  .publishing-check-list div:last-child {
    border-bottom: 0;
  }
  .admin-side-nav a,
  .admin-metric,
  .admin-health-item,
  .admin-setting,
  .publish-step {
    border-right: 0;
  }
  .admin-metric,
  .admin-health-item,
  .admin-setting,
  .publish-step {
    border-bottom: 1px solid var(--line);
  }
  .admin-metric:last-child,
  .admin-health-item:last-child,
  .admin-setting:last-child,
  .publish-step:last-child {
    border-bottom: 0;
  }
  .admin-panel,
  .login-card {
    padding: var(--panel-padding);
  }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .detail-card:last-child { border-bottom: 0; }
  .detail-shot { min-height: 220px; padding: 18px; }
  .filter-bar { justify-content: flex-start; }
  .archive-controls-head {
    align-items: stretch;
    flex-direction: column;
  }
  .archive-month-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .archive-view-switch {
    width: 100%;
    overflow-x: auto;
  }
  .archive-view-switch button {
    flex: 1 0 auto;
  }
  .oc-canvas-head,
  .oc-preview-toolbar,
  .oc-composer-actions {
    display: grid;
  }
  .oc-composer-actions .button-primary {
    margin-left: 0;
  }
  .oc-composer-route {
    max-width: none;
  }
  .oc-message {
    width: 100%;
  }
  .oc-panel,
  .oc-canvas,
  .oc-dispatch,
  .oc-preview,
  .oc-diff {
    padding: 18px;
  }
  .oc-dispatch label:nth-child(5),
  .oc-dispatch .admin-permission-strip,
  .oc-dispatch .button-primary {
    grid-column: auto;
  }
  .article-row { grid-template-columns: 1fr; }
  .observe-topic-grid,
  .observe-metrics,
  .observe-insight-grid { grid-template-columns: 1fr; }
  #observe-preview .observe-topic-grid {
    grid-template-columns: 1fr;
  }
  #observe-preview .observe-topic-card {
    min-height: 0;
    grid-template-rows: auto;
    gap: 16px;
    padding: 22px;
  }
  #observe-preview .observe-topic-card h3,
  #observe-preview .observe-topic-card p,
  #observe-preview .observe-topic-latest {
    min-height: 0;
  }
  .observe-filterbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 14px 0;
    gap: 8px;
    scrollbar-width: thin;
  }
  .observe-filter {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }
  .observe-nexus-toolbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .observe-nexus-density button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }
  .observe-section-head,
  .observe-direction-grid,
  .observe-topic-core-links,
  .observe-event-body,
  .observe-topic-close {
    grid-template-columns: 1fr;
  }
  .observe-topic-core-links {
    gap: 18px;
  }
  .observe-topic-core-list {
    grid-template-columns: 1fr;
  }
  .observe-topic-core-list a:nth-child(odd) {
    margin-right: 0;
  }
  .observe-topic-core-list a:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .observe-topic-close {
    gap: 38px;
    padding-top: 34px;
  }
  .observe-topic-close .observe-detail-section,
  .observe-question-cluster li,
  .observe-linked-thinking-row {
    grid-template-columns: 1fr;
  }
  .observe-question-cluster li {
    gap: 8px;
    padding: 18px 0 20px;
  }
  .observe-linked-thinking-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .observe-linked-month summary {
    min-height: 52px;
    gap: 14px;
  }
  .observe-linked-thinking-row {
    gap: 10px;
    align-items: start;
    padding: 18px 0;
  }
  .observe-linked-thinking-action {
    justify-self: start;
  }
  .observe-event-body {
    gap: 28px;
  }
  .observe-event-panel-shell {
    position: static;
    top: auto;
    max-height: none;
    min-height: 0;
  }
  .observe-event-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .observe-event-rail-window {
    margin-right: calc(var(--page-pad) * -1);
    padding-right: var(--page-pad);
  }
  .observe-event-rail-track {
    min-width: max(640px, calc(var(--event-count) * 92px));
    width: calc((100% / var(--visible-events, 8)) * var(--event-count));
  }
  .observe-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .observe-metrics div:last-child { border-bottom: 0; }
  .observe-signal-row,
  .observe-event-item,
  .observe-timeline-item,
  .observe-judgment-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .observe-topic-lineage,
  .observe-lineage-band .observe-topic-lineage {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .observe-nexus-board {
    margin-top: 16px;
    padding: 18px;
  }
  .observe-nexus-canvas {
    gap: 20px;
  }
  .observe-nexus-node-layer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .observe-nexus-topic h3 {
    font-size: 24px;
  }
  .observe-topic-lineage::before {
    top: 17px;
    bottom: 8px;
    left: 4px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .observe-topic-lineage span {
    grid-template-columns: 10px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }
  .observe-topic-lineage span::before {
    grid-row: 1 / span 2;
    margin-top: 2px;
  }
  .observe-topic-lineage i,
  .observe-topic-lineage b {
    grid-column: 2;
  }
  .observe-signal-row p { grid-column: auto; }
  .observe-topic-card { min-height: 0; }
  .case-top { grid-template-columns: 1fr; }
  .case-art { border-right: 0; border-bottom: 1px solid var(--line); min-height: 150px; }
  .case-steps,
  .thinking,
  .signal-grid { grid-template-columns: 1fr; }
  .archive-list .article-row {
    grid-template-columns: 1fr;
  }
  .archive-list .article-index {
    min-height: 76px;
    padding: 18px 0 0;
  }
  .archive-list .article-cover {
    margin: 0 0 18px;
  }
  .archive-list .article-copy {
    padding: 18px 0 28px;
  }
  .method-row { grid-template-columns: 1fr; gap: 12px; }
  .method-row p { grid-column: auto; }
  .case-step,
  .principle,
  .signal-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-step:last-child,
  .principle:last-child,
  .signal-card:last-child { border-bottom: 0; }
  .profile-mark { width: min(340px, 88vw); }
  .profile-mark-label { bottom: 26px; }
  .profile-mark-label span { font-size: 24px; }
  .article-index {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    place-items: center start;
    padding-left: 24px;
    font-size: 36px;
  }
  .article-date {
    align-content: center;
    gap: 4px;
  }
  .article-date span { font-size: 32px; }
  .article-date strong { font-size: 12px; }
  .article-cover {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .project-card { grid-template-rows: auto 1fr; }
  .project-shot { height: auto; min-height: 180px; padding: 16px; }
  .project-body h3,
  .project-body > p:not(.meta),
  .project-stack,
  .project-body .tag-list { min-height: 0; }
  .map-shot { grid-template-columns: 1fr; }
  .map-rail { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside-shell {
    position: static;
    top: auto;
    max-height: none;
  }
  body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside-shell .detail-aside {
    max-height: none;
    overflow-y: visible;
  }
  .detail-provenance header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    justify-content: stretch;
  }
  .detail-provenance dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }
  .detail-provenance-copy::after {
    display: block;
    margin: 4px 0 0;
  }
}

@media (max-width: 420px) {
  .site { padding: 24px 18px 0; }
  h1 { font-size: 58px; }
  .hero-copy h2 { font-size: 30px; }
  .publish-queue-toolbar {
    grid-template-columns: 1fr;
  }
  .section-head { gap: 14px; }
  .section-title {
    font-size: 12px;
    letter-spacing: 0.18em;
  }
  .feature-card,
  .method-card,
  .resume-panel,
  .project-body,
  .article-copy,
  .quote-card,
  .contact-card {
    padding: 22px;
  }
  .method-row { padding: 22px; }
  .signal-card { padding: 22px; }
}

@media (max-width: 380px) {
  html[lang="en"] body[data-page="home"] .hero-copy .eyebrow {
    gap: 6px;
    font-size: 8px;
    letter-spacing: 0;
  }
  html[lang="en"] body[data-page="home"] .hero-copy .eyebrow::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .draw-line { stroke-dashoffset: 0; }
  .method-lineage animate { display: none; }
}
:root {
  --surface-quiet: rgba(255, 253, 248, 0.44);
  --surface-raised: rgba(255, 253, 248, 0.72);
  --surface-solid: #fffdf8;
  --shadow-raised: 0 18px 58px rgba(42, 35, 24, 0.07), inset 0 1px rgba(255, 255, 255, 0.72);
  --shadow-floating: 0 26px 76px rgba(42, 35, 24, 0.11), inset 0 1px rgba(255, 255, 255, 0.82);
  --light-current: rgba(176, 138, 67, 0.28);
}

.page {
  border-color: rgba(23, 23, 23, 0.095);
  box-shadow: 0 28px 90px rgba(42, 35, 24, 0.10), inset 0 1px rgba(255, 255, 255, 0.54);
}

.brand-mark {
  box-shadow: 0 8px 24px rgba(42, 35, 24, 0.10);
  filter: none;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111;
}

.nav-links a::after,
.section-title::before,
.eyebrow::before {
  box-shadow: 0 0 14px var(--light-current);
}

.hero {
  position: relative;
  border-bottom: 0;
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 23, 23, 0.12) 10%, rgba(23, 23, 23, 0.12) 90%, transparent);
  pointer-events: none;
}

.hero-art {
  isolation: isolate;
}

.hero-art::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 14% 8%;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 38%, rgba(255, 255, 255, 0.34) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-18%);
  animation: site-ambient-sweep 9.2s ease-in-out infinite;
}

.section {
  position: relative;
  padding: 72px 0;
  border-bottom: 0;
}

.section:last-child::after {
  display: none;
}

.section-head {
  margin-bottom: 30px;
}

.section-title {
  line-height: 1.25;
}

.card,
.feature-card,
.method-card,
.resume-panel,
.signal-card,
.note-card,
.project-card,
.quote-card,
.contact-card,
.article-row,
.case-card,
.observe-topic-card,
.observe-panel,
.observe-direction-panel,
.observe-event-panel,
.admin-panel,
.admin-status-grid,
.admin-analytics-panel {
  border-color: rgba(23, 23, 23, 0.085);
  background: var(--surface-quiet);
  box-shadow: 0 12px 38px rgba(42, 35, 24, 0.045), inset 0 1px rgba(255, 255, 255, 0.64);
}

.feature-card:hover,
.method-card:hover,
.resume-panel:hover,
.signal-card:hover,
.project-card:hover,
.note-card:hover,
.article-row:hover,
.case-card:hover,
.observe-topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(176, 138, 67, 0.28);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
}

.button-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.14);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.16) 50%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.button-primary:hover::before {
  transform: translateX(130%);
}

.button-primary:hover {
  box-shadow: 0 20px 48px rgba(23, 23, 23, 0.19), 0 0 0 4px rgba(176, 138, 67, 0.10);
}

.search input,
.filter-bar button,
.archive-view-switch,
.archive-month-nav a,
.archive-year-nav a,
.lang-switch {
  border-color: rgba(23, 23, 23, 0.12);
  background: rgba(255, 253, 248, 0.56);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.64);
}

.filter-bar button,
.archive-month-nav a,
.archive-year-nav a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.filter-bar button:hover,
.archive-month-nav a:hover,
.archive-year-nav a:hover {
  border-color: rgba(176, 138, 67, 0.36);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 24px rgba(42, 35, 24, 0.05);
}

.featured-article {
  border-color: rgba(23, 23, 23, 0.085);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
}

.archive-list .article-row {
  box-shadow: none;
}

.archive-list .article-row:hover {
  transform: none;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.68), rgba(176, 138, 67, 0.07) 56%, transparent);
  box-shadow: 0 16px 40px rgba(42, 35, 24, 0.055);
}

.detail-hero {
  border-bottom: 0;
}

.detail-title {
  max-width: 1120px;
}

.detail-summary {
  max-width: 920px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside-shell .detail-aside {
  border-color: rgba(23, 23, 23, 0.085);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow-floating);
  backdrop-filter: blur(18px);
}

.detail-toc a.active {
  background: linear-gradient(90deg, rgba(176, 138, 67, 0.12), transparent 82%);
}

.prose {
  color: #34302b;
}

.prose p,
.prose li {
  line-height: 1.86;
}

.prose blockquote {
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(176, 138, 67, 0.075), transparent 88%);
}

.prose pre,
.prose table,
.detail-cover,
.detail-provenance {
  border-color: rgba(23, 23, 23, 0.09);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.62);
}

.project-shot,
.note-visual,
.case-art {
  background-color: rgba(255, 253, 248, 0.36);
}

.method-flow,
.thinking,
.signal-grid,
.observe-metrics {
  border-color: rgba(23, 23, 23, 0.085);
  background: rgba(255, 253, 248, 0.38);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.58);
}

.observe-nexus-board,
.observe-event-rail-window {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.58), 0 18px 54px rgba(42, 35, 24, 0.045);
}

.observe-nexus-node:hover,
.observe-linked-thinking-row:hover {
  filter: saturate(1.02);
}

.footer-bottom {
  border-top-color: rgba(23, 23, 23, 0.09);
}

@keyframes site-ambient-sweep {
  0%, 14%, 100% { opacity: 0; transform: translateX(-18%); }
  34% { opacity: 0.42; }
  58% { opacity: 0.12; transform: translateX(18%); }
}

@media (max-width: 820px) {
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 24px; }
  .hero-art::after { inset: 12% 4%; }
  body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside-shell .detail-aside {
    box-shadow: 0 16px 42px rgba(42, 35, 24, 0.07), inset 0 1px rgba(255, 255, 255, 0.68);
  }
}

@keyframes admin-skeleton-sweep {
  0% { background-position: 100% 0; }
  100% { background-position: -120% 0; }
}

#dashboard-search-visibility {
  scroll-margin-top: 88px;
}
body[data-page="observe"] .observe-detail-hero {
  min-height: 0;
  padding: 10px 0 34px;
}

body[data-page="observe"] .observe-topic-archive {
  padding: 0 0 56px;
}

body[data-page="observe"] .observe-topic-archive::after {
  display: none;
}

body[data-page="observe"] .observe-direction-panel {
  margin: 0 0 38px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="observe"] .observe-direction-panel .observe-section-head,
body[data-page="observe"] .observe-event-workbench > .observe-section-head {
  padding-top: 24px;
}

body[data-page="observe"] .observe-event-workbench {
  margin-bottom: 44px;
}

.observe-event-source-link {
  display: inline-flex;
  width: fit-content;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.observe-event-source-link:hover {
  color: var(--ink);
}

.observe-event-source-link.hidden {
  display: none;
}

@media (max-width: 720px) {
  body[data-page="observe"] .observe-detail-hero {
    padding-top: 4px;
    padding-bottom: 26px;
  }

  body[data-page="observe"] .observe-detail-hero .detail-back {
    margin-bottom: 16px;
  }

  body[data-page="observe"] .observe-topic-archive {
    padding-bottom: 40px;
  }

  body[data-page="observe"] .observe-direction-panel {
    margin-bottom: 28px;
  }

  body[data-page="observe"] .observe-direction-grid {
    gap: 24px;
  }

  body[data-page="observe"] .observe-direction-panel .observe-section-head,
  body[data-page="observe"] .observe-event-workbench > .observe-section-head {
    padding-top: 20px;
  }

  body[data-page="observe"] .observe-event-workbench {
    margin-bottom: 34px;
  }
}

@media (max-width: 520px) {
  .section { padding: 50px 0; }
  .feature-card:hover,
  .method-card:hover,
  .resume-panel:hover,
  .signal-card:hover,
  .project-card:hover,
  .note-card:hover,
  .article-row:hover,
  .case-card:hover,
  .observe-topic-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art::after,
  .button-primary::before {
    animation: none !important;
    transform: none !important;
    opacity: 0 !important;
  }
}
:root {
  --surface-cool: rgba(242, 246, 244, 0.62);
  --surface-cool-solid: #f4f6f3;
  --ink-band: #20201e;
  --site-gutter: min(5.6vw, 78px);
}

body:not([data-page="admin"]) .page {
  overflow: visible;
}

body:not([data-page="admin"]) .browser-bar {
  overflow: hidden;
  border-radius: 26px 26px 0 0;
}

body:not([data-page="admin"]) .nav {
  position: sticky;
  top: 14px;
  z-index: 80;
  min-height: 66px;
  margin: -12px -18px 30px;
  padding: 12px 18px;
  border: 1px solid rgba(23, 23, 23, 0.085);
  background: rgba(250, 248, 242, 0.84);
  box-shadow: 0 18px 54px rgba(42, 35, 24, 0.075), inset 0 1px rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(1.08);
}

body:not([data-page="admin"]) .nav::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -1px;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  box-shadow: 0 0 16px var(--light-current);
  pointer-events: none;
}

body[data-page="home"] .hero {
  min-height: 492px;
  padding: 12px 0 48px;
  gap: clamp(42px, 6vw, 82px);
}

body[data-page="home"] .hero-copy h1 {
  font-size: clamp(68px, 7.8vw, 112px);
}

body[data-page="home"] .hero-copy h2 {
  font-size: clamp(29px, 3.35vw, 46px);
  margin-bottom: 18px;
}

body[data-page="home"] .hero-copy p {
  font-size: 16px;
  line-height: 1.66;
  margin-bottom: 24px;
}

body[data-page="home"] .hero-art {
  min-height: 430px;
}

.home-latest-entry:not(:has(.home-latest-link)) {
  display: none;
}

body[data-page="home"] .hero:has(.home-latest-link) {
  row-gap: 16px;
}

body[data-page="home"] .hero:has(.home-latest-link) .hero-copy {
  grid-row: 1 / span 2;
}

body[data-page="home"] .hero:has(.home-latest-link) .hero-art {
  grid-column: 2;
  grid-row: 1;
  min-height: 360px;
}

.home-latest-entry {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding-inline: 26px;
}

.home-latest-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 8px 16px;
  align-items: center;
  position: relative;
  isolation: isolate;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-latest-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(var(--editorial-paper-rgb), 0.92), rgba(var(--editorial-gold-rgb), 0.065) 64%, rgba(var(--editorial-paper-rgb), 0.16));
  opacity: 0;
  transition: opacity 220ms ease;
}

.home-latest-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
}

.home-latest-meta b,
.home-latest-arrow {
  color: var(--gold-ink);
}

.home-latest-link strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.home-latest-link:focus-visible::after {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .home-latest-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(40, 40, 37, 0.065), 0 4px 12px rgba(40, 40, 37, 0.025);
  }
  .home-latest-link:hover::after { opacity: 1; }
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero:has(.home-latest-link) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .home-latest-entry { order: 1; padding-inline: 0; }
  .home-latest-link { padding-inline: 0; }
  body[data-page="home"] .hero:has(.home-latest-link) .hero-art { order: 2; }
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  .home-latest-link,
  .home-latest-link:hover,
  .home-latest-link::after {
    transform: none;
    transition: none;
  }
}

body:not([data-page="admin"]) .hero-art::before {
  inset: 7% 2% 8% 6%;
  border-color: rgba(23, 23, 23, 0.095);
  background-color: rgba(247, 249, 246, 0.68);
  box-shadow: 0 24px 70px rgba(42, 35, 24, 0.075), inset 0 1px rgba(255, 255, 255, 0.82);
  opacity: 1;
}

body:not([data-page="admin"]) .hero-art::after {
  inset: 9% 4%;
  background: linear-gradient(108deg, transparent 30%, rgba(255, 255, 255, 0.58) 46%, rgba(176, 138, 67, 0.08) 50%, transparent 66%);
  animation-duration: 8.2s;
}

body[data-page="home"] .site > .section,
body[data-page="thinking"] .site > .section,
body[data-page="work"] .site > .section,
body[data-page="method"] .site > .section,
body[data-page="contact"] .site > .section {
  margin-inline: calc(-1 * var(--site-gutter));
  padding-inline: var(--site-gutter);
}

body[data-page="home"] .site > .section:nth-of-type(even),
body[data-page="thinking"] .site > .section:nth-of-type(even),
body[data-page="work"] .site > .section:nth-of-type(even),
body[data-page="method"] .site > .section:nth-of-type(even),
body[data-page="contact"] .site > .section:nth-of-type(even) {
  background: var(--surface-cool);
  box-shadow: inset 0 1px rgba(23, 23, 23, 0.055), inset 0 -1px rgba(23, 23, 23, 0.055);
}

.section-head {
  position: relative;
  min-height: 34px;
}

.section-title {
  font-size: 15px;
  letter-spacing: 0.22em;
}

.section-title::before {
  width: 46px;
  background: linear-gradient(90deg, var(--gold) 0 56%, rgba(176, 138, 67, 0.18) 56% 100%);
  transform-origin: left;
  animation: site-section-current 6.8s ease-in-out infinite;
}

body[data-page="home"] .section-title::before {
  width: 38px;
  background: var(--gold);
  animation: none;
  transform: none;
}

#observe-preview .observe-topic-grid {
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(250px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(23, 23, 23, 0.10);
  border-bottom: 1px solid rgba(23, 23, 23, 0.10);
}

#observe-preview .observe-topic-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 32px 34px;
}

#observe-preview .home-observe-card {
  min-height: 0;
  position: relative;
  grid-template-rows: auto auto auto;
  gap: 24px;
  align-content: start;
}

.home-observe-order {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(23, 23, 23, 0.38);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
}

#observe-preview .home-observe-card--lead {
  border-right: 1px solid rgba(23, 23, 23, 0.10);
  padding: 42px 48px 40px 28px;
}

#observe-preview .home-observe-card--support {
  gap: 18px;
  padding: 30px 28px 28px 36px;
}

#observe-preview .home-observe-card--support + .home-observe-card--support {
  border-left: 1px solid rgba(23, 23, 23, 0.10);
}

.home-observe-topic-link {
  display: grid;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

#observe-preview .home-observe-topic-link h3 {
  min-height: 0;
  max-width: 16ch;
  font-size: 27px;
  line-height: 1.08;
}

#observe-preview .home-observe-topic-link p {
  min-height: 0;
  max-width: 56ch;
  color: #55544f;
  font-size: 13px;
  line-height: 1.68;
}

#observe-preview .home-observe-card--lead .home-observe-topic-link {
  gap: 20px;
}

#observe-preview .home-observe-card--lead .home-observe-topic-link h3 {
  max-width: 15ch;
  font-size: clamp(34px, 2.7vw, 42px);
  line-height: 1.06;
}

#observe-preview .home-observe-card--lead .home-observe-topic-link p {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.72;
}

.home-observe-topic-link .button-text {
  width: fit-content;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

#observe-preview .home-observe-card .observe-topic-latest {
  min-height: 0;
  gap: 9px;
  padding-top: 18px;
}

#observe-preview .home-observe-card .observe-topic-latest strong {
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.62;
}

#observe-preview .home-observe-card--lead .observe-topic-latest {
  padding: 20px 24px 0 0;
}

#observe-preview .home-observe-card--lead .observe-topic-latest strong {
  font-size: 15px;
  line-height: 1.62;
}

.home-observe-essays {
  display: grid;
  align-content: start;
  gap: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.home-observe-essays > span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-observe-essays a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 22px 8px 0;
  border-top: 1px solid rgba(23, 23, 23, 0.07);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  position: relative;
}

.home-observe-essays a::after {
  content: "→";
  position: absolute;
  right: 0;
  color: var(--gold);
}

.home-observe-essays a:hover,
.home-observe-topic-link:hover h3 {
  color: var(--gold);
}

#observe-preview .home-observe-card--lead .home-observe-essays {
  margin-top: 4px;
  padding-top: 20px;
}

#observe-preview .home-observe-card--lead .home-observe-essays a:first-of-type {
  min-height: 62px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

#observe-preview .observe-topic-card::before {
  content: none;
}

#thinking-preview .grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(23, 23, 23, 0.10);
  border-bottom: 1px solid rgba(23, 23, 23, 0.10);
}

#thinking-preview .note-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.09);
  background: transparent;
  box-shadow: none;
}

#thinking-preview .note-card:nth-child(odd) {
  border-right: 1px solid rgba(23, 23, 23, 0.09);
}

#thinking-preview .note-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

#thinking-preview .note-visual {
  width: 132px;
  height: 100%;
  min-height: 172px;
  border-right: 1px solid rgba(23, 23, 23, 0.08);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.20);
}

#thinking-preview .note-visual svg {
  width: 108px;
}

#thinking-preview .note-body {
  padding: 24px 24px 22px;
}

#thinking-preview .note-body h3 {
  font-size: 24px;
}

#systems .grid-3 {
  gap: 0;
  border-top: 1px solid rgba(23, 23, 23, 0.10);
}

#systems .feature-card {
  min-height: 250px;
  border: 0;
  border-right: 1px solid rgba(23, 23, 23, 0.10);
  background: transparent;
  box-shadow: none;
  padding: 30px;
}

#systems .feature-card:last-child {
  border-right: 0;
}
body[data-page="home"] :is(
  #observe-preview .observe-topic-card,
  #thinking-preview .note-card,
  #systems .feature-card,
  #work-preview .case-card
) {
  position: relative;
  z-index: 0;
  transform: translateY(0);
  transition:
    transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

body[data-page="home"] .home-observe-card .button-text > span:last-child {
  display: inline-block;
  transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body[data-page="home"] :is(
    #observe-preview .observe-topic-card,
    #thinking-preview .note-card,
    #systems .feature-card,
    #work-preview .case-card
  ):hover {
    z-index: 3;
    transform: translateY(-2px);
    border-color: rgba(176, 138, 67, 0.22);
    background: linear-gradient(
      112deg,
      rgba(var(--editorial-paper-rgb), 0.84),
      rgba(var(--editorial-gold-rgb), 0.08) 58%,
      rgba(var(--editorial-paper-rgb), 0.46)
    );
    box-shadow:
      0 18px 42px rgba(49, 42, 31, 0.075),
      0 4px 12px rgba(49, 42, 31, 0.03),
      inset 0 1px rgba(255, 255, 255, 0.76);
  }

  body[data-page="home"] .home-observe-card:hover .button-text > span:last-child {
    transform: translateX(4px);
  }
}

body[data-page="home"] :is(
  #observe-preview .observe-topic-card,
  #thinking-preview .note-card,
  #work-preview .case-card
):is(:focus-visible, :focus-within) {
  z-index: 3;
  transform: translateY(-2px);
  outline: none;
  border-color: rgba(176, 138, 67, 0.28);
  background: linear-gradient(
    112deg,
    rgba(var(--editorial-paper-rgb), 0.88),
    rgba(var(--editorial-gold-rgb), 0.09) 58%,
    rgba(var(--editorial-paper-rgb), 0.52)
  );
  box-shadow:
    0 18px 42px rgba(49, 42, 31, 0.075),
    0 0 0 3px rgba(176, 138, 67, 0.10),
    inset 0 1px rgba(255, 255, 255, 0.76);
}

body[data-page="home"] .home-observe-card:focus-within .button-text > span:last-child {
  transform: translateX(4px);
}

@media (max-width: 520px), (prefers-reduced-motion: reduce) {
  body[data-page="home"] :is(
    #observe-preview .observe-topic-card,
    #thinking-preview .note-card,
    #systems .feature-card,
    #work-preview .case-card
  ):is(:hover, :focus-visible, :focus-within) {
    transform: none;
  }

  body[data-page="home"] .home-observe-card:is(:hover, :focus-within) .button-text > span:last-child {
    transform: none;
  }
}

@media (max-width: 520px) {
  body[data-page="home"] :is(
    #observe-preview .observe-topic-card,
    #thinking-preview .note-card,
    #systems .feature-card,
    #work-preview .case-card
  ):is(:hover, :focus-visible, :focus-within) {
    box-shadow: none;
  }
}

#about {
  color: #f7f2e8;
  background: var(--ink-band) !important;
  box-shadow: none !important;
}

#about::after {
  display: none;
}

#about .about-copy p,
#about .eyebrow,
#about .quote-card small {
  color: rgba(247, 242, 232, 0.68);
}

#about .eyebrow::before {
  box-shadow: 0 0 18px rgba(176, 138, 67, 0.42);
}

#about .quote-card {
  border-color: rgba(247, 242, 232, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055);
}

#about .quote-card::before {
  color: rgba(176, 138, 67, 0.72);
}

#about .quote-card p {
  color: #f7f2e8;
}

@keyframes site-section-current {
  0%, 100% { opacity: 0.52; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero {
    min-height: auto;
    padding-top: 18px;
  }

  #observe-preview .observe-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #observe-preview .home-observe-card--lead {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.10);
    padding-right: 28px;
  }

  #observe-preview .home-observe-card--support + .home-observe-card--support {
    border-left: 1px solid rgba(23, 23, 23, 0.10);
  }
}

@media (max-width: 780px) {
  :root { --site-gutter: 22px; }

  #observe-preview .home-observe-card {
    grid-template-rows: auto;
  }

  #observe-preview .home-observe-topic-link h3,
  #observe-preview .home-observe-topic-link p,
  #observe-preview .home-observe-card .observe-topic-latest {
    min-height: 0;
  }

  body:not([data-page="admin"]) .nav {
    position: relative;
    top: auto;
    margin: -10px -10px 28px;
    padding: 12px 10px;
    background: rgba(250, 248, 242, 0.92);
  }

  body:not([data-page="admin"]) .nav::before {
    left: 10px;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  #observe-preview .observe-topic-grid,
  #thinking-preview .grid-4,
  #systems .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  #observe-preview .observe-topic-grid {
    grid-template-rows: none;
  }

  #observe-preview .observe-topic-card,
  #observe-preview .observe-topic-card:nth-child(2),
  #systems .feature-card {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.10);
  }

  #observe-preview .observe-topic-card:last-child,
  #systems .feature-card:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  #observe-preview .home-observe-card--lead,
  #observe-preview .home-observe-card--support {
    grid-column: auto;
    grid-row: auto;
    padding: 32px 24px 30px;
  }

  #observe-preview .home-observe-card--support + .home-observe-card--support {
    border-top: 1px solid rgba(23, 23, 23, 0.10);
    border-left: 0;
  }

  #observe-preview .home-observe-card--lead .home-observe-topic-link h3 {
    max-width: 15ch;
    font-size: 36px;
  }

  #observe-preview .home-observe-card--lead .home-observe-topic-link p {
    font-size: 14px;
  }

  #observe-preview .home-observe-card--support .home-observe-topic-link p,
  #observe-preview .home-observe-card--support .observe-topic-latest strong {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #observe-preview .home-observe-card--support .home-observe-essays a:nth-of-type(n + 3) {
    display: none;
  }

  #thinking-preview .note-card,
  #thinking-preview .note-card:nth-child(odd),
  #thinking-preview .note-card:nth-last-child(-n + 2) {
    grid-template-columns: 98px minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.09);
  }

  #thinking-preview .note-card:last-child {
    border-bottom: 0;
  }

  #thinking-preview .note-visual {
    width: 98px;
  }

  #thinking-preview .note-visual svg {
    width: 82px;
  }

  #thinking-preview .note-body {
    padding: 20px 18px;
  }

  #thinking-preview .note-body h3 {
    font-size: 21px;
  }

  #about .about-block {
    gap: 28px;
  }
}

@media (max-width: 420px) {
  :root { --site-gutter: 18px; }

  body:not([data-page="admin"]) .nav {
    margin-inline: -6px;
    padding-inline: 8px;
  }

  #observe-preview .observe-topic-card,
  #systems .feature-card {
    padding: 26px 20px;
  }

  #observe-preview .home-observe-card--lead,
  #observe-preview .home-observe-card--support {
    padding: 28px 20px 26px;
  }

  #observe-preview .home-observe-card--lead .home-observe-topic-link h3 {
    font-size: 34px;
  }

  #thinking-preview .note-card {
    grid-template-columns: 1fr;
  }

  #thinking-preview .note-visual {
    width: 100%;
    min-height: 92px;
    height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title::before {
    animation: none !important;
    transform: none !important;
  }
}
@media (min-width: 821px) {
  body .nav,
  body:not([data-page="admin"]) .nav,
  body[data-page="admin"][data-admin-hydration] .nav {
    position: relative;
    top: auto;
    z-index: 20;
    min-height: 58px;
    margin: 0 0 28px;
    padding: 8px 0 16px;
    border: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.09);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body .nav::before,
  body:not([data-page="admin"]) .nav::before,
  body[data-page="admin"][data-admin-hydration] .nav::before {
    display: none;
  }
}

body[data-page="home"] #about {
  color: var(--ink);
  background: #e8e5df !important;
  box-shadow: inset 0 1px rgba(23, 23, 23, 0.07), inset 0 -1px rgba(23, 23, 23, 0.07) !important;
}

body[data-page="home"] #about .about-copy p,
body[data-page="home"] #about .eyebrow,
body[data-page="home"] #about .quote-card small {
  color: var(--muted);
}

body[data-page="home"] #about .quote-card {
  border-color: rgba(23, 23, 23, 0.09);
  background: rgba(255, 253, 248, 0.52);
  box-shadow: 0 18px 54px rgba(42, 35, 24, 0.055), inset 0 1px rgba(255, 255, 255, 0.68);
}

body[data-page="home"] #about .quote-card::before {
  color: rgba(176, 138, 67, 0.82);
}

body[data-page="home"] #about .quote-card p {
  color: var(--ink);
}

body[data-page="thinking"] .site > .section,
body[data-page="thinking"] .site > .section:nth-of-type(even),
body[data-page="observe"] .site > .section,
body[data-page="observe"] .site > .section:nth-of-type(even) {
  background: transparent;
  box-shadow: none;
}

body[data-page="contact"] .contact-hero .hero-art {
  width: min(500px, 100%);
  min-height: 0;
  aspect-ratio: 1;
  justify-self: center;
}

body[data-page="contact"] .contact-hero .hero-art::before {
  inset: 5%;
  border-radius: 50%;
  transform: none;
}

body[data-page="contact"] .contact-hero .hero-art::after {
  inset: 7%;
  border-radius: 50%;
}

body[data-page="contact"] .profile-mark {
  width: min(410px, 82%);
}

.contact-direct-side {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 132px;
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.contact-direct-side .resume-list {
  padding-left: 0;
  border-left: 0;
}

.contact-direct-art {
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 241, 0.84), rgba(176, 138, 67, 0.08));
  box-shadow: 0 16px 42px rgba(42, 35, 24, 0.07);
}

.contact-direct-art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(176, 138, 67, 0.28);
  border-radius: 50%;
}

.contact-direct-art img {
  position: relative;
  z-index: 1;
  width: 76%;
  filter: drop-shadow(0 10px 18px rgba(42, 35, 24, 0.1));
}

@media (max-width: 980px) {
  .contact-direct-side {
    grid-template-columns: minmax(0, 1fr) 118px;
    padding-left: 0;
    border-left: 0;
  }

  .contact-direct-art {
    width: 118px;
  }
}

@media (max-width: 560px) {
  .contact-direct-side {
    grid-template-columns: 1fr;
  }

  .contact-direct-art {
    width: 108px;
    justify-self: start;
  }
}

@keyframes admin-probe-spin {
  to {
    transform: rotate(360deg);
  }
}
:root {
  --navigation-chrome: rgba(211, 225, 249, 0.26);
  --navigation-chrome-edge: rgba(104, 132, 146, 0.24);
  --navigation-chrome-text: #38413f;
  --navigation-chrome-highlight: rgba(255, 255, 255, 0.76);
  --navigation-url-bg: rgba(255, 255, 255, 0.14);
  --navigation-url-border: rgba(104, 132, 146, 0.24);
  --navigation-active-bg: #757675;
  --navigation-active-text: #fbf8f0;
  --navigation-line: rgba(72, 64, 52, 0.18);
  --navigation-ink: #38342f;
  --navigation-muted: #696258;
  --navigation-accent: #98713f;
  --navigation-shell-radius: 14px;
}

.browser-bar,
body[data-page="admin"] .browser-bar,
body[data-page="admin"][data-admin-hydration] .browser-bar {
  height: 44px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--navigation-chrome-edge);
  background: var(--navigation-chrome);
  color: var(--navigation-chrome-text);
  box-shadow: inset 0 1px var(--navigation-chrome-highlight);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.browser-bar .traffic,
body[data-page="admin"][data-admin-hydration] .browser-bar .traffic {
  gap: 7px;
}

.browser-bar .traffic span,
body[data-page="admin"][data-admin-hydration] .browser-bar .traffic span {
  width: 10px;
  height: 10px;
}

.browser-bar .traffic span:nth-child(1) { background: #f1665c; }
.browser-bar .traffic span:nth-child(2) { background: #e7c24a; }
.browser-bar .traffic span:nth-child(3) { background: #5fc06a; }

.browser-bar .url,
body[data-page="admin"][data-admin-hydration] .browser-bar .url {
  width: min(430px, 48vw);
  height: 25px;
  border: 1px solid var(--navigation-url-border);
  border-radius: 8px;
  background: var(--navigation-url-bg);
  color: var(--navigation-chrome-text);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.54);
  font-size: 11px;
  letter-spacing: 0.03em;
}

body .nav,
body:not([data-page="admin"]) .nav,
body[data-page="admin"] .nav,
body[data-page="admin"][data-admin-hydration] .nav {
  border-color: transparent;
  border-bottom-color: var(--navigation-line);
  background: transparent;
  color: var(--navigation-ink);
  box-shadow: none;
  backdrop-filter: none;
}

.brand,
body[data-page="admin"][data-admin-hydration] .brand {
  color: var(--navigation-ink);
}

.brand-mark,
body[data-page="admin"][data-admin-hydration] .brand-mark {
  border: 1px solid rgba(152, 113, 63, 0.16);
  box-shadow: 0 6px 18px rgba(62, 52, 39, 0.075);
}

.nav-links,
body[data-page="admin"][data-admin-hydration] .nav-links {
  color: var(--navigation-muted);
}

.nav-links a,
body[data-page="admin"][data-admin-hydration] .nav-links a {
  color: inherit;
  transform: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active,
body[data-page="admin"][data-admin-hydration] .nav-links a:hover,
body[data-page="admin"][data-admin-hydration] .nav-links a:focus-visible,
body[data-page="admin"][data-admin-hydration] .nav-links a.active {
  color: var(--navigation-ink);
  transform: none;
}

.nav-links a::after,
body[data-page="admin"][data-admin-hydration] .nav-links a::after {
  right: 0;
  background: var(--navigation-accent);
  box-shadow: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after,
body[data-page="admin"][data-admin-hydration] .nav-links a:hover::after,
body[data-page="admin"][data-admin-hydration] .nav-links a:focus-visible::after,
body[data-page="admin"][data-admin-hydration] .nav-links a.active::after {
  right: 0;
  opacity: 1;
}

.lang-switch,
body[data-page="admin"][data-admin-hydration] .lang-switch {
  padding: 2px;
  border-color: var(--navigation-line);
  border-radius: 4px;
  background: rgba(255, 252, 246, 0.46);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
}

.lang-switch button,
.lang-switch a,
body[data-page="admin"][data-admin-hydration] .lang-switch button {
  border-radius: 3px;
  color: var(--navigation-muted);
  transform: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.lang-switch button:hover,
.lang-switch button:focus-visible,
.lang-switch a:hover,
.lang-switch a:focus-visible,
body[data-page="admin"][data-admin-hydration] .lang-switch button:hover,
body[data-page="admin"][data-admin-hydration] .lang-switch button:focus-visible {
  background: rgba(104, 132, 146, 0.1);
  color: var(--navigation-ink);
  transform: none;
}

.lang-switch button.active,
.lang-switch a.active,
body[data-page="admin"][data-admin-hydration] .lang-switch button.active {
  background: var(--navigation-active-bg);
  color: var(--navigation-active-text);
  box-shadow: inset 0 0 0 1px rgba(44, 43, 40, 0.08);
}

@media (min-width: 821px) {
  .page,
  body[data-page="admin"] .page,
  body[data-page="admin"][data-admin-hydration] .page {
    border-radius: var(--navigation-shell-radius);
  }

  .browser-bar,
  body:not([data-page="admin"]) .browser-bar,
  body[data-page="admin"] .browser-bar,
  body[data-page="admin"][data-admin-hydration] .browser-bar {
    border-radius: var(--navigation-shell-radius) var(--navigation-shell-radius) 0 0;
  }
}
:root {
  --public-section-canvas: transparent;
  --public-art-surface: rgba(255, 252, 246, 0.68);
}

body[data-page="home"] .site > .section,
body[data-page="home"] .site > .section:nth-of-type(even),
body[data-page="observe"] .site > .section,
body[data-page="observe"] .site > .section:nth-of-type(even),
body[data-page="thinking"] .site > .section,
body[data-page="thinking"] .site > .section:nth-of-type(even),
body[data-page="work"] .site > .section,
body[data-page="work"] .site > .section:nth-of-type(even),
body[data-page="method"] .site > .section,
body[data-page="method"] .site > .section:nth-of-type(even),
body[data-page="contact"] .site > .section,
body[data-page="contact"] .site > .section:nth-of-type(even),
body[data-page="article"] .site > .section,
body[data-page="draft-preview"] .site > .section,
body[data-page="project"] .site > .section,
body[data-page="not-found"] .site > .section {
  background: var(--public-section-canvas);
  box-shadow: none;
}

body[data-page="home"] #about {
  background: var(--public-section-canvas) !important;
  box-shadow: none !important;
}

body:not([data-page="admin"]) .hero-art::before {
  background-color: var(--public-art-surface);
}
body:not([data-page="admin"]) .page,
body:not([data-page="admin"]) .card,
body:not([data-page="admin"]) .feature-card,
body:not([data-page="admin"]) .method-card,
body:not([data-page="admin"]) .resume-panel,
body:not([data-page="admin"]) .signal-card,
body:not([data-page="admin"]) .note-card,
body:not([data-page="admin"]) .project-card,
body:not([data-page="admin"]) .quote-card,
body:not([data-page="admin"]) .contact-card,
body:not([data-page="admin"]) .article-row,
body:not([data-page="admin"]) .case-card,
body:not([data-page="admin"]) .detail-aside {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body:not([data-page="admin"]) .button-text span,
body:not([data-page="admin"]) .button-text span + span,
body:not([data-page="admin"]) .button-text:hover span:last-child,
body:not([data-page="admin"]) .button-text:focus-visible span:last-child {
  animation: none;
  transform: none;
}

body:not([data-page="admin"]) .hero .button-text span + span {
  animation: public-arrow-glint 6.8s ease-in-out infinite;
}

body[data-page="thinking"] .archive-list .article-row {
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
}

body[data-page="thinking"] .archive-list .article-row.is-compact {
  grid-template-columns: 104px minmax(0, 1fr);
  contain-intrinsic-size: auto 96px;
}

body[data-page="thinking"] .archive-list .article-row.is-compact .article-index {
  padding: 20px 14px 18px 0;
}

body[data-page="thinking"] .archive-list .article-row.is-compact .article-date span {
  font-size: 21px;
}

body[data-page="thinking"] .archive-list .article-row.is-compact .article-date strong {
  font-size: 10px;
}

body[data-page="thinking"] .archive-list .article-row.is-compact .article-copy {
  position: relative;
  padding: 18px 50px 20px 0;
}

body[data-page="thinking"] .archive-list .article-row.is-compact .article-copy h3 {
  max-width: 920px;
  margin: 7px 0 0;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.35;
}

body[data-page="thinking"] .archive-list .article-row.is-compact .article-compact-action {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--gold-dark);
  font-size: 18px;
  transform: translateY(-50%);
}

@media (max-width: 720px) {
  body[data-page="thinking"] .archive-list .article-row.is-compact {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  body[data-page="thinking"] .archive-list .article-row.is-compact .article-copy {
    padding-right: 34px;
  }
}

body[data-page="work"] .project-card .project-shot * {
  animation-iteration-count: 1;
}

body[data-page="work"] .hero-art .app-shot span,
body[data-page="work"] .project-card:first-child .project-shot .console-line:first-child {
  animation-iteration-count: infinite;
  animation-duration: 7.6s;
}

body[data-page="work"] .project-card .status-line::before {
  animation-iteration-count: 1;
}

body[data-page="work"] .project-card:first-child .status-line::before {
  animation-iteration-count: infinite;
  animation-duration: 7.6s;
}

@keyframes public-arrow-glint {
  0%, 18%, 100% { opacity: 0.62; }
  42%, 64% { opacity: 1; }
}

@keyframes admin-art-flow {
  to { stroke-dashoffset: -56; }
}

@keyframes admin-art-signal {
  0%, 100% { opacity: 0.5; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 780px) {
  .observe-timeline-ledger {
    margin-top: 36px;
    padding-top: 28px;
  }

  .observe-timeline-ledger-head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .observe-timeline-ledger-head h3 {
    font-size: 24px;
  }

  .observe-unified-topics {
    grid-template-columns: 1fr;
  }

  .observe-unified-topics > a,
  .observe-unified-topics > a:first-child,
  .observe-unified-topics > a:last-child {
    padding: 18px 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(23,23,23,0.09);
  }

  .observe-unified-topics > a:last-child {
    border-bottom: 0;
  }

  .observe-unified-event {
    grid-template-columns: 64px 14px minmax(0, 1fr);
    gap: 0 12px;
    padding: 22px 0 24px;
  }

  .observe-unified-event > time {
    font-size: 10px;
    letter-spacing: 0;
  }

  .observe-unified-event h3 {
    font-size: 19px;
  }

  .observe-unified-event p {
    font-size: 12px;
  }

  .observe-lineage-shell .observe-filterbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }

  .observe-lineage-shell .observe-filter {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    line-height: 1.35;
    white-space: normal;
  }
}
body[data-page="thinking"] .featured-article {
  padding-right: clamp(22px, 2.8vw, 42px);
  border-right: 1px solid rgba(23, 23, 23, 0.1);
  background: transparent;
  box-shadow: none;
}

body[data-page="thinking"] .archive-list .article-row {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

@media (max-width: 820px) {
  body[data-page="thinking"] .featured-article {
    padding-right: 0;
    border-right: 0;
  }
}
.search-scope select { max-width: 180px; padding: 10px 24px 10px 8px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; }
body[data-page="thinking"] .thinking-index-head { grid-template-columns: minmax(0, 1fr) minmax(180px, 380px) auto; gap: 16px; align-items: center; }
.thinking-index [hidden] { display: none !important; }
.article-search-results { min-width: 0; }
.js-search-status { margin-block: 12px 20px; }
.thinking-topic-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin: -26px 0 36px;
  font-size: 13px;
  letter-spacing: 0;
}
.thinking-topic-label { color: var(--muted); font-size: 12px; }
.thinking-topic-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  color: var(--ink);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.thinking-topic-nav a > span:last-child { flex-shrink: 0; color: var(--gold-ink); }
.thinking-topic-nav a:is(:hover, :focus-visible) { color: var(--gold-ink); }
.thinking-topic-nav a:is(:hover, :focus-visible) > span:first-child {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--gold);
}
.thinking-search-empty { padding: 32px 0 40px; }
.thinking-search-empty h3 { margin: 0 0 16px; font: 400 25px/1.4 var(--serif); letter-spacing: 0; }
.thinking-search-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.thinking-search-actions .button-text { min-height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; }
@media (max-width: 820px) {
  body[data-page="thinking"] .thinking-index-head { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  body[data-page="thinking"] .thinking-index-head > .search { grid-row: 2; grid-column: 1 / -1; width: 100%; }
  body[data-page="thinking"] .thinking-index-head > .search-scope { grid-column: 2; grid-row: 1; }
  .thinking-topic-nav { gap: 0 24px; margin-bottom: 28px; }
  .thinking-topic-label { flex-basis: 100%; margin-bottom: 4px; }
  body[data-page="thinking"] .thinking-index[data-search-filtered="true"] .article-lists { order: -1; }
}

@media (max-width: 560px) {
  body:is([data-page="home"], [data-page="thinking"]) .page { overflow-x: clip; }
}
body,
body[data-page="admin"],
body[data-page="admin"][data-admin-hydration] {
  --paper: #fafaf8;
  --paper-2: #fdfdfc;
  --ink: #242421;
  --text-secondary: #555550;
  --muted: #65635e;
  --line: rgba(40, 40, 37, 0.12);
  --gold: #9d7e44;
  --gold-ink: #80622e;
  --gold-dark: #80622e;
  --gold-soft: rgba(157, 126, 68, 0.1);
  --control-shadow: 0 3px 10px rgba(40, 40, 37, 0.06);
  --control-shadow-hover: 0 8px 20px rgba(40, 40, 37, 0.1);
  --control-focus-ring: 0 0 0 3px var(--gold-soft);
  --card: rgba(255, 255, 254, 0.76);
  --card-solid: #fffffe;
  --surface-quiet: rgba(255, 255, 254, 0.44);
  --surface-raised: rgba(255, 255, 254, 0.72);
  --surface-solid: #fffffe;
  --surface-cool: rgba(244, 245, 245, 0.62);
  --surface-cool-solid: #f4f5f5;
  --public-art-surface: rgba(255, 255, 254, 0.68);
  --editorial-paper-rgb: 255, 255, 254;
  --editorial-gold-rgb: 157, 126, 68;
  --light-current: rgba(157, 126, 68, 0.16);
  --navigation-chrome: rgba(237, 238, 237, 0.68);
  --navigation-chrome-edge: rgba(40, 40, 37, 0.1);
  --navigation-chrome-text: #65635e;
  --navigation-url-border: rgba(40, 40, 37, 0.1);
  --navigation-active-bg: #80622e;
  --navigation-active-text: #fffffe;
  --navigation-ink: var(--ink);
  --navigation-muted: #65635e;
  --navigation-accent: #9d7e44;
  --shadow-raised: 0 18px 58px rgba(40, 40, 37, 0.06), inset 0 1px rgba(255, 255, 255, 0.72);
  --shadow-floating: 0 26px 76px rgba(40, 40, 37, 0.09), inset 0 1px rgba(255, 255, 255, 0.82);
  background: var(--paper);
}
body:not([data-page="admin"]) :is(
  .hero-copy > p, .section-intro, .feature-card p, .case-title p,
  .principle p, .method-card p, .observe-unified-event p,
  .observe-nexus-topic p, .observe-direction-grid p,
  .observe-event-item p, .observe-event-panel p, .detail-summary, .related-card em
) {
  color: var(--text-secondary);
}

body[data-page="home"] #about .about-copy p {
  color: var(--text-secondary);
}

body::before,
body::after,
body[data-page="admin"][data-admin-hydration]::before,
body[data-page="admin"][data-admin-hydration]::after {
  content: none;
}

body .page,
body[data-page="admin"][data-admin-hydration] .page {
  background: var(--paper);
  box-shadow: 0 20px 64px rgba(40, 40, 37, 0.045);
}

body .lang-switch,
body[data-page="admin"][data-admin-hydration] .lang-switch {
  background: var(--surface-quiet);
}

body .lang-switch :is(a, button):hover,
body[data-page="admin"][data-admin-hydration] .lang-switch button:hover {
  background: var(--gold-soft);
  color: var(--gold-ink);
}

body:not([data-page="admin"]) :is(.section-action, .button-text, .meta b, .article-date, .featured-article .eyebrow) {
  color: var(--gold-ink);
}

body :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}

body:not([data-page="admin"]) .button-primary,
body[data-page="admin"] .login-card .button-primary {
  box-shadow: var(--control-shadow);
}

body:not([data-page="admin"]) .button-primary:is(:hover, :focus-visible),
body[data-page="admin"] .login-card .button-primary:is(:hover, :focus-visible) {
  box-shadow: var(--control-shadow-hover);
}

body:not([data-page="admin"]) .search input:focus-visible,
body[data-page="admin"] .login-card input:focus-visible {
  border-color: var(--gold-ink);
  box-shadow: var(--control-focus-ring);
}

body[data-page="thinking"] .thinking-index-head .search input,
body[data-page="thinking"] .thinking-filter-field select {
  background-color: var(--surface-quiet);
}

body[data-page="thinking"] .thinking-filter-field select:focus-visible,
body[data-page="thinking"] .thinking-filter-reset:focus-visible {
  border-color: var(--gold-ink);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
body:not([data-page="admin"]) :is(.button-primary, .button-text):is(:disabled, [aria-disabled="true"]),
body[data-page="admin"] .login-card :is(.button-primary, .button-text):is(:disabled, [aria-disabled="true"]),
body[data-page="admin"][data-admin-hydration] :is(
  .button-primary, .button-text, .admin-refresh-button, .publish-row-action
):is(:disabled, [aria-disabled="true"]) {
  transform: none;
  box-shadow: none;
  transition: none;
}

body .button-primary:is(:disabled, [aria-disabled="true"])::before {
  display: none;
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  body:not([data-page="admin"]) :is(.button-primary, .button-text):is(:hover, :focus-visible),
  body[data-page="admin"] .login-card :is(.button-primary, .button-text):is(:hover, :focus-visible) {
    transform: none;
    transition: none;
  }
}

body:is([data-page="home"], [data-page="thinking"]) {
  --editorial-duration: 220ms;
  --editorial-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --editorial-shadow: 0 18px 42px rgba(40, 40, 37, 0.065), 0 4px 12px rgba(40, 40, 37, 0.025);
}

body[data-page="thinking"] .article-layout {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.65fr);
  gap: 56px;
  align-items: start;
}

body[data-page="thinking"] .featured-article {
  min-height: 0;
  align-self: start;
  padding: 28px 28px 30px;
  border: 0;
  gap: 24px;
}

body[data-page="thinking"] .featured-article::after {
  inset: 0;
  opacity: 0.64;
  background: linear-gradient(112deg, rgba(var(--editorial-paper-rgb), 0.92), rgba(var(--editorial-gold-rgb), 0.065) 64%, rgba(var(--editorial-paper-rgb), 0.16));
}

body[data-page="thinking"] .featured-article .eyebrow {
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: 0;
}

body[data-page="thinking"] .featured-article h2 {
  max-width: none;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body[data-page="thinking"] .featured-article h2 a {
  color: inherit;
  text-decoration: none;
}

body[data-page="thinking"] .featured-article h2 a:is(:hover, :focus-visible) {
  color: var(--gold-ink);
}

body[data-page="thinking"] .featured-article p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 20px;
  color: var(--muted);
}

body[data-page="thinking"] .featured-article p:not(.meta) {
  color: var(--text-secondary);
}

body[data-page="thinking"] .featured-article p.meta {
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0;
  margin-bottom: 18px;
}

body[data-page="thinking"] .featured-article .tag-list {
  margin-bottom: 14px;
}

body[data-page="thinking"] .archive-current-head {
  min-height: 52px;
  align-items: center;
  padding-bottom: 12px;
}

body[data-page="thinking"] .archive-current-title h3 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-date {
  width: auto;
  min-height: 0;
  border: 0;
  background: transparent;
  align-content: start;
  justify-items: start;
  text-align: left;
  gap: 5px;
  padding: 2px 0 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-date span {
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-date strong {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy {
  min-width: 0;
  padding: 0 20px 0 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy .meta {
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: 0;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy h3 {
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy .button-text {
  margin-top: 18px;
  padding: 0;
  min-height: 24px;
  font-size: 11px;
  letter-spacing: 0;
}
body:not([data-page="admin"]) .site > .section::after {
  content: none;
}

@media (min-width: 781px) {
  body:not([data-page="admin"]) .site > .section[id] {
    scroll-margin-top: 96px;
  }
}

body[data-page="home"] #observe-preview .observe-topic-grid,
body[data-page="home"] #thinking-preview .grid-4,
body[data-page="home"] #systems .grid-3 {
  border: 0;
}

body[data-page="home"] #observe-preview .home-observe-card,
body[data-page="home"] #systems .feature-card,
body[data-page="home"] .thinking {
  border-block: 0;
}

body[data-page="home"] #observe-preview .observe-topic-latest,
body[data-page="home"] #observe-preview .home-observe-essays,
body[data-page="home"] #thinking-preview .note-card,
body[data-page="home"] #thinking-preview .note-visual,
body[data-page="home"] #work-preview .case-card,
body[data-page="home"] #work-preview .case-top,
body[data-page="home"] #work-preview .case-art {
  border: 0;
}

body[data-page="home"] #thinking-preview .grid-4 {
  row-gap: 24px;
}

body[data-page="home"] #thinking-preview .note-visual {
  background: transparent;
}

body[data-page="home"] #thinking-preview .note-body {
  min-width: 0;
}

body[data-page="home"] #thinking-preview .note-reading-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
}

body[data-page="home"] #thinking-preview .note-reading-arrow {
  margin-left: auto;
  color: var(--gold-ink);
}

body[data-page="observe"] .observe-lineage-shell,
body[data-page="observe"] .observe-filterbar,
body[data-page="observe"] .observe-topic-core-list {
  border: 0;
}

body[data-page="observe"] .observe-topic-core-list a {
  border-bottom: 0;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-observe-topics {
  border-top: 0;
}
body:is([data-page="article"], [data-page="draft-preview"]) {
  --reading-ink: #30302c;
  --reading-size: 18px;
  --reading-leading: 1.9;
}

body:is([data-page="article"], [data-page="draft-preview"]):lang(en) {
  --reading-leading: 1.8;
}

body:is([data-page="article"], [data-page="draft-preview"]) :is(.detail-hero, .detail-layout) {
  max-width: 1100px;
  margin-inline: auto;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-hero {
  padding-bottom: 24px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-hero::after {
  content: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-title {
  max-width: 1020px;
  font-size: 48px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-summary {
  color: var(--text-secondary);
  max-width: 860px;
  font-size: 18px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-meta {
  letter-spacing: 0;
  gap: 8px 20px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-hero + .section {
  padding-top: 32px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-layout {
  grid-template-columns: minmax(0, 760px) minmax(220px, 264px);
  gap: 64px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body {
  color: var(--reading-ink);
  font-size: var(--reading-size);
  line-height: var(--reading-leading);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(p, ul, ol, li) {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(p, ul, ol) {
  margin-block: 0 1.4em;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(ul, ol) {
  padding-inline-start: 1.4em;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body li > :is(ul, ol) {
  margin-block: 0.6em;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(h2, h3, h4, h5, h6) {
  color: var(--ink);
  line-height: 1.45;
  text-wrap: pretty;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body h2 {
  font-size: 30px;
  margin-block: 56px 20px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body h3 {
  font-size: 24px;
  margin-block: 36px 14px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(h2, h3) {
  position: relative;
  padding-inline-end: 48px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body .article-section-link {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  color: var(--gold-ink);
  background: transparent;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  opacity: 0.65;
}

.article-section-link::before {
  content: "#";
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body .article-section-link:is(:hover, :focus-visible) {
  background: var(--gold-soft);
  opacity: 1;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(h2, h3):target {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

@media (hover: hover) and (pointer: fine) {
  body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(h2, h3):not(:hover, :focus-within, :target) .article-section-link {
    opacity: 0;
  }
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body > :first-child {
  margin-top: 0;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body [id] {
  scroll-margin-top: 104px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body a {
  text-decoration-color: var(--gold);
  text-decoration-skip-ink: auto;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body a:hover {
  color: var(--gold-ink);
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body blockquote {
  padding: 16px 24px;
  border-left-width: 2px;
  color: var(--reading-ink);
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body blockquote > :last-child {
  margin-bottom: 0;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body hr {
  width: 56px;
  margin: 40px auto;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(pre, code) {
  border: 0;
  border-radius: 4px;
  background: var(--surface-cool);
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body pre {
  max-width: 100%;
  overflow-wrap: normal;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body pre code {
  background: transparent;
  font-size: 14px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .markdown-table-wrap {
  border: 0;
  border-block: 1px solid var(--line);
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(th, td) {
  border-right: 0;
  line-height: 1.7;
  overflow-wrap: normal;
  min-width: 5em;
  font-variant-numeric: tabular-nums;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body th {
  color: var(--ink);
  background: var(--surface-cool);
  text-transform: none;
  font-size: 14px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .article-table-frame {
  position: relative;
  min-width: 0;
  margin-bottom: 34px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .article-table-frame .markdown-table-wrap {
  margin-bottom: 0;
}

body:is([data-page="article"], [data-page="draft-preview"]) .markdown-table-wrap:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 4px;
}

body:is([data-page="article"], [data-page="draft-preview"]) .article-table-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .article-table-edge--start {
  left: 0;
  background: linear-gradient(90deg, rgba(40, 40, 37, 0.12), transparent);
}

body:is([data-page="article"], [data-page="draft-preview"]) .article-table-edge--end {
  right: 0;
  background: linear-gradient(270deg, rgba(40, 40, 37, 0.12), transparent);
}

body:is([data-page="article"], [data-page="draft-preview"]) :is(.has-scroll-start > .article-table-edge--start, .has-scroll-end > .article-table-edge--end) {
  opacity: 1;
}

body:is([data-page="article"], [data-page="draft-preview"]) .has-fixed-labels :is(th, td):first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--paper);
}

body:is([data-page="article"], [data-page="draft-preview"]) .has-fixed-labels th:first-child {
  background: var(--surface-cool-solid);
}

body:is([data-page="article"], [data-page="draft-preview"]) .has-fixed-labels.has-scroll-start :is(th, td):first-child {
  box-shadow: 8px 0 12px -10px rgba(40, 40, 37, 0.3);
}

body:is([data-page="article"], [data-page="draft-preview"]) .has-fixed-labels > .article-table-edge--start {
  opacity: 0;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(.footnotes, figcaption) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

body:is([data-page="article"], [data-page="draft-preview"]) .article-image-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}

.article-image-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  color: var(--gold-ink);
  background: var(--surface-raised);
  box-shadow: var(--control-shadow);
  font: 20px/1 var(--sans);
  pointer-events: none;
}

.article-image-hint::before {
  content: "+";
}

.article-image-viewer {
  width: calc(100vw - 48px);
  max-width: 1440px;
  height: calc(100dvh - 48px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(40, 40, 37, 0.2);
}

.article-image-viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.article-image-viewer::backdrop {
  background: rgba(40, 40, 37, 0.56);
}

.article-image-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
}

.article-image-toolbar p {
  margin: 0;
  max-height: 20dvh;
  overflow: auto;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.6;
}

.article-image-toolbar button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface-cool);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.article-image-toolbar button:disabled {
  opacity: 0.4;
  cursor: default;
}

.article-image-toolbar button:not(:disabled):hover {
  color: var(--gold-ink);
  background: var(--gold-soft);
}

.article-image-viewport {
  min-width: 0;
  min-height: 0;
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
}

.article-image-viewport:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: -4px;
}

.article-image-viewport img:not([hidden]) {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.article-image-viewer.is-original-size img:not([hidden]) {
  width: var(--image-width);
  height: var(--image-height);
  cursor: zoom-out;
}

.article-image-status:not([hidden]) {
  display: grid;
  place-content: center;
  justify-items: center;
  height: 100%;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.article-image-status p { margin: 0; }

@media (max-width: 560px) {
  .article-image-viewer {
    width: 100%;
    max-width: none;
    height: 100dvh;
    border-radius: 0;
  }

  .article-image-toolbar {
    padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  }

  .article-image-viewport {
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
  }
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside-shell .detail-aside {
  --detail-aside-pad: 20px;
  border: 0;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface-quiet));
  box-shadow: none;
  backdrop-filter: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside::before {
  content: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside .aside-title {
  font-size: 20px;
  line-height: 1.4;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-toc a {
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 10px;
  padding-block: 4px;
  line-height: 1.6;
  transform: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-toc a::before {
  width: 2px;
  height: 14px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-toc a.active {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside.is-scrollable .detail-aside-scroll-cue {
  background: linear-gradient(180deg, transparent, var(--paper-2) 75%);
}

.detail-mobile-outline {
  display: none;
}

body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body :is(h2, h3)[tabindex="-1"]:focus {
  outline: 2px solid var(--gold-ink);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  body:is([data-page="article"], [data-page="draft-preview"]) .detail-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  body:is([data-page="article"], [data-page="draft-preview"]) .nav {
    position: relative;
    top: auto;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) :is(.detail-hero, .detail-layout) {
    max-width: 760px;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) .detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside-shell {
    position: static;
    max-height: none;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) .detail-aside-shell .detail-aside {
    max-height: none;
    overflow-y: visible;
  }

  .has-reading-outline .detail-toc {
    display: none;
  }

  .detail-mobile-outline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding: 8px 12px;
    background: var(--surface-cool);
    border-radius: 4px;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0;
  }

  .detail-mobile-outline select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
  }
}

@media (max-width: 900px) and (min-height: 540px) {
  .detail-mobile-outline {
    position: sticky;
    top: max(8px, env(safe-area-inset-top));
    z-index: 5;
    align-self: start;
    background: var(--surface-cool-solid);
    box-shadow: 0 8px 24px rgba(40, 40, 37, 0.065);
  }

  .detail-mobile-outline.is-past-reading {
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 560px) {
  body:is([data-page="article"], [data-page="draft-preview"]) {
    --reading-size: 17px;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) .detail-title {
    font-size: 32px;
    line-height: 1.3;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) .detail-summary {
    font-size: 17px;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body h2 {
    font-size: 26px;
    margin-top: 40px;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body h3 {
    font-size: 22px;
  }

  body:is([data-page="article"], [data-page="draft-preview"]) .js-article-body blockquote {
    padding-inline: 16px;
  }
}

body[data-page="work"] .project-card,
body[data-page="method"] .method-card {
  border: 0;
}

body[data-page="work"] .project-shot {
  border-bottom: 0;
}

body[data-page="home"] #thinking-preview .note-body h3 {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body[data-page="home"] #thinking-preview .note-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

body[data-page="home"] #observe-preview .home-observe-topic-link h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

body[data-page="home"] #observe-preview .home-observe-topic-link p {
  color: var(--text-secondary);
  line-height: 1.8;
}

body[data-page="home"] #observe-preview .home-observe-essays a {
  border-top-color: transparent;
  padding-block: 10px;
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 781px) {
    body[data-page="home"] #observe-preview .home-observe-card--support {
      grid-row: span 3;
      grid-template-rows: subgrid;
    }

    body[data-page="home"] #observe-preview .home-observe-card--support .home-observe-topic-link {
      grid-template-rows: auto 1fr auto;
    }
  }

  @media (min-width: 1181px) {
    body[data-page="home"] #observe-preview .observe-topic-grid {
      row-gap: 24px;
    }

    body[data-page="home"] #observe-preview .home-observe-card {
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 24px;
    }

    body[data-page="home"] #observe-preview .home-observe-topic-link {
      grid-template-rows: auto 1fr auto;
    }

    body[data-page="home"] #observe-preview .home-observe-card .observe-topic-latest {
      padding-top: 18px;
    }

    body[data-page="home"] #observe-preview .home-observe-card .home-observe-essays {
      margin-top: 0;
      padding-top: 16px;
    }
  }
}

body[data-page="thinking"] :is(.featured-article, .archive-list .article-row, .article-search-results .article-row),
body[data-page="home"] :is(#observe-preview .observe-topic-card, #thinking-preview .note-card, #systems .feature-card, #work-preview .case-card) {
  transition-duration: var(--editorial-duration);
  transition-timing-function: var(--editorial-ease);
}

body[data-page="thinking"] :is(.featured-article, .archive-list .article-row, .article-search-results .article-row)::after {
  transition-duration: var(--editorial-duration);
  transition-timing-function: var(--editorial-ease);
}

@media (hover: hover) and (pointer: fine) {
  body[data-page="thinking"] .featured-article:hover::after {
    box-shadow: var(--editorial-shadow);
  }
  body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row:hover,
  body[data-page="home"] :is(#observe-preview .observe-topic-card, #thinking-preview .note-card, #systems .feature-card, #work-preview .case-card):hover {
    box-shadow: var(--editorial-shadow);
  }
}

body[data-page="thinking"] .featured-article:focus-within::after {
  box-shadow: var(--editorial-shadow);
}

@media (max-width: 1080px) {
  body[data-page="home"] #thinking-preview .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="thinking"] .article-layout {
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.65fr);
    gap: 32px;
  }
  body[data-page="thinking"] .featured-article { padding: 22px; }
  body[data-page="thinking"] .featured-article h2 { font-size: 30px; }
  body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy h3 { font-size: 25px; }
}

@media (max-width: 820px) {
  body[data-page="thinking"] .article-layout { grid-template-columns: 1fr; gap: 36px; }
  body[data-page="thinking"] .featured-article { display: block; }
  body[data-page="thinking"] .featured-article h2 { font-size: 32px; }
}

@media (max-width: 560px) {
  body[data-page="thinking"] .featured-article { padding: 24px 20px; }
  body[data-page="thinking"] .featured-article h2 { font-size: 28px; line-height: 1.28; }
  body[data-page="thinking"] .archive-current-head { align-items: start; }
  body[data-page="thinking"] .archive-current-title h3 { font-size: 27px; }
  body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-row { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding-block: 24px; }
  body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-date span { font-size: 18px; }
  body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy { padding-right: 0; }
  body[data-page="thinking"] :is(.archive-list, .article-search-results) .article-copy h3 { font-size: 23px; }
  body[data-page="home"] #thinking-preview .note-body h3 { font-size: 23px; }
}

@media (max-width: 420px) {
  body[data-page="home"] #thinking-preview .note-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  body[data-page="thinking"] :is(.featured-article, .archive-list .article-row, .article-search-results .article-row):is(:hover, :focus-within, :focus-visible),
  body[data-page="home"] :is(#observe-preview .observe-topic-card, #thinking-preview .note-card, #systems .feature-card, #work-preview .case-card):is(:hover, :focus-within, :focus-visible) {
    transform: none;
    transition: none;
  }
}
.site-updates-page {
  max-width: 960px;
  margin: 56px auto 88px;
}

.site-updates-heading { margin-bottom: 56px; }
.site-updates-heading h1 {
  margin-bottom: 16px;
  font: 400 44px/1.25 var(--serif);
  letter-spacing: 0;
}
.site-updates-heading p { margin-bottom: 0; color: var(--text-secondary); }
.site-update-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 44px;
}
.site-update-entry {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  scroll-margin-top: 104px;
}
.site-update-entry > time {
  padding-top: 5px;
  color: var(--gold-ink);
  font-size: 12px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.site-update-copy { min-width: 0; }
.site-update-copy :is(h2, h3) {
  margin: 0 0 12px;
  font: 400 26px/1.4 var(--serif);
  letter-spacing: 0;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.site-update-copy p {
  max-width: 72ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.site-update-copy h3 a { color: var(--ink); text-decoration: none; }
.site-update-copy h3 a:hover { color: var(--gold-ink); }
.site-update-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 8px;
  color: var(--gold-ink);
  font-size: 13px;
}
.site-update-entry:target .site-update-copy {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}
.site-updates-preview { padding-block: 24px; }
.site-updates-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.site-updates-preview-head h2 { margin: 0; font: 400 22px/1.4 var(--serif); letter-spacing: 0; }
.site-updates-preview-head > a { color: var(--muted); font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.site-updates-preview .site-update-copy h3 { font-size: 20px; margin-bottom: 8px; }
.site-updates-preview .site-update-copy p { font-size: 13px; }
.site-updates-preview .site-update-list { gap: 28px; }
.site-updates-preview--login { max-width: 760px; margin: 12px auto 48px; }

@media (max-width: 560px) {
  .site-updates-page { margin-block: 32px 56px; }
  .site-updates-heading { margin-bottom: 36px; }
  .site-updates-heading h1 { font-size: 34px; }
  .site-update-entry { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .site-update-entry > time { padding: 0; }
  .site-update-copy h2 { font-size: 24px; }
  .site-update-list { gap: 36px; }
}
