@font-face {
  font-family: Geist;
  src: url("/assets/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/ibm-plex-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --paper-2: #eeeae0;
  --white: #fffaf0;
  --ink: #22252e;
  --secondary: #535662;
  --rule: #d8d3c8;
  --rust: #9a4834;
  --midnight: #202334;
  --panel: #252a3c;
  --mint: #bcdece;
  --warm: #ffb895;
  --gutter: clamp(1.35rem, 6.15vw, 7.75rem);
  --frame: 80rem;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Geist, system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
img { display: block; max-inline-size: 100%; }
:focus-visible { outline: 2px solid #9d5b43; outline-offset: 5px; }
.hero :focus-visible, .research :focus-visible { outline-color: #ffcf9e; }
[hidden] { display: none !important; }
.frame { width: min(calc(100% - var(--gutter) * 2), var(--frame)); margin-inline: auto; }
.skip-link {
  position: fixed;
  inset: 0 auto auto 1rem;
  z-index: 6;
  padding: .55rem .9rem;
  transform: translateY(-120%);
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(.6rem); }

.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--rule); }
.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  border: 0;
  color: #232630;
}
.home .site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -1.9rem;
  z-index: -1;
  background: linear-gradient(to bottom, #f8f0deed 0, #f8f0dec9 54%, #f8f0de00 100%);
  pointer-events: none;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 82px;
}
.home .header-inner { border-bottom: 1px solid #37374127; }
.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .7rem;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.05;
  text-decoration: none;
}
.logo {
  position: relative;
  display: inline-grid;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  isolation: isolate;
}
.logo::before, .logo::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  border: 1px solid currentColor;
  width: 1.77rem;
  height: .84rem;
  border-radius: 50%;
}
.logo::before { transform: translate(-50%, -50%) rotate(-37deg); }
.logo::after { transform: translate(-50%, -50%) rotate(37deg); }
.logo i {
  width: .31rem;
  height: .31rem;
  border-radius: 50%;
  background: #a95139;
}
.header-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 2.75rem); }
.header-nav a, .site-footer nav a { font-size: .88rem; font-weight: 500; text-decoration: none; }
.header-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.header-journal { justify-self: end; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 2.94rem;
  padding: .63rem 1.05rem;
  border-radius: 99rem;
  border: 1px solid transparent;
  font-size: .865rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.link-arrow {
  position: relative;
  display: inline-block;
  width: .7em;
  height: .7em;
  flex: none;
  vertical-align: middle;
}
.link-arrow::before {
  content: "";
  position: absolute;
  top: .015em;
  right: .005em;
  width: .49em;
  height: .49em;
  border-top: 1px solid;
  border-right: 1px solid;
}
.link-arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - .5px);
  right: -.07em;
  width: .86em;
  border-top: 1px solid;
  transform: rotate(-45deg);
}
.arrow-down { transform: rotate(135deg); }
.arrow-back { transform: rotate(225deg); }
.button-ink { background: #292b35; color: #fff8ec; }
.button-ink:hover { background: #404455; }
.button-light { background: var(--white); color: #25263b; }
.button-light:hover { background: #f2ddc5; }
.button-glass { border-color: #fffaf071; background: #1b1a362e; color: #fffdf9; }
.button-glass:hover { background: #1d1b38a8; }
.button-outline { border-color: #9c9689; color: var(--ink); }
.button-outline:hover { border-color: var(--ink); background: #eeebe2; }
.header-journal .button { min-height: 2.48rem; padding: .53rem .94rem; }

.hero {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  min-height: clamp(650px, 89svh, 880px);
  color: var(--white);
  background: #736f9f;
}
.hero-art, .hero-wash { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-wash {
  background:
    linear-gradient(0deg, #23234dad 0%, #28275256 37%, #42416300 72%),
    linear-gradient(90deg, #26244f88 0%, #352f6054 39%, #48366500 75%);
}
.hero-content { padding-block: 9.5rem clamp(5.5rem, 9vh, 7.25rem); }
.eyebrow {
  margin: 0;
  font: 400 .73rem/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
}
.signal { width: .44rem; height: .44rem; display: inline-block; flex: none; border-radius: 50%; background: currentColor; }
.hero-eyebrow, .section-label { display: flex; align-items: center; gap: .64rem; }
.hero-eyebrow { color: #fff2dc; }
.hero h1, h2, .blog-intro h1, .essay-header h1, .not-found h1 {
  margin: 0;
  font: 400 clamp(3.8rem, 7.8vw, 8rem)/.9 var(--serif);
  letter-spacing: -.035em;
}
.hero h1 {
  font-size: clamp(4.35rem, 7.75vw, 7.6rem);
  margin-top: 1.3rem;
  text-shadow: 0 1px 1rem #24244348;
}
.hero h1 em { color: #ffefd9; }
.hero-summary {
  max-width: 31rem;
  margin: 1.65rem 0 0;
  font-size: clamp(1.02rem, 1.6vw, 1.23rem);
  font-weight: 450;
  line-height: 1.58;
  color: #fffaf3;
  text-shadow: 0 1px .45rem #2421409c;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }

.paper { background: var(--paper); }
.mission { position: relative; z-index: 1; margin-top: -1.7rem; padding-block: clamp(4rem, 8vw, 8rem); border-radius: 1.65rem 1.65rem 0 0; }
.mission-intro, .research-intro {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: end;
  gap: clamp(1.65rem, 7vw, 6.5rem);
}
.section-label { color: var(--rust); margin-bottom: 1.1rem; }
h2 { font-size: clamp(3.35rem, 6.6vw, 6.7rem); }
.mission h2 { max-width: 14ch; text-wrap: balance; }
.mission h2 em { color: #64577b; }
.mission-copy { color: var(--secondary); font-size: clamp(1rem, 1.35vw, 1.19rem); line-height: 1.64; }
.mission-copy p { margin: 0; }
.mission-copy p + p { margin-top: .95em; }
.domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(2.8rem, 5.1vw, 5.25rem) 0 0;
  padding: 0;
  border-block: 1px solid var(--rule);
  list-style: none;
}
.domains li { padding: 1.35rem clamp(.85rem, 2.6vw, 2.2rem); border-inline-end: 1px solid var(--rule); }
.domains li:first-child { padding-inline-start: 0; }
.domains li:last-child { border-inline-end: 0; }
.domains h3 { margin: 0 0 .2rem; color: var(--ink); font-size: .97rem; font-weight: 650; }
.domains p { margin: 0; color: var(--secondary); font-size: .91rem; }

.research {
  padding-block: clamp(4.1rem, 8vw, 8rem);
  background:
    radial-gradient(ellipse at 82% 0%, #3c344c7a, transparent 58%),
    var(--midnight);
  color: #fcf3e6;
}
.research .section-label { color: var(--warm); }
.research h2 { max-width: 13ch; }
.research h2 em { display: inline-block; color: #d3c4eb; }
.research-intro > p { margin: 0; max-width: 35rem; color: #deddea; font-size: clamp(1rem, 1.4vw, 1.18rem); }
.observatory {
  display: grid;
  grid-template-columns: minmax(14rem, .78fr) minmax(0, 1.8fr);
  margin-top: clamp(2.1rem, 4.5vw, 4rem);
  border: 1px solid #62657e83;
  border-radius: 1rem;
  background: var(--panel);
}
.observatory-index { padding: clamp(1rem, 3vw, 2.3rem); border-inline-end: 1px solid #62657e83; }
.observatory-index > p { margin: .12rem 0 1.16rem; color: #c6c2d7; }
.observatory-index nav { display: grid; gap: .45rem; }
.observatory-index a {
  position: relative;
  display: grid;
  grid-template-columns: 1rem 1fr auto;
  align-items: center;
  min-height: 3.35rem;
  gap: .64rem;
  padding: .69rem .75rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  color: #eeebf5;
  text-decoration: none;
  line-height: 1.35;
  font-size: .92rem;
}
.observatory-index a:hover { background: #383e53; }
.observatory-index [aria-selected="true"] { border-color: #696d87; background: #383e54; color: #fff6e9; }
.tab-mark { display: block; width: .65rem; height: .65rem; margin: auto; border: 1px solid currentColor; color: #d7c8ec; }
.tab-mark-adapt { border-radius: 50%; }
.tab-mark-verify { color: #bcdece; transform: rotate(45deg) scale(.84); }
.tab-mark-coordinate { color: #ffbb9a; clip-path: polygon(50% 0,100% 100%,0 100%); background: currentColor; }
.tab-mark-swarm { color: #9bdeea; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--panel), inset 0 0 0 4px currentColor; }
.tab-arrow { color: #cec9dd; }
.observatory-panels { min-width: 0; }
.research-panel { padding: clamp(1.25rem, 3.4vw, 3rem); scroll-margin-top: 2rem; }
.research-panel + .research-panel { border-top: 1px solid #62657e83; }
.observatory[data-enhanced] .research-panel { border: 0; }
.panel-copy h3 { margin: 0; font: 400 clamp(2.3rem, 4.2vw, 3.85rem)/.99 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.panel-copy p { max-width: 39rem; margin: .75rem 0 0; color: #dddbea; font-size: .98rem; text-wrap: pretty; }
.study { margin: 1.35rem 0 0; border: 1px solid #565c756e; border-radius: .53rem; overflow: hidden; background: #1b2031; }
.study canvas { display: none; width: 100%; height: auto; aspect-ratio: 2.58; background: #191e2e; }
.observatory[data-enhanced] .study canvas { display: block; }
.study figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding: .57rem .82rem;
  border-top: 1px solid #565c756e;
  font: 400 .72rem/1.4 var(--mono);
  color: #c5c4d7;
}
.swarm-controls, .swarm-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .9rem;
  padding: .55rem .82rem;
  color: #e5e5f0;
}
.swarm-controls { justify-content: space-between; border-bottom: 1px solid #565c756e; font-size: .82rem; }
.swarm-controls label { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; cursor: pointer; }
.swarm-controls input { width: 1rem; height: 1rem; margin: 0; accent-color: #9bdeea; cursor: pointer; }
.swarm-controls button {
  min-height: 2.5rem;
  padding: .25rem .68rem;
  border: 1px solid #748eac;
  border-radius: .35rem;
  background: #29384c;
  color: #edf8ff;
  cursor: pointer;
  font-weight: 550;
}
.swarm-controls button:hover { background: #384b64; }
.swarm-study canvas {
  min-height: 9rem;
  background:
    linear-gradient(#acb7da13 1px, transparent 1px),
    linear-gradient(90deg, #acb7da13 1px, transparent 1px),
    radial-gradient(ellipse at 45% 47%, #273e52, #171d2e 82%);
  background-size: 24px 24px, 24px 24px, auto;
  background-position: center;
}
.swarm-legend { margin: 0; list-style: none; border-top: 1px solid #565c756e; font-size: .73rem; }
.swarm-legend li { display: inline-flex; align-items: center; gap: .34rem; }
.swarm-dot { width: .57rem; height: .57rem; border: 1px solid #9caac8; border-radius: 50%; }
.swarm-dot-informed { border-color: #9bdeea; background: #9bdeea; }
.swarm-dot-offline { border-style: dashed; }

.homepage-journal { padding-block: clamp(4.1rem, 8vw, 8rem); }
.journal-top { display: flex; align-items: end; justify-content: space-between; gap: .95rem 2rem; margin-bottom: clamp(1.6rem, 4vw, 3.2rem); }
.text-link { display: inline-flex; align-items: center; gap: .51em; width: fit-content; font-size: .9rem; font-weight: 600; text-underline-offset: .37em; }
.text-link:hover { color: var(--rust); }
.post-feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 21.5rem;
  border: 1px solid var(--rule);
  border-radius: .85rem;
  overflow: hidden;
  text-decoration: none;
  background: #f3f0e9;
  transition: border-color .2s ease, background-color .2s ease;
}
.post-feature:hover { border-color: #9a9286; background: #eeeae2; }
.post-image { position: relative; margin: 0; overflow: hidden; background: #e8dfd3; min-height: 14rem; }
.post-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center; }
.post-feature:hover img, .post-card:hover img { transform: scale(1.035); }
.post-image img { transition: transform .38s ease; }
.post-image.is-abstract {
  background:
    repeating-linear-gradient(90deg, #9b725526 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, #9b725526 0 1px, transparent 1px 24px),
    radial-gradient(ellipse at 64% 72%, #c5b8d8, #e8d4c6 68%, #e7e0d5);
}
.post-preview { display: grid; align-content: center; gap: .85rem; padding: clamp(1.35rem, 4vw, 4rem); }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .42em .8em; margin: 0; list-style: none; padding: 0; color: var(--secondary); font: 400 .73rem/1.46 var(--mono); }
.post-meta .post-category { color: var(--rust); }
.post-meta > * + *::before { content: ""; display: inline-block; margin-right: .73em; width: 3px; height: 3px; vertical-align: .2em; background: currentColor; border-radius: 50%; }
.post-preview h3, .post-card h3 { margin: 0; font: 400 clamp(2.4rem, 4.5vw, 4.6rem)/.95 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.post-preview > p:not(.text-link), .post-card .post-summary { margin: 0; max-width: 34rem; color: var(--secondary); }
.post-preview .text-link { margin: .75rem 0 0; text-decoration: underline; }
.post-feature:hover .text-link { color: var(--rust); }

.site-footer { border-top: 1px solid var(--rule); padding-block: 2.35rem 2.75rem; background: #ede9e1; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem 2rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.site-footer .copyright { margin: 1.3rem 0 0; color: var(--secondary); font-size: .79rem; }

.blog-intro { position: relative; isolation: isolate; padding-block: clamp(3.8rem, 7.6vw, 7rem) clamp(2.4rem, 5vw, 4.5rem); border-bottom: 1px solid var(--rule); overflow: hidden; }
.blog-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 0 41%;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, #755f7b30 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, #755f7b30 0 1px, transparent 1px 26px),
    radial-gradient(ellipse at 75% 55%, #cec0e78a 0%, #ebcdbd79 58%, transparent 80%);
  mask-image: radial-gradient(ellipse at 85% 45%, #000 13%, #000b 40%, transparent 75%);
}
.blog-intro h1 { font-size: clamp(3.65rem, 9vw, 8.2rem); }
.blog-intro h1 em { color: #64577b; }
.blog-intro .frame > p:not(.eyebrow) { max-width: 36rem; margin: 1.3rem 0 0; font-size: clamp(1.04rem, 1.5vw, 1.22rem); color: var(--secondary); line-height: 1.6; text-wrap: pretty; }
.blog-intro .button { margin-top: 1.48rem; }
.blog-index { padding-block: clamp(2.55rem, 5.7vw, 5.65rem) clamp(4.5rem, 9vw, 9rem); }
.blog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}
.blog-controls h2 { font: 650 1.18rem/1.35 var(--sans); letter-spacing: -.028em; }
.search { display: flex; align-items: center; gap: .6rem; }
.search label { font-size: .86rem; font-weight: 550; }
.search input { width: clamp(9rem, 20vw, 15rem); min-height: 2.4rem; border: 1px solid #b5aea1; border-radius: .31rem; padding: .29rem .63rem; color: var(--ink); background: #fcfaf5; font-size: .88rem; }
.search-status { color: var(--secondary); font-size: .82rem; min-height: 1.3rem; margin: -.65rem 0 1rem; }
.search-status:empty { display: none; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem; }
.post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border: 1px solid var(--rule);
  border-radius: .7rem;
  overflow: hidden;
  text-decoration: none;
  background: #f3f0e9;
  transition: background-color .18s ease, border-color .18s ease;
}
.post-card:hover { background: #eeeae2; border-color: #9a9286; }
@media (min-width: 701px) {
  .post-list > article:only-child { grid-column: 1 / -1; }
  .post-list > article:only-child .post-card { grid-template: auto / 1.12fr .88fr; min-height: 19rem; }
  .post-list > article:only-child .post-image { aspect-ratio: auto; }
  .post-list > article:only-child .post-preview { align-content: center; padding: clamp(1.5rem, 4vw, 4rem); }
  .post-list > article:only-child .post-preview h3 { font-size: clamp(2.75rem, 4.5vw, 4.9rem); }
}
.post-card .post-image { min-height: 0; aspect-ratio: 1.72; }
.post-card .post-preview { align-content: start; gap: .65rem; padding: 1.2rem 1.15rem 1.4rem; }
.post-card h3 { font-size: clamp(2.1rem, 3.25vw, 3.35rem); text-wrap: initial; }
.post-card .post-summary { font-size: .91rem; }
.post-card .text-link { margin-top: .35rem; }
.post-article-heading { padding-block: clamp(2rem, 5.5vw, 5rem) clamp(1.9rem, 4vw, 3.5rem); }
.essay-header { max-width: 62rem; }
.essay-header .text-link { margin-bottom: clamp(1.6rem, 4.5vw, 3rem); }
.essay-header h1 { font-size: clamp(3.8rem, 8.8vw, 8.3rem); margin-block: .9rem .8rem; text-wrap: balance; }
.essay-deck { color: var(--secondary); margin: 0; font-size: clamp(1.11rem, 2.25vw, 1.48rem); line-height: 1.55; max-width: 40rem; text-wrap: pretty; }
.essay-cover { margin: 0 auto; width: min(calc(100% - var(--gutter) * 2), var(--frame), 65rem); aspect-ratio: 2.34; min-height: 12rem; border-radius: .75rem; overflow: hidden; background: #ece2d7; }
.essay-cover img { width: 100%; height: 100%; object-fit: cover; }
.essay-content { margin: clamp(2rem, 5vw, 4.1rem) auto 0; padding-bottom: clamp(4rem, 8vw, 7rem); width: min(calc(100% - var(--gutter) * 2), 44rem); font-size: clamp(1.02rem, 1.8vw, 1.15rem); line-height: 1.77; }
.essay-content h2 { font-size: clamp(2.25rem, 5.15vw, 3.55rem); line-height: .99; margin-block: 1.05em .36em; }
.essay-content h3 { font-size: 1.25em; line-height: 1.25; margin: 1.75em 0 .45em; }
.essay-content p, .essay-content ul, .essay-content ol { margin: 0 0 1.2em; }
.essay-content a { color: var(--rust); text-underline-offset: .16em; }
.essay-content blockquote { margin-inline: 0; padding-inline-start: 1.2em; border-inline-start: 2px solid #a9573c; color: var(--secondary); }
.essay-content pre { overflow-x: auto; padding: 1rem; background: #eae6dc; font-size: .87em; line-height: 1.55; }
.essay-content code { font-family: var(--mono); overflow-wrap: anywhere; }
.essay-content img { height: auto; border-radius: .35rem; }
.essay-content hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2.35rem; }
.essay-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.essay-content th, .essay-content td { border: 1px solid var(--rule); padding: .44em .65em; text-align: start; }
.not-found { min-height: 60vh; padding-block: clamp(4rem, 11vw, 10rem); }
.not-found .button { margin-top: .5rem; }

@media (max-width: 940px) {
  .observatory { grid-template-columns: .82fr 1.5fr; }
  .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root { --gutter: clamp(1rem, 5vw, 2rem); }
  .header-inner { gap: .65rem; min-height: 68px; }
  .header-nav { gap: .95rem; }
  .brand { gap: .42rem; font-size: 1rem; white-space: nowrap; }
  .logo { transform: scale(.88); }
  .hero { min-height: clamp(620px, 92svh, 780px); }
  .hero-art img { object-position: 58% center; }
  .hero-wash {
    background:
      linear-gradient(0deg, #222248c9 0%, #2a275a8c 40%, #3d3b6700 70%),
      linear-gradient(90deg, #2e295b23, #42356b00 80%);
  }
  .hero-content { padding-top: 8rem; padding-bottom: 5.25rem; }
  .hero h1 { font-size: clamp(3.55rem, 10.5vw, 5.45rem); }
  .hero-summary { margin-top: 1.25rem; max-width: 26.5rem; }
  .mission-intro, .research-intro { grid-template-columns: 1fr; gap: 1.35rem; }
  .domains li { padding: .95rem .68rem; }
  .domains h3 { line-height: 1.3; }
  .domains p { font-size: .85rem; line-height: 1.5; }
  .observatory { grid-template-columns: 1fr; }
  .observatory-index { border-inline-end: 0; border-bottom: 1px solid #62657e83; }
  .observatory-index nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; }
  .observatory-index a { grid-template-columns: .8rem minmax(0, 1fr); gap: .4rem; height: 100%; padding: .55rem .5rem; }
  .tab-mark { margin: 0; }
  .tab-arrow { display: none; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .post-image { min-height: 0; aspect-ratio: 1.92; }
}
@media (max-width: 490px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 65px; }
  .header-nav { display: none; }
  .header-journal .button { min-height: 2.2rem; font-size: .81rem; }
  .hero h1 { font-size: clamp(2.95rem, 11.5vw, 4rem); }
  .hero-content { padding-bottom: 4.15rem; }
  .hero-summary { max-width: 21rem; }
  .hero .button { font-size: .79rem; padding-inline: .78rem; }
  .hero-actions { gap: .5rem; }
  .mission { border-radius: 1.15rem 1.15rem 0 0; }
  .domains { grid-template-columns: 1fr; }
  .domains li { padding-inline: 0; border: 0; }
  .domains li + li { border-top: 1px solid var(--rule); }
  .journal-top { align-items: start; flex-direction: column; }
  .post-list { grid-template-columns: 1fr; }
  .observatory-index a { font-size: .79rem; }
  .study canvas { aspect-ratio: 1.8; }
  .study figcaption { font-size: .63rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Figures inside an essay: wider than the text column, in the research panel's look. */
.essay-figure {
  --lilac: #d9baf4;
  --mint: #b5ebd4;
  --warm: #ffbb98;
  --cyan: #9bdeea;
  --figure-width: min(calc(100vw - var(--gutter) * 2), 65rem);
  width: var(--figure-width);
  margin: clamp(2.1rem, 4.6vw, 3.4rem) 0;
  margin-inline-start: calc((100% - var(--figure-width)) / 2);
  border: 1px solid #3b4058;
  border-radius: .7rem;
  overflow: hidden;
  background: #1b2031;
  color: #f4f0fb;
  font: 400 .92rem/1.5 var(--sans);
}
.essay-figure p, .essay-figure ul { margin: 0; }
.essay-figure :focus-visible { outline-color: #ffcf9e; outline-offset: 3px; }
.figure-stage {
  overflow-x: auto;
  background:
    linear-gradient(#acb7da10 1px, transparent 1px),
    linear-gradient(90deg, #acb7da10 1px, transparent 1px),
    radial-gradient(ellipse at 50% 42%, #242c42, #171c2c 86%);
  background-size: 28px 28px, 28px 28px, auto;
  background-position: center;
}
.figure-stage svg { display: block; width: 100%; height: auto; }
.figure-stage.is-wide svg { min-width: 46rem; }
.essay-figure svg text { font: 400 13px var(--mono); fill: #f4f0fb; }
.essay-figure figcaption, .figure-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1rem;
  padding: .6rem .9rem;
}
.essay-figure figcaption { border-top: 1px solid #565c756e; font: 400 .72rem/1.45 var(--mono); color: #c5c4d7; }
.figure-controls { align-items: center; border-bottom: 1px solid #565c756e; font-size: .82rem; color: #e5e5f0; }
.figure-controls label { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; cursor: pointer; }
.figure-controls input[type="checkbox"] { width: 1rem; height: 1rem; margin: 0; accent-color: #9bdeea; cursor: pointer; }
.figure-controls button {
  min-height: 2.5rem;
  padding: .25rem .8rem;
  border: 1px solid #748eac;
  border-radius: .35rem;
  background: #29384c;
  color: #edf8ff;
  cursor: pointer;
  font-weight: 550;
}
.figure-controls button:hover { background: #384b64; }
.figure-status { min-height: 5.6em; padding: .85rem .9rem .95rem; border-top: 1px solid #565c756e; color: #e9e7f3; font-size: .95rem; line-height: 1.5; text-wrap: pretty; }
@media (max-width: 700px) {
  .essay-figure:has(.figure-stage.is-wide)::before {
    content: "Swipe sideways to see the whole figure";
    display: block;
    padding: .45rem .9rem;
    border-bottom: 1px solid #565c756e;
    color: #aeb1c9;
    font: 400 .66rem/1.4 var(--mono);
  }
}
@media (max-width: 490px) {
  .essay-figure figcaption { font-size: .63rem; }
  .figure-status { min-height: 8.6em; }
}
