:root {
  color-scheme: light dark;
  --ground: #f8f5ea; --panel: #fffcf3; --ink: #252e26; --soft: #5e6558; --edge: #cfcfc0;
  --accent: #8c4829; --mount: #394e43; --mount-ink: #f1f0da; --stamp: #edc782;
  --paper: #f3e5c9; --pen: #393727; --pencil: #816441; --shade: #e2d9bf;
  --sage: #dce4d3; --honey: #f3dba8; --blush: #e9d2bd; --focus: #a24d21;
  --serif: Georgia, 'Times New Roman', serif; --mono: ui-monospace, Menlo, Consolas, monospace;
  background: var(--ground); color: var(--ink); font: 16px/1.5 system-ui, sans-serif; -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #19231e; --panel: #222e27; --ink: #f3efda; --soft: #bbc4b3; --edge: #4e5b50; --accent: #ecb58a; --mount: #2d453a; --focus: #f3ba68; --paper: #dccdaa; --shade: #bdb69b; --sage: #bbc8ae; --honey: #d9bb85; --blush: #c9ac93; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, dl, dd, ul { margin: 0; }
body { background: radial-gradient(ellipse at 14% 0%, #c89f4610, transparent 36rem); }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: .22em; }
button, label, input[type=checkbox] { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.mount :focus-visible { outline-color: var(--stamp); }
.wrap { width: min(1200px, calc(100% - clamp(32px, 9vw, 140px))); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; background: var(--panel); padding: 12px; }
.masthead, .footer, .collection-heading, .entry-foot, .mount-label, .tools, .tour-nav, .brand, .eyebrow { display: flex; align-items: center; }
.masthead, .footer, .collection-heading, .entry-foot, .mount-label, .tools { justify-content: space-between; gap: 12px; }
.masthead { min-height: 67px; border-bottom: 1px solid var(--edge); }
.brand { gap: 9px; font: bold 19px var(--serif); letter-spacing: -.055em; text-decoration: none; }
.contribute { font-size: .82rem; font-weight: 550; padding-block: 12px; }
.contribute span { color: var(--accent); margin-left: .2rem; }
.introduction { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: clamp(28px, 3.5vw, 52px) 0 28px; }
.eyebrow, .figures, .units, .fig, .plate-type, .card-id, .tour-nav span { font-family: var(--mono); }
.eyebrow, .plate-type, .card-id { font-size: .68rem; letter-spacing: .115em; text-transform: uppercase; font-weight: 600; }
.eyebrow { gap: 9px; }
.dash { width: 24px; height: 1px; background: currentColor; }
.introduction .eyebrow, .rust { color: var(--accent); }
h1, h2, h3 { font: 400 2rem/1.04 var(--serif); letter-spacing: -.048em; }
h1 { margin-top: 6px; font-size: clamp(4.4rem, 8vw, 7.4rem); line-height: .98; }
h1 em { font-weight: 400; color: var(--accent); }
.lede { max-width: 33ch; color: var(--soft); font-size: 1.03rem; padding-bottom: 5px; }
.featured { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: var(--panel); border: 1px solid var(--edge); border-radius: 5px; overflow: clip; scroll-margin-top: 12px; }
.mount { background: repeating-linear-gradient(101deg, transparent 0 2px, #ffffff04 2px 3px), var(--mount); color: var(--mount-ink); display: flex; flex-direction: column; padding: 18px clamp(18px, 2.8vw, 40px) 10px; }
.mount-label { font-weight: 400; }
.mount-label span:first-child { display: flex; align-items: center; gap: 8px; }
.mount-label i { background: var(--stamp); width: 6px; height: 6px; border-radius: 50%; }
.sheet { position: relative; flex: 1; min-height: 280px; isolation: isolate; display: grid; place-items: center; max-width: 100%; width: 87%; margin: 18px auto 7px; transform: rotate(-.8deg); background: var(--paper); color: var(--pen); box-shadow: 4px 5px 0 var(--shade), 6px 9px 12px #0d1a1333; }
.sheet::before, .card-art::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('./grain.svg'); opacity: .085; }
.fig, .plate-type { position: absolute; z-index: 1; }
.fig { top: 12px; left: 16px; font: italic .85rem var(--serif); }
.plate-type { right: 16px; bottom: 10px; font-size: .53rem; }
.corner { position: absolute; width: 10px; height: 10px; border: 0 solid #82765b; }
.tl { top: 11px; right: 12px; border-width: 1px 1px 0 0; }.br { bottom: 11px; left: 12px; border-width: 0 0 1px 1px; }
#feature-art { display: grid; place-items: center; width: 94%; padding-block: 15px; }
#feature-art svg { width: 100%; height: clamp(226px, 21vw, 310px); }
.sheet path, .card-art path { stroke: currentColor; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; fill: none; }
.sheet path { stroke-width: 1.35px; }.sheet .ink { stroke-dasharray: 1 1; }.underlay { opacity: .16; }
.point-marks { display: none; fill: #903e18; }.marked .point-marks { display: block; }
.tools { margin-top: 5px; font-size: .8rem; }
.tools button, .tools label { background: none; border: 0; color: inherit; min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 0 4px; }
.tools button span { color: var(--stamp); font-size: 1.35rem; }.tools input { accent-color: var(--stamp); width: 15px; height: 15px; }
.tools button:hover, .tools label:hover, a:hover { text-decoration: underline; }
.entry { display: flex; flex-direction: column; padding: clamp(24px, 3.3vw, 48px); }
.entry h2 { font-size: clamp(2.7rem, 4vw, 4rem); margin: 16px 0 6px; }
.byline { font-size: .86rem; font-weight: 600; }.description { color: var(--soft); font-size: .95rem; margin: 14px 0 22px; max-width: 36ch; }
.stats { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--edge); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.stats dt { color: var(--soft); font-size: .76rem; }.stats dd { font: 400 clamp(1.45rem, 2.4vw, 2.1rem) var(--serif); letter-spacing: -.045em; font-variant-numeric: lining-nums tabular-nums; }
.units { color: var(--soft); font-size: .65rem; margin: 5px 0 15px; }.entry-foot { border-top: 1px solid var(--edge); padding-top: 12px; }
.tour-nav { gap: 7px; }.tour-nav a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--edge); border-radius: 50%; text-decoration: none; }.tour-nav a:hover { background: var(--ink); color: var(--ground); }.tour-nav span { font-size: .72rem; white-space: nowrap; }
#copy-link { font-size: .8rem; padding: 12px 0; }#manual-link { width: 100%; margin-top: 8px; }
.collection-heading { align-items: end; margin: 44px 0 18px; }.collection-heading h2 { margin-top: 6px; font-size: clamp(2.2rem, 3.6vw, 3.4rem); }.index-note { font: italic .95rem var(--serif); color: var(--soft); }
.tour-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px 20px; list-style: none; padding: 0; }
.tour-card { display: block; text-decoration: none; }.tour-card:hover { text-decoration: none; }.tour-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.card-art { position: relative; display: grid; place-items: center; padding: 18px 10px 10px; background: var(--sage); color: var(--pen); border-radius: 3px; border: 1px solid #3f463630; }.tint-1 { background: var(--honey); }.tint-2 { background: var(--blush); }
.card-art svg { width: 85%; height: clamp(120px, 13vw, 180px); }.card-art path { stroke-width: 1.05px; }.card-id { position: absolute; top: 8px; left: 12px; font-size: .61rem; }.tour-card[aria-current] .card-art::after { content: 'On view'; position: absolute; right: 10px; top: 7px; background: var(--mount); color: var(--mount-ink); border-radius: 2px; padding: 2px 7px; font: .64rem/1.5 var(--mono); }
.card-caption { padding: 12px 0; border-bottom: 1px solid var(--edge); }.card-title { font-size: 1.55rem; }.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 8px; margin-top: 7px; color: var(--soft); }.credit { font-size: .78rem; }.figures { font-size: .68rem; }
.colophon { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 46px auto; padding: 20px; border-block: 1px solid var(--edge); }.colophon h2, .state h2 { font-size: 1.65rem; }.colophon p, .state p { color: var(--soft); font-size: .9rem; margin-top: 6px; }
.footer { border-top: 1px solid var(--edge); min-height: 76px; font-size: .77rem; color: var(--soft); flex-wrap: wrap; }.footer i { margin-inline: 6px; color: var(--accent); }.footer nav { display: flex; flex-wrap: wrap; gap: 16px; }.footer a { padding-block: 12px; }
.state { min-height: 280px; display: grid; align-content: center; justify-items: start; gap: 10px; border: 1px dashed var(--edge); padding: 32px; background: var(--panel); }.state .eyebrow { color: var(--accent); }.state button { border: 1px solid var(--edge); background: var(--panel); color: var(--ink); padding: 9px 15px; }
@media (min-width: 1000px) {
  .introduction { padding: 32px 0 22px; } h1 { font-size: clamp(5.5rem, 7vw, 6.5rem); }
  .entry { padding: 32px 36px; } #feature-art svg { height: clamp(230px, 18vw, 270px); } .collection-heading { margin-top: 34px; }
}
@media (max-width: 800px) {
  .featured { grid-template-columns: 1.12fr 1fr; }.entry { padding: 22px; }.sheet { width: 94%; }.tour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.entry-foot { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(3.3rem, 17.5vw, 4.4rem); }
  .masthead { min-height: 58px; }.brand { font-size: 17px; gap: 6px; }.brand img { width: 26px; height: 26px; }.contribute { font-size: .72rem; }
  .introduction, .featured { display: block; }.introduction { padding: 24px 0 20px; }.lede { margin-top: 10px; max-width: 40ch; font-size: .92rem; }.eyebrow { font-size: .61rem; }
  .mount { padding: 13px 15px 2px; }.sheet { min-height: 0; width: 93%; margin: 13px auto 3px; }#feature-art { padding: 12px 0; }#feature-art svg { height: 172px; }.tools { margin-top: 4px; }.fig { font-size: .72rem; }
  .entry { padding: 18px; }.entry h2 { margin: 7px 0 3px; font-size: 2.45rem; }.description { margin: 8px 0 12px; }.stats { padding-top: 10px; }.units { margin-bottom: 8px; }.entry-foot { padding-top: 7px; }
  .collection-heading { margin-top: 30px; }.index-note { display: none; }.tour-grid { gap: 18px 12px; }.card-art svg { height: 100px; width: 100%; }.card-title { font-size: 1.18rem; }.card-meta { display: grid; }.figures { font-size: .62rem; }.card-id { left: 6px; }.card-art { padding-top: 24px; }
  .colophon { margin: 30px 0; padding: 20px 0; align-items: start; }.footer { display: block; padding: 18px 0; }.footer nav { margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) { #trace { display: none; }.tools { justify-content: flex-end; } }
