/* Block: the design tokens. A white page, black type, and nothing else of its own: every color on
   the page comes from a Splash, row by row. */
:root {
  --paper: #fbfaf7;
  --paper-2: #f2f0eb;
  --ink: #141312;
  --ink-2: #4a4741;
  --ink-3: #75716a;
  --rule: rgba(20, 19, 18, 0.14);
  --rule-strong: rgba(20, 19, 18, 0.55);
  --lift: rgba(20, 19, 18, 0.05);
  --note: #c8361d;
  --display: "League Gothic", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --text: "Libre Franklin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: 16px;
  --wide: 1240px;
  --measure: 34rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;

  /* What the Manual reads */
  --d-font-display: var(--display);
  --d-font-text: var(--text);
  --d-font-ui: var(--text);
  --d-font-mono: var(--mono);
  --d-bg: var(--paper);
  --d-bg-2: var(--paper-2);
  --d-surface: var(--paper);
  --d-ink: var(--ink);
  --d-ink-2: var(--ink-2);
  --d-muted: var(--ink-3);
  --d-line: var(--rule);
  --d-line-strong: var(--rule-strong);
  --d-accent: var(--ink);
  --d-accent-ink: var(--paper);
  --d-focus: var(--ink);
  --d-stage-1: var(--paper);
  --d-stage-2: var(--paper-2);
  --d-night-1: #1c1b19;
  --d-night-2: #0d0d0c;
  --d-night-ink: #f3f1ec;
  --d-night-ink-2: #c9c5bd;
  --d-shadow: none;
  --d-step--2: 0.75rem;
  --d-step--1: 0.875rem;
  --d-step-0: 1rem;
  --d-step-1: 1.1875rem;
  --d-step-2: 1.75rem;
  --d-step-3: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
  --d-step-4: clamp(3rem, 1.9rem + 5.2vw, 6rem);
  --d-step-5: clamp(3.75rem, 1.8rem + 10vw, 10rem);
  --d-leading-display: 0.9;
  --d-leading-text: 1.55;
  --d-tracking-label: 0.06em;
  --d-space-1: 4px;
  --d-space-2: 8px;
  --d-space-3: 12px;
  --d-space-4: 16px;
  --d-space-5: 24px;
  --d-space-6: 32px;
  --d-space-7: 48px;
  --d-space-8: 72px;
  --d-space-9: 112px;
  --d-gutter: var(--gutter);
  --d-measure: var(--measure);
  --d-radius-s: 0;
  --d-ease: var(--ease);
  --d-dur-fast: 140ms;
  --d-dur: 280ms;
  --d-dur-slow: 600ms;
}
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d0d0c;
    --paper-2: #181816;
    --ink: #f3f1ec;
    --ink-2: #c9c5bd;
    --ink-3: #8f8b83;
    --rule: rgba(243, 241, 236, 0.14);
    --rule-strong: rgba(243, 241, 236, 0.5);
    --lift: rgba(243, 241, 236, 0.06);
    --note: #ff7a5c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d0d0c;
  --paper-2: #181816;
  --ink: #f3f1ec;
  --ink-2: #c9c5bd;
  --ink-3: #8f8b83;
  --rule: rgba(243, 241, 236, 0.14);
  --rule-strong: rgba(243, 241, 236, 0.5);
  --lift: rgba(243, 241, 236, 0.06);
  --note: #ff7a5c;
  color-scheme: dark;
}


/* Two faces by Morris Fuller Benton, cut a year apart for American Type Founders. League Gothic
   revives his Alternate Gothic (1903), drawn in three widths so a headline could fill a newspaper
   column exactly, which is what every name here does. Libre Franklin revives his Franklin Gothic
   (1902) for the reading. Both are under the SIL Open Font License, in fonts/. */
