:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #24352a;
  --muted: #526054;
  --line: #c5cbbf;
  --green: #294834;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1.125rem; line-height: 1.7; }
a { color: var(--green); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
button { font: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
:where(a, button, [tabindex]):focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 600; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.75rem); letter-spacing: -.035em; max-width: 20ch; margin-block: .25em .45em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.02em; margin-bottom: .75em; }
h3 { font-size: 1.3rem; margin-bottom: .65em; }
p { max-width: 66ch; }
p + p { margin-top: 1em; }
img { display: block; width: 100%; height: auto; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.skip-link { position: absolute; left: 1rem; top: .5rem; padding: .6rem 1rem; background: white; z-index: 5; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: #fdfcf8; }
.header-inner, main, .footer-inner { width: min(100% - 3rem, 1120px); margin-inline: auto; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.8rem; padding-block: 1.25rem; }
.brand { flex-shrink: 0; color: var(--ink); font-size: 1.5rem; font-weight: 700; line-height: 1.25; text-decoration: none; }
.brand span { font-weight: 400; }
.brand small { display: block; font-size: .875rem; font-weight: 400; margin-top: .15em; }
.header-inner nav { display: flex; flex: 1 1 650px; flex-wrap: wrap; align-items: center; gap: .25rem .9rem; }
.header-inner nav a { padding: .45rem .15rem; min-height: 44px; display: inline-flex; align-items: center; font-size: 1rem; }
.header-inner nav a[aria-current] { font-weight: 700; text-decoration-thickness: .15em; }
.plain-button { min-height: 44px; padding: .45rem .85rem; color: var(--ink); border: 1px solid var(--muted); background: transparent; border-radius: .25rem; line-height: 1.4; }
.plain-button:hover { background: #e6ebe1; }
.header-inner > button { font-size: .9375rem; }
.page-intro { padding-block: clamp(2.5rem, 6vw, 5rem) 2.5rem; }
.home-intro { padding-bottom: 3rem; }
.eyebrow { font-size: .9375rem; font-weight: 600; color: var(--muted); margin-bottom: .75rem; }
.lead { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.65; max-width: 64ch; }
.page-intro .lead + p { margin-top: 1.25rem; }
.premise { margin-top: 1.6rem; }
.premise p + p { margin-top: .35rem; }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.link-row > a:not(.button) { padding-block: .65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.15rem; border: 2px solid var(--green); border-radius: .25rem; background: var(--green); color: #fff; text-decoration: none; line-height: 1.45; text-align: center; }
.button:hover { background: #1d3827; border-color: #1d3827; text-decoration: underline; }
.landscape { margin-bottom: 2rem; }
.landscape img { aspect-ratio: 16 / 8; object-fit: cover; border-radius: .3rem; }
figcaption { font-size: .9375rem; line-height: 1.6; color: var(--muted); margin-top: .6rem; max-width: 75ch; }
.page-section { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.page-section p + a.back-link { margin-top: 1.5rem; }
.three-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.three-columns > * { min-width: 0; }
.project-connection { margin-top: 1.75rem; }
.closing { padding-block: 3.5rem; }
.status { font-size: 1rem; color: var(--muted); margin-top: 1.25rem; }
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 3rem; }
.examples dt { font-size: 1.25rem; font-weight: 600; margin-bottom: .4rem; }
.examples dd { margin: 0; max-width: 60ch; }
.experiment { max-width: 66ch; }
.motion-track { width: 100%; height: 24px; overflow: hidden; background: #e3e8dd; border-radius: 3px; margin-block: 1.5rem; }
.motion-track > span { display: block; width: 100%; height: 100%; position: relative; animation: traverse 5s ease-in-out infinite alternate; animation-play-state: paused; }
.motion-track > span::before { content: ''; display: block; width: 48px; height: 100%; background: var(--green); border-radius: 3px; }
@keyframes traverse { from { transform: translateX(0); } to { transform: translateX(calc(100% - 48px)); } }
html[data-motion="running"] .motion-track > span { animation-play-state: running; }
html[data-motion="paused"] .motion-track > span { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion-override="true"]) .motion-track > span { animation-play-state: paused; }
}
.experiment-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin-block: 1.5rem; }
.small { font-size: .9375rem; line-height: 1.65; }
.back-link { display: inline-block; padding-block: .6rem; min-height: 44px; }
.scene-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; border-bottom: 1px solid var(--line); padding-block: 1rem; }
.scene-top a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .7rem; min-height: 44px; }
.exit-link { font-weight: 600; }
kbd { padding: .1rem .4rem; border: 1px solid var(--muted); border-radius: 3px; font: .875rem Arial, sans-serif; color: var(--ink); }
.scene-intro { padding-bottom: 1.5rem; }
.scene-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.scene-layout > * { min-width: 0; }
.scene-layout .landscape img { aspect-ratio: 4 / 3; }
.scene-choices { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; }
.scene-choices a { display: inline-flex; min-height: 44px; align-items: center; padding-block: .6rem; }
.scene-bottom { border-top: 1px solid var(--line); padding-block: 1.5rem 2.5rem; margin-top: 2rem; }
.scene-bottom > a { display: inline-block; min-height: 44px; padding-block: .5rem; }
.site-footer { padding-block: 2rem; color: var(--paper); background: var(--ink); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; font-size: .9375rem; }
.site-footer a { color: var(--paper); display: inline-block; padding-block: .4rem; min-height: 44px; }
.site-footer a:focus-visible { outline-color: var(--paper); }
.footer-motion { flex-basis: 100%; height: 6px; margin-block: .25rem 0; background: #526054; }
.footer-motion > span::before { background: var(--paper); }
dialog { width: min(600px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: 0; border: 1px solid var(--muted); border-radius: .5rem; background: var(--paper); color: var(--ink); }
dialog:not([open]) { display: none; }
dialog::backdrop { background: rgb(15 28 20 / .55); }
.controls-shell { padding: clamp(1.2rem, 4vw, 2.25rem); }
.controls-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.controls-heading h2 { margin: 0; }
.controls-shell > .button { margin-block: 1rem; }
.controls-shell > .plain-button { margin-top: 1.25rem; }
.no-script { margin: 0 auto; padding: 1rem 1.5rem; font-size: .9375rem; }
:where(p, a, button, dt, dd, figcaption) { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .header-inner, main, .footer-inner { width: calc(100% - 2.5rem); }
  .header-inner { gap: .75rem 1rem; }
  .header-inner nav { flex-basis: 100%; gap: .3rem 1.05rem; }
  .three-columns, .scene-layout { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .examples { grid-template-columns: minmax(0, 1fr); }
  .page-section { padding-block: 2rem; }
  .landscape img { aspect-ratio: 4 / 3; }
  .scene-layout .landscape { margin-bottom: 0; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, dialog, .js-only, .motion-track, .no-script { display: none !important; }
  main { width: 100%; }
  a { color: black; }
  .page-intro, .page-section { padding-block: 1rem; }
  .landscape { max-width: 500px; break-inside: avoid; }
  .three-columns, .scene-layout, .examples { display: block; }
  .three-columns > *, .examples > * { margin-bottom: 1rem; }
}
