@font-face {
  font-family: "Patro";
  src: url("/fonts/Patro.woff2") format("woff2"),
       url("/fonts/Patro.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url("/fonts/Geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Geist;
  src: url("/fonts/Geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #111111;
  --cream: #f3efe6;
  --muted: #9a958c;
  --line: rgba(243, 239, 230, 0.14);
  --red: #e23b2a;
  --plaster: #e6e0d4;
  --cobalt: #1d4e89;
  --sheet: #e7e1d6;
  --grid-teal: rgba(90, 122, 116, 0.55);
  --dock: rgba(17, 17, 17, 0.9);
  --nav-h: 76px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.is-loading { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Geist, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

button,
input { font: inherit; color: inherit; }

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.live-type,
.alt-sample,
.editor,
.glyph,
.poster,
.get-word {
  font-family: "Patro", sans-serif;
  font-weight: 700;
  font-synthesis: none;
}

body[data-ss01="on"] .live-type {
  font-feature-settings: "ss01" 1;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--cream);
  color: #141413;
  padding: 8px 12px;
  z-index: 40;
}

.skip:focus { top: 10px; }

/* Navigation */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: max-content;
  max-width: calc(100% - 20px);
  height: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 14px;
  background: var(--dock);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  overflow-x: auto;
}

.nav.is-min {
  background: rgba(17, 17, 17, 0.96);
}

.brand {
  display: flex;
  align-items: baseline;
  flex: 0 0 auto;
  padding: 0 10px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  line-height: 1.05;
}

.brand-name {
  font-size: 14px;
  font-weight: 520;
  letter-spacing: 0;
}

.brand-meta {
  display: block;
  min-width: 0;
  max-width: var(--meta, 8rem);
  margin-left: 8px;
  overflow: hidden;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  opacity: 1;
  transition: max-width 1.15s cubic-bezier(0.22, 0.7, 0.3, 1), margin-left 1.15s cubic-bezier(0.22, 0.7, 0.3, 1), opacity 0.85s ease;
}

.nav.is-min .brand-meta {
  max-width: 0;
  min-width: 0;
  margin-left: 0;
  opacity: 0;
  transition: max-width 0.4s ease, margin-left 0.4s ease, opacity 0.25s ease;
}

.nav-next {
  display: block;
  min-width: 0;
  max-width: var(--next, 18rem);
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
  transition: max-width 1.15s cubic-bezier(0.22, 0.7, 0.3, 1), opacity 0.85s ease, padding 1.15s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.nav-next span {
  min-width: 0;
  overflow: hidden;
}

.nav-next:hover { color: white; background: rgba(255, 255, 255, 0.08); }

.nav-links {
  display: block;
  min-width: 0;
  max-width: var(--links, 18rem);
  margin: 0;
  padding-right: 6px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: max-width 1.15s cubic-bezier(0.22, 0.7, 0.3, 1), opacity 0.85s ease, padding 1.15s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.nav-row {
  display: flex;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.nav-links a {
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: #cfcabe;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover { color: white; background: rgba(255, 255, 255, 0.1); }
.nav-links a.is-on { color: white; background: rgba(255, 255, 255, 0.16); }

.nav-download {
  flex: 0 0 auto;
  text-decoration: none;
  background: var(--cream);
  color: #161616;
  font-size: 12px;
  font-weight: 560;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-download:hover { background: var(--red); color: var(--cream); }
.nav-download.is-on { background: white; }

/* Stage */

.stage {
  scroll-margin-top: var(--nav-h);
  --plate: #161616;
  --ink: #f3efe6;
  --grid: rgba(243, 239, 230, 0.16);
  --rim: rgba(243, 239, 230, 0.18);
  --quiet: rgba(243, 239, 230, 0.66);
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 7vw 124px;
  background: var(--plate);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rim);
  cursor: text;
  overflow: hidden;
  transition: opacity 0.7s ease;
}

html.is-loading .stage { opacity: 0; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: #111111;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.18, 1);
}

.loader.is-leave { transform: translateY(-100%); }

.loader-plate { text-align: center; }

.loader-word {
  margin: 0;
  font-size: clamp(64px, 12vw, 148px);
  line-height: 0.84;
  letter-spacing: 0.2em;
  animation: loader-track 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loader-rule {
  display: block;
  width: min(46vw, 320px);
  height: 1px;
  margin: 18px auto 0;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: center;
  animation: loader-rule 0.7s 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes loader-track { to { letter-spacing: 0; } }
@keyframes loader-rule { to { transform: scaleX(1); } }

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}

html.is-loading .nav .brand,
html.is-loading .nav-next,
html.is-loading .nav-links a,
html.is-loading .nav-download { opacity: 0; }

html.is-on .nav .brand { animation: nav-drop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
html.is-on .nav-next { animation: nav-drop 0.7s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both; }
html.is-on .nav-row a:nth-child(1) { animation: nav-drop 0.7s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both; }
html.is-on .nav-row a:nth-child(2) { animation: nav-drop 0.7s 0.17s cubic-bezier(0.22, 1, 0.36, 1) both; }
html.is-on .nav-row a:nth-child(3) { animation: nav-drop 0.7s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both; }
html.is-on .nav-row a:nth-child(4) { animation: nav-drop 0.7s 0.27s cubic-bezier(0.22, 1, 0.36, 1) both; }
html.is-on .nav-download { animation: nav-drop 0.7s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.stage[data-ink="rouge"] {
  --plate: #e6e0d4;
  --ink: #e23b2a;
  --grid: rgba(20, 20, 19, 0.12);
  --rim: rgba(20, 20, 19, 0.18);
  --quiet: #7a241c;
}

.stage[data-ink="brick"] {
  --plate: #e23b2a;
  --ink: #141413;
  --grid: rgba(20, 20, 19, 0.16);
  --rim: rgba(20, 20, 19, 0.28);
  --quiet: rgba(20, 20, 19, 0.72);
}

.stage[data-ink="cislo"] {
  --plate: #f4f0e6;
  --ink: #1d4e89;
  --grid: rgba(29, 78, 137, 0.18);
  --rim: rgba(29, 78, 137, 0.28);
  --quiet: #163e6e;
}

.stage[data-ink="paper"] {
  --plate: #efeae1;
  --ink: #171715;
  --grid: rgba(90, 122, 116, 0.55);
  --rim: rgba(20, 20, 19, 0.16);
  --quiet: rgba(20, 20, 19, 0.62);
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 42%, transparent 80%);
  pointer-events: none;
}

.plate-name {
  position: absolute;
  top: 78px;
  right: 22px;
  margin: 0;
  z-index: 2;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--quiet);
  pointer-events: none;
}

.hint {
  position: absolute;
  top: 76px;
  left: 46px;
  margin: 0;
  z-index: 2;
  font-size: 13px;
  color: var(--cream);
  background: rgba(17, 17, 17, 0.78);
  border-radius: 6px;
  padding: 4px 8px;
  pointer-events: none;
}

.hint.is-gone { display: none; }

.editor {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 100%;
  text-align: center;
  white-space: pre;
  font-size: clamp(48px, 10vw, 140px);
  line-height: var(--lead, 0.9);
  letter-spacing: var(--track, 0em);
  caret-color: var(--red);
  outline: none;
}

.stage[data-ink="brick"] .editor,
.stage[data-ink="paper"] .editor { caret-color: var(--ink); }

.editor:focus-visible {
  outline: none;
}

html.plate-locked .stage { cursor: default; }
html.plate-locked .hint { display: none; }

.screw {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #f4f0e6, #8a857c 42%, #2c2b28 74%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45), 0 1px 1px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.screw::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 1.5px;
  background: rgba(20, 20, 19, 0.72);
  transform: translateY(-50%) rotate(-28deg);
}

.s1 { top: 22px; left: 22px; }
.s2 { top: 22px; right: 22px; }
.s3 { bottom: 22px; left: 22px; }
.s4 { bottom: 22px; right: 22px; }

.dock {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 20px);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 14px;
  background: var(--dock);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  overflow-x: auto;
  cursor: default;
}

.inks {
  display: flex;
  gap: 2px;
  padding-right: 6px;
  border-right: 1px solid var(--line);
}

.ink {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.ink::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.ink[data-ink="noir"]::before { background: #161616; box-shadow: inset 0 0 0 1px #f3efe6; }
.ink[data-ink="rouge"]::before { background: #e6e0d4; box-shadow: inset 0 0 0 3px #e23b2a; }
.ink[data-ink="brick"]::before { background: #e23b2a; box-shadow: inset 0 0 0 1px #141413; }
.ink[data-ink="cislo"]::before { background: #1d4e89; }
.ink[data-ink="paper"]::before { background: #efeae1; box-shadow: inset 0 0 0 1px #171715; }

.ink[aria-checked="true"] { background: rgba(255, 255, 255, 0.1); }

.slider {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 8px 4px;
  font-size: 11px;
  color: #c8c3b8;
  min-width: 108px;
}

.slider output { color: white; font-variant-numeric: tabular-nums; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  margin: 6px 0 0;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 99px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  cursor: pointer;
}

.dock-toggle {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.dock-toggle[aria-pressed="true"] {
  background: var(--cream);
  color: #161616;
}

.missing {
  margin: 0;
  padding: 0 8px;
  font-size: 12px;
  color: #ffb4a8;
  white-space: nowrap;
}

/* Sections */

.block { padding: 72px 0 24px; }

.sec-head {
  padding: 0 7vw 18px;
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.sec-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.sec-lead {
  margin: 0;
  color: #d9d4ca;
  font-size: 17px;
  max-width: 46ch;
}

.rail {
  overflow: hidden;
  padding: 8px 0 28px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.rail.is-dragging { cursor: grabbing; }

.rail-track {
  display: flex;
  gap: 14px;
  width: max-content;
}

.mini {
  position: relative;
  flex: 0 0 auto;
  width: min(420px, 78vw);
  height: 230px;
  border-radius: 2px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mini-text {
  font-family: "Patro", sans-serif;
  font-weight: 700;
  font-synthesis: none;
  line-height: 0.88;
  letter-spacing: 0;
  white-space: pre;
  text-align: center;
  width: 100%;
}

.mini-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-family: Geist, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0;
  text-align: center;
}

.mini-add {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  border: 0;
  border-radius: 8px;
  background: #111111;
  color: #f3efe6;
  font-family: Geist, "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.mini:hover .mini-add,
.mini:focus-within .mini-add {
  opacity: 1;
  pointer-events: auto;
}

.mini:hover .mini-cap,
.mini:focus-within .mini-cap {
  opacity: 0;
}

.mini[data-ink="noir"] .mini-cap { color: rgba(243, 239, 230, 0.78); }
.mini[data-ink="rouge"] .mini-cap { color: #7a241c; }
.mini[data-ink="brick"] .mini-cap { color: rgba(20, 20, 19, 0.78); }
.mini[data-ink="cislo"] .mini-cap { color: #163e6e; }
.mini[data-ink="paper"] .mini-cap { color: rgba(20, 20, 19, 0.7); }

.mini[data-ink="noir"] { background: #161616; color: #f3efe6; }
.mini[data-ink="rouge"] { background: #e6e0d4; color: #e23b2a; }
.mini[data-ink="brick"] { background: #e23b2a; color: #141413; }
.mini[data-ink="cislo"] { background: #f4f0e6; color: #1d4e89; }
.mini[data-ink="paper"] { background: #efeae1; color: #171715; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, 0.12); }

.studies {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
  padding: 12px 7vw 20px;
}

.drawing {
  --h: 0.12;
  --drift: 0px;
}

.drawing-frame {
  padding: 8px 4vw 36px;
}

.drawing-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  transform: translate3d(0, var(--drift), 0);
}

.draw-letter {
  fill: var(--cream);
  stroke: var(--muted);
  stroke-width: 8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.draw-handle {
  transform-box: fill-box;
  transform-origin: var(--ox) var(--oy);
  transform: scale(var(--h));
}

.draw-handle line {
  stroke: #d9d4ca;
  stroke-width: 4.5;
  fill: none;
}

.draw-handle circle {
  fill: var(--bg);
  stroke: #d9d4ca;
  stroke-width: 4.5;
}

.draw-node {
  fill: var(--bg);
  stroke: var(--cream);
  stroke-width: 4.5;
}

.study { margin: 0; overflow: hidden; }

.study img { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.study:hover img { transform: scale(1.03); }

.study figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Letters */

.letters-top {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 12px;
  padding: 0 7vw;
}

.sheet {
  background: var(--sheet);
  color: #171715;
  padding: 22px 22px 28px;
}

.sheet-head,
.sheet-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #5e675f;
}

.sheet-head { margin-bottom: 8px; }
.sheet-label { margin: 18px 0 4px; }

.sheet-note {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.45;
  color: #3e463f;
  text-transform: none;
  letter-spacing: 0;
}

.glyphs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
}

.glyph {
  aspect-ratio: 0.82;
  border: 0;
  border-bottom: 1px solid var(--grid-teal);
  background: transparent;
  color: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.glyph:hover,
.glyph[aria-pressed="true"] {
  background: #161616;
  color: var(--cream);
}

.posters {
  display: grid;
  gap: 12px;
}

.poster {
  border: 0;
  background: #161616;
  color: var(--cream);
  min-height: 240px;
  font-size: clamp(96px, 12vw, 168px);
  line-height: 0.8;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 24px 8px 8px;
}

.poster:hover { color: white; }

.poster-sz { font-size: clamp(120px, 16vw, 220px); }

.inspector {
  margin: 12px 7vw 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 8px 28px 22px;
  background: #161616;
  border: 1px solid var(--line);
}

.inspector-char {
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.85;
  min-width: 1.2em;
  text-align: center;
}

.inspector-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

#inspectorCode { color: var(--cream); }

.inspector button,
#copyCss {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 13px;
}

.inspector button:hover,
#copyCss:hover { border-color: var(--cream); }

.waterfall {
  margin: 28px 7vw 0;
  border-top: 1px solid var(--line);
}

.waterfall p {
  margin: 0;
  padding: 0.16em 0 0.08em;
  border-bottom: 1px solid var(--line);
  line-height: 1.15;
  letter-spacing: 0;
  overflow: hidden;
  white-space: nowrap;
}

.places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 7vw 0;
  border-top: 1px solid var(--line);
}

.place {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  text-align: left;
  padding: 16px 0 14px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.9;
  letter-spacing: 0;
  cursor: pointer;
}

.place:hover { color: white; }

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 0 7vw;
  align-items: start;
}

.about-display {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 700;
}

.essay p {
  margin: 0 0 14px;
  max-width: 62ch;
  color: #ddd8ce;
  font-size: 16.5px;
}

.specs { margin: 6px 0 0; }

.specs div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.specs a { color: var(--cream); }

.alts {
  margin: 28px 7vw 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sheet);
  color: #171715;
}

.alts figure {
  margin: 0;
  padding: 18px 22px 10px;
}

.alts figure + figure { border-left: 1px solid rgba(20, 20, 19, 0.12); }

.alts figcaption {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #5e675f;
}

.alt-sample {
  margin: 8px 0 0;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: 0;
}

.alt-ss01 { font-feature-settings: "ss01" 1; }

/* Download */

.get {
  margin: 56px 7vw 28px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 520px;
  border: 1px solid var(--line);
}

.get-plate {
  background: #e64e3c;
  color: #141413;
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.get-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.get-word {
  margin: 0;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.8;
  letter-spacing: 0;
}

.get-note {
  margin: 0;
  max-width: 28ch;
  font-size: 15px;
}

.get-files {
  padding: 8px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.file {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) 1.4fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.file-name { font-weight: 560; }

.file-meta {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.file-go {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
}

.file:hover .file-name { color: #ffb1a4; }
.file:hover .file-go {
  background: var(--cream);
  color: #161616;
  border-color: var(--cream);
}

.snippet { margin-top: 22px; }

.snippet-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.snippet pre {
  margin: 10px 0 0;
  padding: 14px 16px;
  background: #0c0c0c;
  border: 1px solid var(--line);
  overflow-x: auto;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: #e6e1d6;
}

.colophon {
  padding: 10px 7vw 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 13px;
}

.colophon p { margin: 0; }
.colophon a { color: #d9d4ca; }
.colophon-quiet { width: 100%; }

.license {
  padding: 108px 7vw 88px;
  max-width: 860px;
}

.license-title {
  margin: 10px 0 18px;
  font-family: "Patro", sans-serif;
  font-weight: 700;
  font-synthesis: none;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.82;
  letter-spacing: 0;
}

.license-lead {
  margin: 0;
  max-width: 38ch;
  font-size: 18px;
  line-height: 1.45;
}

.license-facts {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 8px 18px;
  margin: 32px 0 48px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.license-facts dt {
  margin: 0;
  color: var(--muted);
}

.license-facts dd { margin: 0; }

.license-body h2 {
  margin: 36px 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.license-body p,
.license-body li {
  max-width: 62ch;
  color: #e6e1d6;
}

.license-body ol {
  margin: 0;
  padding-left: 1.2em;
}

.license-body li { margin: 0 0 12px; }

.license-body a { color: var(--cream); }

.license-foot {
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
}

.license-foot a { color: #d9d4ca; }

.year { scroll-margin-top: calc(var(--nav-h) + 12px); }

.year-title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 520;
  line-height: 1.05;
  letter-spacing: 0;
}

.year-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 7vw 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}

.year-list li {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 8px 18px;
  align-items: baseline;
  margin: 0;
  padding: 18px 0 16px;
  border-top: 1px solid var(--line);
}

.year-date {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 0.85;
  letter-spacing: 0;
  color: var(--cream);
}

.year-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.year-when {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.year-name {
  font-size: 17px;
  line-height: 1.3;
  color: #d9d4ca;
}

.year-list .is-past .year-date,
.year-list .is-past .year-name { color: var(--muted); }

.year-list .is-next .year-when,
.year-list .is-today .year-when { color: var(--red); }

.year-list .is-next .year-date,
.year-list .is-today .year-date { color: var(--cream); }

@media (max-width: 900px) {
  .letters-top,
  .about-grid,
  .get,
  .studies,
  .alts,
  .places,
  .year-list { grid-template-columns: 1fr; }

  .alts figure + figure { border-left: 0; border-top: 1px solid rgba(20, 20, 19, 0.12); }

  .get-files { padding: 8px 18px 22px; }

  .file { grid-template-columns: 1fr auto; }
  .file-meta { grid-column: 1 / -1; margin-top: -8px; white-space: normal; }
}

@media (max-width: 760px) {
  .nav,
  .nav.is-min {
    top: 10px;
    max-width: calc(100% - 16px);
    height: auto;
    flex-wrap: nowrap;
    padding: 6px;
    gap: 2px;
  }

  .nav.is-min .nav-links,
  .nav.is-min .nav-next {
    max-width: 0;
    min-width: 0;
    opacity: 0;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    pointer-events: none;
    transition: max-width 0.4s ease, opacity 0.25s ease, padding 0.4s ease;
  }

  .stage {
    min-height: 100svh;
    padding: 56px 16px 118px;
  }

  .s3, .s4 { bottom: 118px; }

  .dock {
    width: calc(100% - 16px);
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2px;
  }

  .inks { border-right: 0; }

  .hint { left: 16px; }
  .plate-name { right: 16px; top: 72px; }
  .hint { top: 70px; }

  .sec-head,
  .studies,
  .letters-top,
  .inspector,
  .waterfall,
  .places,
  .year-list,
  .about-grid,
  .alts,
  .colophon { padding-left: 16px; padding-right: 16px; }

  .places { margin-left: 0; margin-right: 0; }

  .get { margin-left: 16px; margin-right: 16px; }

  .inspector { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mini { transition: none; }
  .mini:hover { transform: none; }
  .drawing { --h: 1; --drift: 0px; }
  .drawing-svg { transform: none; }
  .loader { display: none; }
  .loader-word,
  .loader-rule { animation: none; letter-spacing: 0; transform: none; }
  .reveal,
  html.is-loading .stage { opacity: 1; transform: none; transition: none; }
  html.is-loading .nav .brand,
  html.is-loading .nav-next,
  html.is-loading .nav-links a,
  html.is-loading .nav-download { opacity: 1; transform: none; }
  .nav,
  .brand,
  .brand-name,
  .brand-meta,
  .nav-next,
  .nav-download,
  .nav-links,
  .nav-links a,
  .study img { transition: none; animation: none; }
}

@media (scripting: none) {
  .loader { display: none; }
  .reveal { opacity: 1; transform: none; }
}
