:root { --forest: #173d2b; --artichoke: #4B6F44; --laurel: #dde3d8; --ink: #21362b; --paper: #fbfcf9; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: #315b2b; text-underline-offset: .2em; }
a:hover { color: #132d1f; }
a:focus-visible { outline: 3px solid #956212; outline-offset: 5px; }
h1, h2, h3 { line-height: 1.15; color: var(--forest); }
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); letter-spacing: -.045em; font-weight: 700; }
h2 { font-size: 1.8rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.4rem; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 5; padding: .7rem; background: white; }
.skip:focus { top: 1rem; }
.preview-bar { padding: .6rem 4%; background: var(--forest); color: white; font-size: .85rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.preview-bar a { color: white; }
.masthead { padding: 1.5rem 4%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid #b3c1ad; }
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 750; font-size: 1.25rem; text-decoration: none; }
.brand img { object-fit: contain; }
nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
main { max-width: 1280px; margin: auto; padding: 3rem 4%; }
section { margin-bottom: 3.5rem; scroll-margin-top: 1rem; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.lead { max-width: 760px; font-size: 1.25rem; }
.btn { display: inline-block; padding: .65rem 1rem; text-decoration: none; border-radius: .3rem; }
.btn-success { color: white; background: var(--forest); border: 1px solid var(--forest); }
.btn-success:hover { color: white; background: #294d33; }
.btn-outline-success { border: 1px solid var(--forest); color: var(--forest); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card { border: 1px solid #b3c1ad; border-radius: .5rem; background: white; }
.card-body { padding: 1.6rem; }
.card h3 { margin: 1.2rem 0; }
.tag { display: inline-block; font-size: .8rem; background: var(--laurel); padding: .3rem .7rem; border-radius: 2rem; }
.muted { color: #566151; font-size: .9rem; }
.directory-hero { padding: 2rem 0 3rem; }
.directory-hero h1 { max-width: 850px; }
.scholar-band { background: var(--laurel); padding: 2rem; margin-top: 3rem; border-radius: .5rem; }
.people { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 0; }
footer { border-top: 1px solid #b3c1ad; margin-top: 3rem; padding: 2rem 4%; font-size: .9rem; }
footer nav { align-items: center; }
.observatory { background: #f0f3ee; }
.observatory main { max-width: 1500px; padding-top: 0; }
.workspace { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 2.5rem; }
.rail { border-right: 1px solid #b3c1ad; padding: 2.5rem 1rem 0 0; }
.rail nav { flex-direction: column; margin: 2rem 0 4rem; }
.workspace-content { padding-top: 2.5rem; min-width: 0; }
.observatory h1 { font-size: clamp(2.5rem, 4vw, 4rem); }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 1rem; }
.metrics div { background: var(--forest); color: white; padding: 1.3rem; border-top: 5px solid var(--artichoke); }
.metrics strong { display: block; font: 700 clamp(1.3rem, 2.5vw, 2.5rem)/1.3 ui-monospace, monospace; }
.metrics span { display: block; font-size: .85rem; margin-top: .7rem; }
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; --bs-table-bg: transparent; --bs-table-color: var(--ink); }
.table th, .table td { padding: 1rem .6rem; vertical-align: top; border-bottom: 1px solid #b3c1ad; }
.table caption { caption-side: bottom; color: #566151; font-size: .85rem; }
.pending { border-left: 5px solid var(--artichoke); padding: 1.5rem; background: var(--laurel); }
.journal { background: #f8f5ec; font-family: Georgia, serif; }
.journal .masthead, .journal .preview-bar, .journal .eyebrow, .journal footer, .journal .btn { font-family: system-ui, sans-serif; }
.journal-heading { text-align: center; border-bottom: 4px double var(--forest); padding-bottom: 2rem; margin-bottom: 3rem; }
.journal h1 { font-weight: 400; font-size: clamp(3rem, 6.5vw, 6rem); }
.journal-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 4rem; }
.lead-story h2 { font-size: clamp(2.2rem, 3.5vw, 3.5rem); }
.standfirst { font-size: 1.4rem; }
.journal-aside { border-left: 1px solid #b3c1ad; padding-left: 2rem; }
.journal-aside .people { display: block; }
.journal-aside li { margin-bottom: .7rem; }
.journal-aside h2 { margin-top: 2rem; font-size: 1.3rem; }
.journal-aside h2:first-child { margin-top: 0; }
.notebook { margin-top: 3rem; border-top: 4px double var(--forest); padding-top: 2rem; }
.notebook article { border-bottom: 1px solid #b3c1ad; padding: 1rem 0; }
.comparison-intro { max-width: 850px; }
.concept { padding: 1rem; border: 1px solid #b3c1ad; background: white; }
.concept h2 { margin-top: 1.5rem; font-size: 1.4rem; }
.review { margin-top: 3rem; max-width: 850px; }
.mini { height: 150px; padding: 15px; background: var(--laurel); border: 1px solid #b3c1ad; }
.mini span, .mini i { display: block; background: var(--artichoke); }
.mini-a > span { width: 65%; height: 35px; margin-bottom: 15px; }
.mini-a div { display: flex; gap: 8px; }
.mini-a i { width: 33%; height: 65px; background: white; border-top: 7px solid var(--forest); }
.mini-b { display: flex; gap: 12px; background: #f0f3ee; }
.mini-b > i { width: 25%; background: var(--forest); }
.mini-b div { width: 75%; }
.mini-b span { height: 28px; margin-bottom: 10px; }
.mini-c { background: #f8f5ec; }
.mini-c > span { height: 15px; width: 80%; margin: 0 auto 15px; }
.mini-c div { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; }
.mini-c i { height: 85px; background: #dde3d8; border-top: 2px solid var(--forest); }
@media (max-width: 800px) {
  .masthead { align-items: flex-start; flex-direction: column; }
  .project-grid, .metrics, .workspace, .journal-layout { grid-template-columns: 1fr; }
  .rail { border-right: 0; border-bottom: 1px solid #b3c1ad; padding-top: 1.5rem; }
  .rail nav { flex-direction: row; margin: 1rem 0; }
  .rail p:last-child { margin-bottom: 1rem; }
  .journal-aside { border-left: 0; border-top: 1px solid #b3c1ad; padding: 2rem 0 0; }
  .directory-hero { padding-top: 0; }
  main { padding-top: 2rem; }
  .metrics { gap: .5rem; }
  .metrics div { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
