:root {
  color-scheme: light;
  --paper: #f1eadc;
  --ink: #211e19;
  --secondary: #575047;
  --line: #c9b9a6;
  --rose: #9d4d54;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Baskerville, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 'Gill Sans', 'Trebuchet MS', sans-serif;
}
a { color: inherit; text-underline-offset: .27em; }
button { font: inherit; }
:focus-visible { outline: 2px solid #793941; outline-offset: 4px; }
.sheet { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.folio, .figure-caption, .colophon {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 10px/1.5 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.folio { min-height: 65px; align-items: center; border-bottom: 1px solid var(--line); }
.folio span { display: flex; align-items: center; gap: 10px; }
.folio i { display: inline-block; width: 20px; height: 1px; background: var(--line); }
.folio a { text-decoration: none; }
.folio a:hover, .colophon a:hover { color: var(--rose); text-decoration: underline; }
.title-row {
  display: grid;
  grid-template-columns: 1fr 285px;
  gap: 32px;
  align-items: end;
  padding: clamp(25px, 5vw, 54px) 0 clamp(21px, 3vw, 35px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px;
  color: var(--secondary);
  font: 10px/1.5 var(--mono);
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: var(--rose); }
h1, h2, p, figure { margin: 0; }
h1 {
  font: 400 clamp(63px, 9vw, 130px)/.82 var(--serif);
  letter-spacing: -.071em;
}
h1 em { color: #874349; font-weight: 400; }
.intro { max-width: 275px; padding-block: 0 4px; color: var(--secondary); font: 400 17px/1.36 var(--serif); }

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  column-gap: 32px;
  border-top: 1px solid var(--ink);
  padding-top: 13px;
}
.plate { min-width: 0; }
.specimen {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #b3a08b;
  overflow: hidden;
}
.specimen canvas, .specimen img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.specimen img { object-fit: cover; }
.figure-caption { padding-top: 11px; color: var(--secondary); }

.bench-notes {
  display: grid;
  gap: 24px;
  padding: 10px 0 0 16px;
  border-left: 1px solid var(--line);
}
.bench-notes h2 { margin: 0 0 7px; font: 400 27px/1.1 var(--serif); letter-spacing: -.03em; }
.bench-notes p { color: var(--secondary); }
.switches { display: grid; gap: 13px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .dimensions {
  padding: 0;
  margin-bottom: 5px;
  font: 10px/1.5 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.control-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.control-row button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px solid #a69480;
  min-height: 44px;
  padding: 4px 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.control-row button:hover { border-color: var(--ink); }
.control-row button[aria-pressed="true"] { background: #342e28; color: #f9f2e7; border-color: #342e28; }
.swatch { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #986d62; }
.swatch.clay { background: #ab686a; }
.swatch.master { background: #e2c6a3; }
.profile { margin: 0; border-top: 1px solid var(--line); }
.profile div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 33px;
  border-bottom: 1px solid var(--line);
  font: 11px/1.4 var(--mono);
}
.profile dt { display: flex; align-items: center; gap: 9px; }
.profile dd { margin: 0; font-variant-numeric: tabular-nums; }
.profile small { font-size: inherit; color: var(--secondary); }
.profile-dot { display: inline-block; width: 12px; height: 3px; }
.profile-dot.sea { background: #3b6b64; }
.profile-dot.sky { background: #679ab0; }
.profile-dot.rose { background: #a4545c; }
.downloads p { font-size: 12px; }
.downloads .dimensions { margin: 7px 0 9px; font-size: 10px; }
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 7px 13px;
  background: #813e45;
  color: #fff9ed;
  text-decoration: none;
}
.download:hover { background: #6a3039; }
.download span { font-size: 19px; }
.colophon {
  justify-content: flex-start;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding: 15px 0 27px;
}
.colophon a { text-decoration: none; }

@media (max-width: 880px) {
  .sheet { width: calc(100% - 48px); }
  .title-row, .workbench { grid-template-columns: minmax(0, 1fr) 233px; gap: 20px; }
  .bench-notes { gap: 18px; padding-left: 13px; }
}
@media (max-width: 640px) {
  .sheet { width: calc(100% - 32px); }
  .folio { min-height: 54px; }
  .title-row, .workbench { grid-template-columns: 1fr; }
  .title-row { gap: 16px; }
  h1 { font-size: clamp(49px, 12.8vw, 78px); }
  .intro { padding: 0; }
  .bench-notes { border: 0; border-top: 1px solid var(--line); padding: 15px 0 0; }
  .switches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
