:root {
  color-scheme: light;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #1b251f;
  background: #fcf8eb;
  --navy: #0b1f3a;
  --blue: #174ed3;
  --paper: #fffdf7;
  --muted: #504f48;
  --line: #d4cbb4;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.5; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #2361e6; outline-offset: 4px; }
.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1rem; background: white; padding: .65rem 1rem; transform: translateY(-110%); }
.skip:focus { transform: translateY(.4rem); z-index: 1; }
.masthead { background: var(--paper); border-block-end: 1px solid var(--line); }
.top, nav, .footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; }
.top, .footer-inner { justify-content: space-between; padding-block: .65rem; }
.brand { display: inline-grid; text-decoration: none; line-height: 1; white-space: nowrap; padding: .25rem 0; }
.brand strong { font-size: 1.5rem; letter-spacing: -.06em; }
.brand b { color: var(--blue); font-size: 2rem; }
.brand small { margin-top: .2rem; font-size: .62rem; font-weight: 800; letter-spacing: .19em; }
nav a, .footer-inner a { font-weight: 700; }
.button { display: inline-flex; align-items: center; min-height: 44px; background: var(--blue); color: white; padding: .45rem .85rem; border-radius: .45rem; text-decoration: none; }
.button:hover { background: #10399f; }
.hero { background: #174ed3; color: white; border-bottom: 2px solid var(--navy); }
.introduction { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(14rem, .65fr); align-items: end; gap: 1.6rem; padding-block: clamp(2rem, 6vw, 4.5rem); }
h1 { font: normal clamp(2.8rem, 7vw, 5.5rem)/.99 "Instrument Serif", Georgia, serif; letter-spacing: -.055em; }
.introduction p { margin-top: .85rem; max-width: 38rem; font-size: clamp(1rem, 2vw, 1.2rem); }
.example { display: grid; gap: .25rem; align-content: center; background: #1239a3; border: 1px solid #85a6ff; border-radius: .7rem; padding: .9rem 1rem; }
.example a { color: #ffdf91; font: 750 1.45rem/1.2 "IBM Plex Mono", Consolas, monospace; overflow-wrap: anywhere; }
.example span { font-size: .83rem; font-weight: 700; }
.example small { font-size: .78rem; }
.library { padding-block: clamp(1.25rem, 4vw, 2.5rem) 3rem; }
.filters { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; margin-bottom: 1.15rem; }
.filters label { display: grid; gap: .25rem; font-weight: 700; }
.filters label:first-child { flex: 1 1 17rem; }
input, select { min-height: 44px; border: 1px solid #827a67; border-radius: .35rem; background: white; color: inherit; font: inherit; padding: .4rem .65rem; width: 100%; }
.filters output { align-self: end; color: var(--muted); margin-block: .5rem; font-size: .9rem; }
.campaign { margin-bottom: 1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); }
.campaign header { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .35rem 1rem; padding: .9rem 1rem .7rem; }
.campaign h2 { font-size: clamp(1.23rem, 2vw, 1.6rem); line-height: 1.15; }
.campaign header p { font-size: .86rem; color: var(--muted); margin-top: .25rem; }
.campaign-number { font: 750 .88rem/1.3 "IBM Plex Mono", Consolas, monospace; color: var(--navy); padding: .4rem .52rem; background: #eee6d3; border-radius: .32rem; }
.cut { display: grid; grid-template-columns: minmax(13rem, .85fr) minmax(0, 1.4fr); gap: .8rem clamp(1rem, 4vw, 2.5rem); border-top: 1px solid var(--line); padding: .8rem 1rem; scroll-margin-top: .7rem; }
.cut:target { background: #fff1c9; outline: 2px solid #ca941d; outline-offset: -2px; }
.cut h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .65rem; font-size: .94rem; }
.cut h3 a { color: #113d9d; font: 750 .9rem/1.3 "IBM Plex Mono", Consolas, monospace; }
audio { display: block; width: 100%; max-width: 28rem; margin-block: .5rem .3rem; }
.speed-control { display: grid; grid-template-columns: max-content minmax(3rem, 1fr) max-content; gap: .45rem; align-items: center; max-width: 28rem; }
.speed-control label { font-size: .83rem; }
.speed-control output { display: inline-block; min-width: 3.2em; font-variant-numeric: tabular-nums; font-weight: 700; }
.speed-control input { margin: 0; padding: 0; min-height: 36px; accent-color: var(--blue); cursor: pointer; }
.speed-control button { min-width: 38px; min-height: 36px; padding: .15rem .35rem; border: 1px solid var(--line); border-radius: .35rem; background: #fff; color: #113d9d; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: .2rem .9rem; align-items: center; color: #113d9d; font-size: .85rem; }
.actions a, .actions button { display: inline-flex; align-items: center; min-height: 34px; }
.actions button { border: 0; padding: 0; background: none; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: .2em; }
.direction { margin: .25rem 0 .4rem; }
.credit { color: var(--muted); font-size: .83rem; }
details { margin: .48rem 0 0; font-size: .87rem; }
summary { cursor: pointer; color: #113d9d; font-weight: 700; width: fit-content; padding-block: .2rem; }
details p { margin-top: .35rem; }
.empty { padding: .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
footer { background: var(--navy); color: white; font-size: .88rem; }
.footer-inner { padding-block: 1rem; }
@media (max-width: 670px) {
  .introduction, .cut { grid-template-columns: 1fr; }
  .example { justify-self: start; }
  .cut { gap: .35rem; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 1.25rem); }
  nav { gap: .35rem .6rem; font-size: .88rem; }
  .cut, .campaign header { padding-inline: .68rem; }
}
