:root {
  --paper: #f7f6f1;
  --ink: #20211c;
  --muted: #595b53;
  --orange: #ff653c;
  --line: #cecec3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier New", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #974415; outline-offset: 5px; }
.wrap { width: min(1180px, 89%); margin-inline: auto; }
.site-header, nav, .brand, .eyebrow, .section-heading, .sample, footer, .poster-top, figcaption,
.proof-header, .range-label { display: flex; align-items: center; }
.site-header, footer, .poster-top, figcaption, .proof-header, .range-label { justify-content: space-between; }
.site-header { min-height: 78px; border-bottom: 1px solid var(--line); gap: 1rem; }
.brand { font: bold 2.1rem/1 Arial, sans-serif; letter-spacing: -.085em; }
.brand-dot { color: #d64a26; }
.mark { width: 29px; height: 27px; margin-right: 10px; background: repeating-linear-gradient(0deg, var(--ink) 0 5px, transparent 5px 9px); transform: skew(-20deg); }
nav { gap: clamp(.95rem, 3vw, 2.4rem); }
nav a { padding: .35rem 0; color: var(--muted); font-size: .91rem; }
nav a[aria-current], nav a:hover { color: var(--ink); }
nav a[aria-current] { box-shadow: 0 2px var(--ink); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7%; padding-block: clamp(2.8rem, 6vw, 5.7rem); }
.eyebrow { margin: 0; gap: .7rem; font-size: .86rem; font-weight: 600; }
.accent-line { width: 28px; height: 3px; background: var(--orange); }
.hero h1 { margin: .3em 0 .22em -.045em; font: 500 clamp(5.1rem, 8.4vw, 8rem)/.85 var(--serif); letter-spacing: -.08em; }
.hero h1 em { font-weight: 400; }
.description, .lab-intro { color: var(--muted); line-height: 1.6; font-size: 1.065rem; }
.description { max-width: 25rem; margin: 1.6rem 0; }
.button { display: inline-block; padding: .8rem 1.3rem; background: var(--ink); color: #fff; border-radius: 4px; font-size: .93rem; }
.button:hover { background: #3e4037; }
.poster { margin: 0; background: var(--orange); color: #231e19; aspect-ratio: 1.14; position: relative; overflow: hidden; isolation: isolate; }
.poster-top, figcaption { position: absolute; z-index: 1; left: 6%; right: 6%; }
.poster-top { top: 5%; padding-bottom: 2.8%; border-bottom: 1px solid currentColor; }
.poster-top b, .proof-header b { font: bold 1.1rem/1 var(--sans); letter-spacing: -.07em; }
.poster-top b sup { font-size: .5em; vertical-align: top; }
.poster-top > span, .proof-header > span { font: 600 .76rem/1.2 var(--mono); }
.poster-print { position: absolute; inset: 17% 2% 19%; overflow: hidden; }
.poster-print img, .tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.poster-print img + .poster-drawing, .tile img + span { display: none; }
/* Two overlapping sets of elliptical rings form the printed specimen. */
.rings { position: absolute; top: 7%; height: 86%; width: 61%; border-radius: 50%; background: repeating-radial-gradient(ellipse closest-side, #231e19 0 3.5%, transparent 4% 8%); }
.rings-one { left: 7%; transform: rotate(-34deg); }
.rings-two { right: 7%; transform: rotate(-34deg); }
figcaption { bottom: 5%; align-items: baseline; gap: .4rem; border-top: 1px solid currentColor; padding-top: 3%; }
figcaption strong { font: italic clamp(1.25rem, 2.6vw, 2.35rem)/1 var(--serif); letter-spacing: -.06em; }
figcaption span { font-size: .78rem; }
.collection { padding-block: .15rem 3.8rem; }
.section-heading { gap: 1.3rem; margin-bottom: 1.2rem; }
.section-heading h2 { font-size: 1.2rem; margin: 0; }
.rule { height: 1px; flex: 1; background: var(--line); }
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.sample { padding: .9rem; border: 1px solid var(--line); gap: 1.1rem; }
.sample:hover { border-color: var(--ink); }
.tile { display: grid; place-items: center; width: 4.1rem; height: 4.1rem; overflow: hidden; flex: none; font-size: 2rem; line-height: 1; letter-spacing: -.08em; }
.tile-serif { font-family: var(--serif); font-style: italic; background: #e6ddd0; }
.tile-sans { font-family: var(--sans); font-weight: bold; background: #dce3c2; }
.tile-mono { font-family: var(--mono); background: #dfdcf0; }
.sample b, .sample small { display: block; }
.sample b { font-size: 1.12rem; }
.sample small, footer { color: var(--muted); font-size: .86rem; }
footer { border-top: 1px solid var(--line); padding-block: 1.4rem; gap: .6rem; }
.lab { padding-block: clamp(2.8rem, 6vw, 5.2rem); }
.lab h1 { margin: .25em 0; font-size: clamp(2.25rem, 5.5vw, 5rem); letter-spacing: -.055em; line-height: 1.2; }
.lab-intro { margin: 0 0 2rem; }
.workbench { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.4fr); gap: 2rem; align-items: start; }
.controls { display: grid; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.controls label { font-weight: 600; font-size: .95rem; }
.controls select { padding: .65rem; font: inherit; border: 1px solid var(--line); background: white; color: var(--ink); }
.range-label { margin-top: 1.25rem; }
.range-label output { font-family: var(--mono); }
.controls input { width: 100%; margin: 0; min-height: 28px; accent-color: var(--ink); }
.proof { padding: clamp(1.3rem, 3vw, 2.5rem); background: var(--orange); min-height: 21rem; display: flex; flex-direction: column; }
.proof-header { gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--ink); }
#specimen { font-size: 64px; line-height: 1.05; letter-spacing: -.04em; overflow-wrap: anywhere; margin: auto 0; padding-block: 1.5rem; }
[data-face="serif"] { font-family: var(--serif); }
[data-face="sans"] { font-family: var(--sans); }
[data-face="mono"] { font-family: var(--mono); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: clamp(5.3rem, 17vw, 7rem); }
  .poster { max-width: 560px; width: 100%; }
  .samples { grid-template-columns: 1fr; gap: .6rem; }
  .workbench { grid-template-columns: 1fr; }
  .lab .controls { max-width: 26rem; }
}
@media (max-width: 420px) {
  .wrap { width: 91%; }
  .site-header { min-height: 65px; }
  .brand { font-size: 1.7rem; }
  .mark { width: 20px; height: 21px; margin-right: 6px; }
  nav a { font-size: .8rem; }
}
