/* openoox.com — editorial archive ( restrained UI ) */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #141414;
  --text-secondary: #4a4a4a;
  --text-muted: #737373;
  --bg: #ffffff;
  --bg-subtle: #f7f7f7;
  --border: #e0e0e0;
  --border-strong: #c8c8c8;
  --link: #141414;
  --focus: #005fcc;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 68rem;
  --measure: 42rem;
  --nav-h: 3.5rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: var(--border-strong);
}

a:hover {
  text-decoration-color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 0.75rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
}

.brand-tag::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--border-strong);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--text);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}

main {
  overflow-x: clip;
}

.section {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.section:first-of-type {
  border-top: none;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.page-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: var(--measure);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  max-width: var(--measure);
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: var(--measure);
  margin: 0 0 1.25rem;
}

.notice {
  max-width: var(--measure);
  padding: 0.875rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.notice strong {
  color: var(--text);
  font-weight: 600;
}

.hero {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 2.5rem;
  align-items: start;
}

.hero-layout--with-photo {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem) 14.5rem;
}

@media (max-width: 820px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero-layout--with-photo {
    grid-template-columns: 1fr;
  }
}

.figure {
  margin: 0;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
}

.figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.figure figcaption a {
  color: var(--text-secondary);
}

.media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  max-width: var(--max);
}

@media (max-width: 640px) {
  .media-row {
    grid-template-columns: 1fr;
  }
}

.media-row .figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}

.prose-wide {
  max-width: none;
}

.meta-panel {
  border: 1px solid var(--border);
  font-size: 0.8125rem;
}

.meta-panel dl {
  margin: 0;
}

.meta-panel dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem 0;
  margin: 0;
}

.meta-panel dd {
  margin: 0.15rem 0 0;
  padding: 0 0.75rem 0.65rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.meta-panel dd:last-child {
  border-bottom: none;
  padding-bottom: 0.75rem;
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text-secondary);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.citation {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--border-strong);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
}

.spec-item {
  padding: 1rem 1.125rem;
  border-right: 1px solid var(--border);
}

.spec-grid .spec-item:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .spec-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .spec-grid .spec-item:last-child {
    border-bottom: none;
  }
}

.spec-item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.spec-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-subtle);
  width: 8rem;
}

.data-table td {
  color: var(--text-secondary);
}

.chronology {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}

.chronology-item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 560px) {
  .chronology-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.chronology-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.chronology-item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.chronology-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.timeline {
  margin-top: 1rem;
}

.timeline-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.timeline-item h2,
.timeline-item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.timeline-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.source-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.source-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 1.25rem;
}

.person-card {
  background: var(--bg);
  padding: 1.125rem;
}

.person-card h2,
.person-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.person-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.role-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  background: var(--bg-subtle);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-inner h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.footer-inner p,
.footer-inner li {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-inner li {
  margin-bottom: 0.35rem;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.page-hero {
  padding-bottom: 1rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.display {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: var(--measure);
}

.archive-notice {
  max-width: var(--measure);
  padding: 0.875rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  padding: 1rem 1.125rem;
  border-right: 1px solid var(--border);
  background: var(--bg);
}

.panel:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .panel:last-child {
    border-bottom: none;
  }
}

.panel h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.panel p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.panel::after {
  display: none;
}