@font-face {
  font-family: "League Gothic";
  src: url("/fonts/league-gothic-latin.woff2") format("woff2");
  font-weight: 400;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* The page around everything: the reset, type, the header, and the footer. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 64px;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--text);
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
}
main {
  flex: 1 0 auto;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus {
  left: 8px;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The header: a name, a few words, and the color button. */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.is-scrolled .site-head {
  border-bottom-color: var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  font: 400 28px/1 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0 4px;
}
.brand-mark {
  width: 16px;
  height: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  transform: translateY(-1px);
}
.brand-mark i {
  background: currentColor;
}
.brand-mark i:nth-child(2) {
  opacity: 0.55;
}
.brand-mark i:nth-child(3) {
  opacity: 0.3;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-nav .nav-word {
  display: none;
  padding: 8px 10px;
  font: 400 21px/1 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav .nav-word[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border: 0;
  background: none;
  cursor: pointer;
  gap: 6px;
  grid-auto-flow: column;
  text-decoration: none;
}
.icon-button svg {
  width: 20px;
  height: 20px;
}
.icon-button .icon-say {
  display: none;
  font: 500 0.8125rem/1 var(--text);
  letter-spacing: 0.01em;
}
.go-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  margin-left: 4px;
  border: 1.5px solid var(--ink);
  font: 400 19px/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.go-play:hover {
  background: var(--ink);
  color: var(--paper);
}
.site-menu {
  position: static;
}
.site-menu summary {
  list-style: none;
  cursor: pointer;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu-panel {
  position: absolute;
  right: var(--gutter);
  top: 50px;
  width: min(300px, calc(100vw - 32px));
  padding: 10px 0;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  display: grid;
}
.site-menu-panel a {
  padding: 10px 18px;
  font: 400 30px/1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}
.site-menu-panel a:hover {
  background: var(--lift);
}
@media (max-width: 359px) {
  .go-play {
    display: none;
  }
}
@media (min-width: 900px) {
  .site-nav .nav-word {
    display: inline-block;
  }
  .site-menu {
    display: none;
  }
  .icon-button .icon-say {
    display: inline;
  }
}

/* The footer: the name as a block, the links, and the credit row last. */
.site-foot {
  margin-top: 96px;
  padding: 0 var(--gutter) 28px;
  border-top: 1.5px solid var(--ink);
}
.foot-inner {
  max-width: var(--wide);
  margin: 0 auto;
}
.foot-mark {
  display: block;
  width: 100%;
  aspect-ratio: 1000 / 300;
  margin: 28px 0 24px;
  background: var(--ink);
  -webkit-mask: var(--w) center / 100% auto no-repeat;
  mask: var(--w) center / 100% auto no-repeat;
}
.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 0 28px;
}
.foot-cols nav {
  display: grid;
  gap: 2px;
  align-content: start;
}
.foot-cols h2 {
  margin: 0 0 6px;
  font: 600 0.75rem/1.2 var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot-cols a {
  font: 400 24px/1.15 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  padding: 3px 0;
}
.foot-cols a:hover {
  text-decoration: underline;
}
.fine {
  margin: 0 0 22px;
  max-width: 44rem;
  color: var(--ink-3);
  font-size: 0.8125rem;
}
@media (min-width: 720px) {
  .foot-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-credit {
  --credit-ink: var(--ink);
  --credit-muted: var(--ink-3);
  --credit-line: var(--rule-strong);
  --credit-accent: var(--ink);
  --credit-heart: var(--note);
  --credit-hover: var(--lift);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.site-credit-made {
  margin: 0;
  color: var(--credit-ink);
  font-weight: 600;
}
.site-credit-made a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--credit-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.site-credit-social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-credit-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--credit-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.site-credit-social a:hover {
  color: var(--credit-ink);
  background: var(--credit-hover);
}
.site-credit-social svg {
  width: 19px;
  height: 19px;
}
.site-credit-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--credit-line);
  color: var(--credit-ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.site-credit-sponsor svg {
  width: 17px;
  height: 17px;
  color: var(--credit-heart);
}
.site-credit-sponsor:hover {
  border-color: var(--credit-ink);
  background: var(--credit-hover);
}
.site-credit a:focus-visible {
  outline: 2px solid var(--credit-accent);
  outline-offset: 2px;
}
@media (max-width: 720px) {
  .site-credit-sponsor {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-credit a {
    transition: none;
  }
}
