:root {
  color-scheme: dark;
  --desk: #19262c;
  --ink: #202d2b;
  --paper: #e5e8d9;
  --muted: #b5c5c7;
  --foreground: #f0f2ea;
  --accent: #c9e1a6;
  --rule: #43545a;
  font-family: system-ui, sans-serif;
  background: var(--desk);
  color: var(--foreground);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid #9edcff; outline-offset: 4px; }
.masthead {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
}
.wordmark { font-weight: 700; display: inline-flex; gap: 11px; align-items: center; }
.mark { width: 12px; height: 12px; border: 2px solid var(--accent); rotate: 45deg; }
.case-id, .location, .fiction, .connection { color: var(--muted); font-size: .86rem; }
main { width: min(1120px, calc(100% - 64px)); margin: auto; }
.desk {
  padding: clamp(44px, 8vw, 108px) 0 clamp(40px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .86fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}
.location { margin: 0 0 13px; }
h1, h2 { font-family: Charter, Georgia, serif; font-weight: 400; }
h1 { margin: 0; font-size: clamp(4rem, 8.3vw, 7.6rem); line-height: .88; letter-spacing: -.065em; }
.lede { font-size: clamp(1rem, 2vw, 1.24rem); max-width: 31ch; line-height: 1.57; margin: 24px 0 33px; }
.contact { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 15px 0; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; }
.contact div { display: grid; gap: 3px; }
.contact div span { color: var(--muted); font-size: .83rem; }
.connection { margin: 0; width: 100%; overflow-wrap: anywhere; }
.call, button { border: 0; border-radius: 3px; background: var(--accent); color: var(--ink); padding: 11px 14px; text-decoration: none; font: 650 .87rem system-ui, sans-serif; cursor: pointer; }
.call:hover, button:hover { background: #e2f2cc; }
.fiction { margin: 16px 0 0; line-height: 1.5; }
.exhibit { background: var(--paper); color: var(--ink); padding: clamp(18px, 3vw, 36px); box-shadow: 0 18px 50px #0b141880; border-top: 7px solid #668172; }
.paper-heading { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.paper-heading p { font-size: .72rem; font-weight: 650; margin: 0 0 5px; }
.paper-heading h2 { margin: 0; font-size: clamp(1.85rem, 4vw, 3.05rem); line-height: 1; }
.stamp { color: #345f50; border: 2px solid; padding: 5px 7px; font-size: .75rem; font-weight: 750; rotate: 5deg; flex-shrink: 0; }
.reference { border-block: 1px solid #87938a; margin: 25px 0 18px; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 8px; padding: 11px 0; }
.reference dt { font-size: .69rem; color: #43574e; }
.reference dd { margin: 4px 0 0; font-size: .82rem; font-weight: 680; }
table { border-collapse: collapse; text-align: left; width: 100%; font-size: .85rem; }
caption { text-align: left; font-size: .72rem; margin-bottom: 8px; }
th, td { border-bottom: 1px solid #a4afa3; padding: 10px 4px; }
th { color: #43574e; font-size: .72rem; }
td:first-child, .seal { font-variant-numeric: tabular-nums; }
.seal { font-weight: 750; letter-spacing: .05em; }
.signed { display: grid; gap: 5px; width: 137px; margin: 32px 0 22px; font-size: .7rem; }
.signature { font-family: "Snell Roundhand", Charter, Georgia, serif; font-size: 1.55rem; font-style: italic; border-bottom: 1px solid #87938a; color: #304d41; }
.paper-foot { font-size: .67rem; margin: 0; color: #43574e; }
.practice { border-top: 1px solid var(--rule); padding: 22px 0 60px; max-width: 740px; }
.practice-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.practice h2 { font-size: 2rem; margin: 0; }
.practice-header p { color: var(--muted); margin: 6px 0 14px; }
.reset { background: transparent; border: 1px solid var(--muted); color: var(--foreground); }
.reset:hover { background: var(--rule); }
.transcript { border: 1px solid var(--rule); max-height: 310px; overflow-y: auto; padding: 4px 14px; margin-bottom: 17px; }
.transcript p { line-height: 1.5; overflow-wrap: anywhere; }
.transcript strong { display: block; font-size: .75rem; color: var(--accent); }
form label { display: block; font-size: .83rem; margin-bottom: 6px; }
.form-row { display: flex; gap: 8px; }
input { font: inherit; color: var(--foreground); background: #26373e; border: 1px solid var(--muted); border-radius: 3px; padding: 10px; flex: 1; min-width: 0; }
@media (max-width: 720px) {
  .masthead, main { width: calc(100% - 36px); }
  .desk { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.6rem, 13vw, 5.8rem); }
}
