:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --ink: #202822;
  --green: #183d32;
  --muted: #526057;
  --line: #d9d1c1;
  --rust: #923e28;
  --serif: Georgia, "Times New Roman", serif;
  font-family: "Instrument Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #b35832; outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-family: var(--serif); font-weight: 500; line-height: 1.07; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; background: white; padding: .7rem 1rem; transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead,.foot { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.masthead { min-height: 76px; }
.masthead a { text-decoration: none; }
.masthead a:hover { text-decoration: underline; }
.brand { color: var(--green); font-family: var(--serif); font-size: 1.42rem; }
.brand span { display: block; font: .7rem system-ui,sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.masthead nav { display: flex; gap: clamp(1rem,4vw,2.5rem); font-size: .89rem; font-weight: 650; }
.hero { background: var(--green); color: #fff8e9; }
.hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(30px,6vw,96px); align-items: center; padding-block: clamp(44px,7vw,100px); }
.eyebrow { font-size: .74rem; font-weight: 720; text-transform: uppercase; letter-spacing: .13em; }
.hero .eyebrow { color: #efc797; }
h1 { font-size: clamp(3.4rem,7.2vw,6.5rem); letter-spacing: -.065em; }
.hero h1 { margin-block: 12px 16px; }
.subtitle { font-family: var(--serif); font-size: clamp(1.5rem,3.2vw,2.6rem); line-height: 1.1; }
.hero p:not(.eyebrow,.subtitle) { max-width: 44ch; margin-top: 18px; color: #e1e6d9; }
.hero img,.feature img { width: 100%; height: auto; display: block; }
.hero figure img { border: 1px solid #b79e83; }
figcaption { margin-top: 9px; font-size: .76rem; color: #e1e6d9; }
.start,.open-docs,.entry-docs summary { display: inline-flex; gap: 1rem; align-items: center; font-weight: 670; }
.start { margin-top: 24px; padding: 10px 14px; background: #eed3a7; color: var(--green); text-decoration: none; }
.start:hover,.open-docs:hover { box-shadow: inset 0 -3px currentColor; }
.chronology { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: clamp(30px,6vw,84px); padding-block: 56px 80px; align-items: start; }
.period-nav { position: sticky; top: 24px; color: var(--green); }
.period-nav ul { list-style: none; padding: 0; margin: 12px 0 22px; }
.period-nav li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.period-nav a { text-decoration: none; font-size: .86rem; }
.period-nav a:hover { text-decoration: underline; }
.original-link { display: block; margin-block: 5px; color: var(--muted); }
.track { border-left: 1px solid #b49f82; padding-left: clamp(16px,4vw,44px); }
.period { position: relative; scroll-margin-top: 24px; padding-bottom: 44px; }
.period:last-child { padding-bottom: 0; }
.period::before { content: ""; position: absolute; inset: 5px auto auto calc(-1 * clamp(16px,4vw,44px) - 7px); width: 11px; height: 11px; border-radius: 50%; background: var(--rust); border: 1px solid var(--paper); }
.period .eyebrow,.date { color: var(--rust); }
.period h2,.identity h2 { color: var(--green); font-size: clamp(1.8rem,4vw,2.8rem); margin: 5px 0 10px; }
.period header p:last-child:not(.eyebrow) { color: var(--muted); }
.entries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.entry { display: flex; flex-direction: column; align-items: start; border: 1px solid var(--line); background: #fffcf5; padding: clamp(14px,2.4vw,23px); scroll-margin-top: 24px; }
.entry h3 { font-size: clamp(1.15rem,2.4vw,1.55rem); margin: .15em 0; }
.date,.original { font-size: .81rem; }
.original { color: var(--muted); margin-bottom: .55rem; }
.open-docs,.entry-docs summary { border: 0; background: transparent; padding: 7px 0 0; color: var(--green); font-size: .86rem; }
.open-docs,.entry-docs { margin-top: auto; }
.entry-docs summary { cursor: pointer; }
dialog { color: var(--ink); padding: 0; border: 1px solid var(--line); background: var(--paper); width: min(840px, calc(100% - 28px)); max-height: 88vh; max-height: 88dvh; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #14251fbb; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(12px,4vw,32px); border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: clamp(1.25rem,4vw,2rem); color: var(--green); }
.dialog-head button { border: 1px solid var(--green); color: var(--green); background: transparent; padding: 5px 9px; white-space: nowrap; }
.dialog-body { overflow: auto; padding: 0 clamp(12px,4vw,32px); }
.documents { list-style: none; padding: 0; }
.documents li { padding-block: 11px; }
.documents li + li { border-top: 1px solid var(--line); }
.documents li > span { margin-left: .5em; font-size: .76rem; color: var(--muted); }
.documents img,.documents video,.documents audio { display: block; max-width: 100%; margin-block: 8px; }
.documents video { width: 100%; }
.identity { padding-block: 54px 70px; }
.identity h1 { color: var(--green); }
.intro { font-size: 1.1rem; color: var(--muted); margin-block: 12px 28px; }
.feature { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--green); color: #fff8e9; text-decoration: none; margin-bottom: 48px; }
.feature img { height: 100%; min-height: 220px; object-fit: cover; }
.feature div { padding: clamp(18px,4vw,46px); align-self: center; }
.feature h2 { color: inherit; }
.feature span { display: block; margin-top: 10px; text-decoration: underline; }
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li { border-top: 1px solid var(--line); padding: 13px 0; }
.article-list a { color: var(--green); font-weight: 650; }
.article-list p,.article-list summary { color: var(--muted); }
.article-list details { margin-top: 6px; }
.article-list summary { cursor: pointer; font-size: .85rem; }
.article-list .article-list { padding-left: clamp(10px,2vw,24px); margin-top: 8px; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.foot { min-height: 84px; padding-block: 15px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { padding-block: 12px; gap: .55rem; }
  .hero-grid,.chronology { grid-template-columns: 1fr; }
  .period-nav { position: static; }
  .period-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
}
@media (max-width: 500px) {
  .entries,.feature { grid-template-columns: 1fr; }
  .feature img { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.board-header { padding-block: 30px 20px; }
.board-header h1 { color: var(--green); font-size: clamp(2.6rem,6vw,4.5rem); margin: .12em 0; }
.board-header p:not(.eyebrow) { color: var(--muted); }
.board-header a,.board-source { font-size: .84rem; }
.board-scroll { overflow: auto; background: #fff; border-block: 1px solid var(--line); }
.board-scroll:focus-visible { outline-offset: -3px; }
.board { width: clamp(2650px, calc(72vh * 4.88889), 4400px); position: relative; }
.board-background { display: block; width: 100%; height: auto; }
.board-event { pointer-events: none; }
.board-piece,.board-hit {
  position: absolute;
  opacity: var(--piece-opacity, 1);
  transform: translateY(calc(var(--piece-side) * (1 - var(--piece-opacity, 1)) * clamp(32px, 7vh, 72px)));
}
.board-hit { pointer-events: auto; cursor: pointer; z-index: 1; }
.board-event[data-hidden] .board-hit { pointer-events: none; }
.board-event:focus-visible .board-hit {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
.board-event:focus-visible { --piece-opacity: 1 !important; }
.board-source { margin-block: 12px 18px; color: var(--muted); }
.board-index { margin-bottom: 32px; }
.board-index summary { color: var(--green); cursor: pointer; }
.board-index .track { margin-top: 24px; }
