@font-face {
  font-family: Barlow Condensed;
  src: url('/assets/barlow-condensed.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Instrument Sans;
  src: url('/assets/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Instrument Sans;
  src: url('/assets/instrument-sans-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Mono;
  src: url('/assets/ibm-plex-mono.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #fbf5e9;
  --paper-light: #fffaf0;
  --ink: #252235;
  --muted: #544b58;
  --line: #c4b8ad;
  --cobalt: #1f4898;
  --cobalt-deep: #17346e;
  --charcoal: #27262b;
  --vermilion: #a9342b;
  --poster-red: #e74a36;
  --poster-blue: #243fca;
  --lime: #ddfa76;
  --pink: #ffacc8;
  --yellow: #f6c84b;
  --focus-ring: var(--cobalt-deep);
  --marker-line: url('/assets/marker-line.webp');
  --marker-overprint: url('/assets/marker-overprint.webp');
  --brush-edge: polygon(0 28%, 7% 17%, 17% 19%, 25% 10%, 39% 18%, 52% 6%, 67% 15%, 77% 10%, 89% 19%, 98% 12%, 100% 61%, 96% 80%, 85% 75%, 76% 85%, 65% 74%, 49% 90%, 35% 81%, 21% 94%, 11% 83%, 2% 92%);
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  min-width: 0;
  font-size: 1.0625rem;
  background-image: repeating-linear-gradient(0deg, transparent 0 4px, rgb(65 40 43 / .018) 4px 5px),
    repeating-linear-gradient(90deg, transparent 0 6px, rgb(65 40 43 / .012) 6px 7px);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-color: var(--link-line, var(--vermilion)); text-decoration-thickness: .11em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(77rem, calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .5rem 1rem; color: var(--ink); background: var(--yellow); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--paper-light); border-bottom: 3px solid var(--ink); }
.header-inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: .9rem 2rem; padding-block: .8rem; }
.brand { display: block; flex: 0 0 auto; padding: .35rem .45rem; background: var(--lime); border-radius: 1px 5px 3px 6px; }
.brand img { width: clamp(6rem, 12vw, 8.25rem); }
.site-header nav { min-width: 0; display: flex; gap: .6rem clamp(.65rem, 2vw, 1.5rem); flex-wrap: wrap; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .2rem clamp(.5rem, 1.6vw, 1rem);
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font: 800 clamp(1.15rem, 2vw, 1.55rem)/1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  transform: rotate(-2deg);
}
.site-header nav a:nth-child(2) { background: var(--pink); transform: rotate(2deg); }
.site-header nav a:nth-child(3) { background: var(--lime); transform: rotate(-1deg); }
.site-header nav a[aria-current] { color: var(--paper-light); background: var(--poster-blue); }
.site-header nav a:hover, .site-header nav a[aria-current] { text-decoration: underline; text-decoration-color: currentColor; }
.hero {
  background-image: radial-gradient(rgb(37 34 53 / .15) 1px, transparent 1px);
  background-size: 15px 15px;
  border-bottom: 3px solid var(--ink);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5.25rem);
  padding-block: clamp(2.5rem, 5vw, 4.75rem);
}
.hero-copy { min-width: 0; }
.hero-media { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; min-width: 0; }
.hero-media-inner { position: sticky; top: 1.5rem; }
.hero-wordmark {
  position: relative;
  width: min(calc(100% - .8rem), 32rem);
  padding: clamp(.6rem, 1.3vw, 1.1rem) clamp(.6rem, 1.5vw, 1.2rem) clamp(1.1rem, 2.9vw, 2.3rem);
  background: var(--lime);
  border: 3px solid var(--ink);
  box-shadow: .5rem .45rem 0 var(--ink);
  transform: rotate(-2deg);
}
.hero-wordmark img { width: 100%; }
.hero-wordmark::after {
  position: absolute;
  bottom: 0;
  left: 4%;
  width: 90%;
  height: clamp(.65rem, 1.8vw, 1.4rem);
  background: var(--marker-line) left center / 100% 100% no-repeat;
  content: "";
}
.hero-print {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 1.07;
  margin: .3rem .55rem 1rem .2rem;
  background: var(--poster-red);
  border: 3px solid var(--ink);
  box-shadow: .6rem .65rem 0 var(--poster-blue);
  transform: rotate(2deg);
}
.hero-print::before {
  position: absolute;
  z-index: -1;
  inset: 4% 6% 6% 6%;
  background: var(--paper-light);
  clip-path: polygon(0 13%, 76% 0, 100% 17%, 93% 89%, 20% 100%, 4% 81%);
  content: "";
}
.hero-paint { width: 90%; max-width: 31rem; }
.paint-canvas { position: absolute; inset: 3% 3% 6%; width: 94%; height: 91%; pointer-events: none; }
.is-painted .hero-paint { visibility: hidden; }
.print-motion {
  display: block;
  min-height: 2.75rem;
  margin: 1.35rem .35rem 0 auto;
  padding: .3rem .7rem;
  color: var(--ink);
  background: var(--paper-light);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--poster-blue);
  font: 500 .9rem/1.25 var(--mono);
  cursor: pointer;
}
.print-motion:hover, .print-motion[aria-pressed='true'] { background: var(--lime); }
.hero-entry {
  position: absolute;
  z-index: 1;
  bottom: clamp(.3rem, 1vw, .8rem);
  left: -1rem;
  display: grid;
  max-width: calc(100% + .7rem);
  padding: .1rem .85rem .55rem;
  color: var(--paper-light);
  background: var(--poster-blue);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  transform: rotate(-5deg);
}
.hero-entry:focus-visible { outline: 3px solid var(--paper-light); box-shadow: 0 0 0 8px var(--ink); }
.hero-entry strong { font: 800 clamp(2.5rem, 6vw, 5.75rem)/.9 var(--display); text-transform: uppercase; }
.hero-entry span { margin-top: .35rem; font-size: .98rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); }
.hero-entry:hover strong { text-decoration: underline; text-decoration-thickness: .065em; text-underline-offset: .09em; }
.eyebrow, .part, .result-count, .breadcrumb, .article-meta, .sense-details dt {
  font: 500 .875rem/1.55 var(--mono);
}
.eyebrow { text-transform: uppercase; letter-spacing: .1em; }
.hero-tagline { margin-top: 1.9rem; color: var(--ink); font: 800 clamp(3rem, 5.8vw, 6.05rem)/.84 var(--display); letter-spacing: -.018em; text-transform: uppercase; text-wrap: balance; text-shadow: .045em .04em 0 var(--pink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .56rem 1rem;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 1px 5px 2px 6px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #ffda71; text-decoration: underline; }
.button-outline { color: var(--ink); background: var(--pink); }
.button-outline:hover { color: var(--paper-light); background: var(--poster-blue); --link-line: var(--yellow); }
.introduction { grid-column: 1; display: grid; justify-items: start; gap: 1.5rem; min-width: 0; }
.introduction h2, .section-heading h2 { color: var(--cobalt-deep); font: 800 clamp(2.6rem, 6vw, 5.4rem)/.9 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
.introduction h2 { align-self: start; justify-self: start; max-width: 100%; padding: .75rem 1rem .9rem; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-2deg); }
.introduction h2::after {
  display: block;
  width: min(75%, 13rem);
  aspect-ratio: 720 / 234;
  margin-top: .7rem;
  background: var(--marker-overprint) center / contain no-repeat;
  content: "";
}
.introduction .prose { padding: clamp(1rem, 2.6vw, 1.8rem); background: var(--paper-light); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--pink); font-size: clamp(1.125rem, 1.5vw, 1.25rem); }
.prose p + p, .prose p + ul, .prose p + ol { margin-top: 1.25em; }
.prose a:hover { text-decoration-color: var(--cobalt); }
.spotlight, .site-footer {
  --focus-ring: var(--paper-light);
  --link-line: var(--yellow);
  color: var(--paper-light);
  background-color: var(--charcoal);
  background-image: radial-gradient(ellipse at 15% 0%, rgb(231 217 205 / .12), transparent 66%),
    repeating-linear-gradient(118deg, rgb(255 250 240 / .014) 0 1px, transparent 1px 4px);
}
.spotlight { padding-block: clamp(2.5rem, 6vw, 5rem); border-block: 6px double var(--lime); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-heading > a { font-weight: 700; }
.spotlight .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .74fr) auto;
  align-items: center;
}
.spotlight .section-heading h2 { color: var(--lime); }
.spotlight .section-heading > a { grid-column: 3; }
.spotlight .section-heading::after {
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 19rem);
  height: clamp(3rem, 7vw, 6.85rem);
  background: url('/assets/paint-dashes.webp') right center / contain no-repeat;
  justify-self: end;
  content: "";
}
.spotlight-grid {
  --focus-ring: var(--cobalt-deep);
  --link-line: var(--vermilion);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(.65rem, 1.8vw, 1.3rem);
  color: var(--ink);
}
.spotlight-entry {
  position: relative;
  min-width: 0;
  padding: clamp(1.3rem, 2.7vw, 2.1rem);
  background: var(--paper-light);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--pink);
}
.spotlight-entry::before { position: absolute; top: .45rem; left: clamp(1.3rem, 2.7vw, 2.1rem); width: 3.7rem; height: .5rem; background: var(--entry-paint, var(--cobalt)); clip-path: var(--brush-edge); content: ""; }
.spotlight-entry:nth-child(2n) { --entry-paint: var(--vermilion); box-shadow: 5px 5px 0 var(--lime); transform: rotate(-1deg); }
.spotlight-entry:nth-child(3n) { --entry-paint: var(--ink); box-shadow: 5px 5px 0 var(--yellow); transform: rotate(1deg); }
.spotlight-entry h3, .word-row h3 { margin-block: .2rem .55rem; font: 800 clamp(1.85rem, 3.6vw, 3rem)/.98 var(--display); overflow-wrap: anywhere; }
.spotlight-entry h3 { font-size: clamp(2.45rem, 5vw, 4.25rem); }
.spotlight-entry h3 a, .word-row h3 a, .work-card h2 a { color: var(--cobalt-deep); text-decoration-thickness: .07em; }
.spotlight-entry h3 a:hover, .word-row h3 a:hover, .work-card h2 a:hover { text-decoration-thickness: .11em; }
.part { color: var(--muted); }
.definition-copy p + p { margin-top: .8em; }
.home-works { padding-block: clamp(2.5rem, 6vw, 5rem); }
.work-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); min-height: 16rem; border: 3px solid var(--ink); background: var(--yellow); box-shadow: .55rem .55rem 0 var(--poster-red); }
.work-image { display: grid; overflow: hidden; position: relative; min-height: 15rem; }
.work-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 55%; }
.work-card-copy { display: grid; align-content: center; justify-items: start; padding: clamp(1.25rem, 4vw, 3.75rem); }
.work-card h2 { font: 800 clamp(2.75rem, 6.5vw, 5.75rem)/.9 var(--display); text-transform: uppercase; margin-block: .35rem .65rem; }
.work-card-copy .button { margin-top: 1.25rem; }
.works-list { padding-block: 0 4rem; }
.works-list .work-card + .work-card { margin-top: 1.25rem; }
.page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 25%);
  column-gap: clamp(1rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5.5vw, 5.25rem) 2rem;
}
.page-heading > * { grid-column: 1; }
.page-heading::after {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 100%;
  aspect-ratio: 720 / 234;
  background: var(--marker-overprint) center / contain no-repeat;
  content: "";
}
.page-heading h1, .reading h1 { font: 800 clamp(3rem, 8vw, 7.5rem)/.88 var(--display); text-transform: uppercase; letter-spacing: -.018em; overflow-wrap: anywhere; margin-block: .45rem 1rem; }
.page-heading h1, .reading h1 { color: var(--cobalt-deep); text-shadow: .045em .04em 0 var(--pink); }
.lede { max-width: 45rem; color: var(--muted); font-size: clamp(1.125rem, 2vw, 1.4rem); }
.dictionary-tools { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.5rem; margin-bottom: 1rem; }
.dictionary-tools > a { padding-block: .65rem; font-weight: 700; }
.search-box { width: min(100%, 33rem); }
.search-box label { display: block; font-weight: 700; margin-bottom: .4rem; }
.search-box input { width: 100%; min-height: 3rem; border: 2px solid var(--ink); border-radius: 0; box-shadow: 4px 4px 0 var(--poster-blue); background: var(--paper-light); color: var(--ink); padding: .65rem .85rem; }
.search-box input::placeholder { color: var(--muted); opacity: 1; }
.alphabet { display: flex; flex-wrap: wrap; gap: .36rem; padding-block: .85rem; border-block: 1px solid var(--line); }
.alphabet a, .alphabet span { display: grid; place-items: center; width: 2.75rem; min-height: 2.75rem; font: 500 .95rem/1 var(--mono); }
.alphabet a { background: var(--poster-blue); color: var(--paper-light); border: 2px solid var(--ink); border-radius: 1px 6px 2px 4px; text-decoration: none; }
.alphabet a:nth-child(3n + 2) { color: var(--ink); background: var(--yellow); }
.alphabet a:nth-child(3n) { color: var(--ink); background: var(--pink); }
.alphabet a:hover { background: var(--lime); color: var(--ink); text-decoration: underline; }
.alphabet span { color: var(--muted); }
.result-count { color: var(--muted); padding-block: .75rem; }
.dictionary-list { padding-bottom: 4rem; }
.letter-group { margin-top: 1.4rem; }
.letter-group h2 { padding-block: .25rem .45rem; color: var(--cobalt-deep); font: 800 4rem/.9 var(--display); border-bottom: 3px solid var(--vermilion); }
.letter-group ul { list-style: none; margin: 0; padding: 0; }
.letter-group li { padding: 1rem 0 1.15rem; border-bottom: 1px solid var(--line); }
.letter-group .definition-copy { max-width: 48rem; }
.word-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1rem; }
.word-row h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.reading { max-width: 55rem; padding-block: clamp(2.7rem, 6vw, 5.75rem); }
.reading h1 { font-size: clamp(2.8rem, 8vw, 6.45rem); }
.reading h1::after {
  display: block;
  width: min(76%, 22rem);
  height: .95rem;
  margin-top: 1rem;
  background: var(--marker-line) left center / 100% 100% no-repeat;
  content: "";
}
.reading .prose { font-size: clamp(1.125rem, 1.6vw, 1.25rem); max-width: 46rem; }
.reading .button { margin-top: 1.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; align-items: baseline; margin-bottom: 1rem; }
.entry-senses { margin-top: 1.5rem; }
.sense { border-top: 2px solid var(--vermilion); padding-block: 1.1rem 2.2rem; }
.sense-definition { font-size: clamp(1.25rem, 2.25vw, 1.6rem); line-height: 1.42; margin-block: .4rem 1.2rem; }
.sense-details { margin: 0; }
.sense-details > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .25rem 1rem; padding-block: .65rem; border-top: 1px solid var(--line); }
.sense-details dt { padding-top: .22rem; color: var(--muted); }
.sense-details dd { margin: 0; font-size: 1.0625rem; }
.entry-neighbors { display: flex; gap: 1rem; justify-content: space-between; padding-top: .8rem; border-top: 1px solid var(--line); }
.entry-neighbors a { font-weight: 700; overflow-wrap: anywhere; }
.entry-neighbors a span { display: block; color: var(--muted); font: 500 .82rem/1.5 var(--mono); }
.article-meta { color: var(--muted); margin-block: .8rem 1rem; }
.article-image { width: min(100%, 41rem); height: auto; margin-bottom: 1.25rem; }
.site-footer { border-top: .375rem solid var(--yellow); }
.footer-inner { display: flex; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; align-items: start; padding-block: 2rem; }
.footer-inner > div > a { font: 800 1.6rem/.95 var(--display); text-transform: uppercase; text-decoration: none; }
.footer-inner p { color: #f6e2c0; font-size: .95rem; margin-top: .35rem; }
.footer-inner nav { display: flex; gap: .5rem 1.3rem; flex-wrap: wrap; font-size: .95rem; }
@media (max-width: 54rem) {
  .wrap { width: calc(100% - 3rem); }
  .spotlight .section-heading { display: flex; }
  .spotlight .section-heading::after { width: min(100%, 12rem); height: 3.5rem; margin-left: auto; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; min-height: 4rem; }
  .site-header nav { gap: .65rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 2rem 1.35rem; gap: 2.4rem; }
  .hero-media { grid-column: 1; grid-row: auto; }
  .hero-media-inner { position: static; }
  .hero-print { max-width: 28rem; }
  .page-heading { display: block; }
  .page-heading::after, .introduction h2::after { content: none; }
  .hero-actions { margin-top: 1.4rem; }
  .spotlight-grid, .work-card { grid-template-columns: 1fr; }
  .work-image { min-height: 13rem; }
  .sense-details > div { grid-template-columns: 1fr; }
}
@media (max-width: 24rem) {
  .site-header nav { gap: .55rem; }
  .site-header nav a { padding-inline: .45rem; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .introduction h2::after, .spotlight .section-heading::after, .page-heading::after {
      animation: stamp-in linear both;
      animation-duration: auto;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
    }
    @keyframes stamp-in {
      from { clip-path: inset(0 100% 0 0); transform: translateX(-.9rem) rotate(-5deg); }
      to { clip-path: inset(0); transform: none; }
    }
  }
}
@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; }
  .site-header nav a:hover, .site-header [aria-current] { text-decoration: underline; }
  .brand, .hero-wordmark { forced-color-adjust: none; background: #fffaf0; }
  .hero-wordmark::after, .reading h1::after, .page-heading::after, .introduction h2::after { content: none; }
  .spotlight .section-heading::after { visibility: hidden; }
  .alphabet a { border: 1px solid LinkText; }
}
