:root {
  --bg: #FCFCFB;
  --bg-2: #F3F3F0;
  --card: #FFFFFF;
  --text: #121417;
  --text-2: #4F5660;
  --text-3: #6B717B;
  --line: #E6E6E2;
  --line-2: #D3D4CF;
  --accent: #3E55C9;
  --accent-hover: #3247B0;
  --btn: #121417;
  --btn-hover: #2C3038;
  --btn-ink: #FFFFFF;
  --marker: #F2D35B;
  --figure-paper: #E9EBE4;
  --shadow: 0 0 0 1px var(--line-2);
  --shadow-lift: 0 0 0 1px var(--text);
  --code-bg: #15171B;
  --code-text: #E7E9EC;
  --code-key: #A7B6FF;
  --code-edge: transparent;

  --sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Courier Prime", ui-monospace, Menlo, monospace;
  --read: 680px;
  --wide: 1120px;
  --gutter: 20px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0F1114;
  --bg-2: #171A1F;
  --card: #15181C;
  --text: #E9EAEC;
  --text-2: #AEB4BD;
  --text-3: #8E959F;
  --line: #24282E;
  --line-2: #343942;
  --accent: #8C9EFF;
  --accent-hover: #A5B3FF;
  --btn: #E9EAEC;
  --btn-hover: #FFFFFF;
  --btn-ink: #0F1114;
  --code-bg: #16191E;
  --code-edge: #2A2F37;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0F1114; --bg-2: #171A1F; --card: #15181C; --text: #E9EAEC; --text-2: #AEB4BD; --text-3: #8E959F;
    --line: #24282E; --line-2: #343942; --accent: #8C9EFF; --accent-hover: #A5B3FF;
    --btn: #E9EAEC; --btn-hover: #FFFFFF; --btn-ink: #0F1114;
    --code-bg: #16191E; --code-edge: #2A2F37; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--marker); color: #121417; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input { border-radius: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--btn); color: var(--btn-ink); padding: 8px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:where(:not(.btn, .skip)):hover { color: var(--accent-hover); text-decoration-color: currentColor; }
h1, h2, h3 { color: var(--text); text-wrap: balance; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-2); border: 1px solid var(--line); padding: .12em .38em; }

.label { font: 700 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }

.site-head { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.head-in { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.015em; white-space: nowrap; }
.logo svg { width: 28px; height: 28px; flex: none; }
.mark rect { fill: var(--text); }
.mark path { fill: none; stroke: var(--bg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo:hover { color: var(--text); }

.nav { display: flex; gap: 14px; margin-left: 18px; }
.nav a, .chip { display: inline-flex; align-items: center; gap: .4em; padding: 8px 0; font: 400 14.5px/1.2 var(--mono); color: var(--text-2); text-decoration: none; white-space: nowrap; }
.nav a::before, .chip::before { content: "[" / ""; }
.nav a::after, .chip::after { content: "]" / ""; }
.nav a::before, .nav a::after, .chip::before, .chip::after { color: transparent; transition: color .15s; }
.nav a:hover, .chip:hover { color: var(--text); }
.nav a:hover::before, .nav a:hover::after, .chip:hover::before, .chip:hover::after { color: var(--text-3); }
.nav a[aria-current="page"], .chip[aria-current="page"] { color: var(--text); font-weight: 700; }
.nav a[aria-current="page"]::before, .nav a[aria-current="page"]::after, .chip[aria-current="page"]::before, .chip[aria-current="page"]::after { color: var(--text); }

.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
.menu-btn { display: none; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); color: var(--btn-ink); }
.btn svg { width: 16px; height: 16px; }
.mobile-nav { display: none; }
@media (max-width: 1099px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .head-actions .btn-primary { display: none; }
  .mobile-nav { border-top: 1px solid var(--line); background: var(--bg); padding: 10px var(--gutter) 18px; }
  .mobile-nav:not([hidden]) { display: block; }
  .mobile-nav a:not(.btn) { display: flex; align-items: center; gap: .4em; padding: 13px 4px; color: var(--text); text-decoration: none; font: 400 16px/1.3 var(--mono); border-bottom: 1px solid var(--line); }
  .mobile-nav a[aria-current="page"] { font-weight: 700; }
  .mobile-nav a[aria-current="page"]::before { content: "[" / ""; }
  .mobile-nav a[aria-current="page"]::after { content: "]" / ""; }
  .mobile-nav .btn { margin-top: 14px; width: 100%; }
}
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); }

.intro { max-width: var(--wide); margin: 0 auto; padding: 56px var(--gutter) 34px; }
.intro h1 { margin: 0 0 14px; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; max-width: 22ch; }
.intro p { margin: 0; font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 44ch; }
.hero-pencil { max-width: var(--wide); margin: 0 auto; padding: 28px var(--gutter) 44px; }
.hero-stage { position: relative; }
.hero-pencil .fig { margin: 0; }
.hero-pencil .fig-seek { display: none; }
.hero-pencil .fig-overlay { place-items: end start; padding: 0 0 18px 18px; }
.hero-pencil .big-play, .hero-pencil .fig.is-idle .big-play { width: 38px; height: 38px; }
.hero-pencil .big-play svg, .hero-pencil .fig.is-idle .big-play svg { width: 16px; height: 16px; margin-left: 2px; }
.hero-copy { position: absolute; left: 4%; top: 50%; transform: translateY(-50%); width: 34%; }
.hero-copy h1 { margin: 0 0 12px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; color: #121417; }
.hero-copy p { margin: 0; font-size: 18px; line-height: 1.5; color: #3B4048; text-wrap: pretty; }
@media (max-width: 999px) {
  .hero-copy { position: static; transform: none; width: auto; padding: 0 0 20px; }
  .hero-copy h1 { color: var(--text); }
  .hero-copy p { color: var(--text-2); }
  .hero-stage { display: flex; flex-direction: column-reverse; }
}
@media (max-width: 759px) {
  .hero-pencil .fig { margin: 0 calc(-1 * var(--gutter)); }
  .hero-pencil .fig-frame { box-shadow: none; }
}

.hero-draw { max-width: var(--wide); margin: 0 auto; padding: 40px var(--gutter) 44px; }
.sheet { position: relative; padding: 64px 64px 56px; box-shadow: 0 0 0 1px var(--text); background-image: radial-gradient(var(--line-2) 1.1px, transparent 1.3px); background-size: 24px 24px; background-position: 12px 12px; }
.sheet::before, .sheet::after { content: ""; position: absolute; width: 18px; height: 18px; border: solid var(--text); }
.sheet::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.sheet::after { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
.sheet-body { max-width: 640px; }
.sheet-body h1 { display: inline-block; margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; background: var(--bg); padding: 0 6px; margin-left: -6px; }
.dim { position: relative; height: 26px; margin: 10px 0 22px; border-left: 1px solid var(--text); border-right: 1px solid var(--text); }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--text); }
.dim span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 10px; background: var(--bg); font: 400 13px/1 var(--mono); color: var(--text-2); white-space: nowrap; }
.sheet-body p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 44ch; background: var(--bg); }
.title-block { position: absolute; right: 0; bottom: 0; margin: 0; width: 340px; display: grid; background: var(--bg); box-shadow: 0 0 0 1px var(--text); }
.title-block div { display: grid; grid-template-columns: 96px 1fr; border-top: 1px solid var(--text); }
.title-block div:first-child { border-top: 0; }
.title-block dt { padding: 7px 10px; border-right: 1px solid var(--text); font: 700 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.title-block dd { margin: 0; padding: 7px 10px; font: 400 13.5px/1.4 var(--mono); color: var(--text); }
@media (max-width: 919px) {
  .sheet { padding: 40px 24px 0; }
  .title-block { position: static; width: auto; margin: 32px -24px 0; box-shadow: none; border-top: 1px solid var(--text); }
}

.featured { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.featured-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.featured .fig { margin: 0; }
.featured-body h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.featured-body h2 a { color: var(--text); text-decoration: none; }
.featured-body h2 a:hover { color: var(--text-2); }
.featured-body p { margin: 0 0 18px; font-size: 17.5px; line-height: 1.6; color: var(--text-2); }
.featured-body .meta { margin: 0 0 8px; }
.featured-body .tags { margin: 0 0 26px; }
@media (max-width: 919px) { .featured-in { grid-template-columns: 1fr; gap: 22px; } }

.tags { display: flex; flex-wrap: wrap; align-items: center; font: 400 14.5px/1.5 var(--mono); }
.tag { color: var(--text-2); text-decoration: none; }
.tag:hover { color: var(--text); text-decoration: underline; }
.tag + .tag::before { content: "/"; display: inline-block; margin: 0 .6em; color: var(--text-3); }
.meta { display: flex; flex-wrap: wrap; font: 400 14px/1.5 var(--mono); color: var(--text-3); }
.meta span + span::before { content: "·"; margin: 0 .7em; }

.shelf { max-width: var(--wide); margin: 0 auto; padding: 80px var(--gutter) 0; }
.shelf.tight { padding-top: 10px; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.shelf-head h2 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
.shelf-note { margin: 0 0 22px; color: var(--text-2); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 2px 18px; font: 400 14.5px/1.2 var(--mono); margin-left: calc(-1ch - .4em); }
.chip { flex: none; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 26px; }
.grid > .card:not(.soon) { grid-row: span 2; }
@media (max-width: 999px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid { grid-template-columns: 1fr; gap: 18px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .15s; }
.card:not(.soon):hover { box-shadow: var(--shadow-lift); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title a:focus-visible { outline: none; }
.card:has(.card-title a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.card .poster { aspect-ratio: 3 / 2; background: var(--figure-paper); overflow: hidden; }
.card .poster img { width: 100%; height: 100%; object-fit: cover; }
.card .body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card-title { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 400 13.5px/1.4 var(--mono); color: var(--text-3); }
.card-foot .read { margin-left: auto; }
.secs { display: inline-flex; flex-wrap: wrap; color: var(--text-2); }
.secs > span + span::before { content: "/"; margin: 0 .55em; color: var(--text-3); }
.card.soon { background: var(--bg-2); box-shadow: none; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pill { flex: none; margin-top: 3px; padding: 4px 7px 3px; border: 1px solid var(--line-2); font: 700 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }

.panel { max-width: var(--wide); margin: 88px auto 0; padding: 0 var(--gutter); }
.panel-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; padding: 40px 44px; background: var(--bg-2); }
.panel h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
.panel p { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.6; }
@media (max-width: 799px) { .panel-in { grid-template-columns: 1fr; padding: 28px 22px; } }
.subscribe { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe input {
  flex: 1 1 220px; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--text); font: 400 16px var(--sans);
}
.subscribe input::placeholder { color: var(--text-3); }
.subscribe input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.subscribe .btn { height: 46px; }
.form-msg { flex-basis: 100%; margin: 4px 0 0; min-height: 1.4em; font: 400 14.5px/1.5 var(--mono); color: var(--text-2); }

.section-head { max-width: var(--wide); margin: 0 auto; padding: 56px var(--gutter) 8px; }
.section-head h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.section-head p { margin: 0 0 22px; font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 56ch; }
.not-found .btn { margin-top: 4px; }

.post-wrap { padding: 0 var(--gutter); }
.post { max-width: var(--read); margin: 0 auto; }
.article-head { padding: 56px 0 0; }
.article-head h1 { margin: 0 0 16px; font-size: clamp(36px, 5.4vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
.dek { margin: 0 0 24px; font-size: 21px; line-height: 1.5; color: var(--text-2); }
.page .dek { margin-bottom: 8px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); display: grid; place-items: center; font: 700 13px/1 var(--mono); flex: none; }
.byline .who { display: flex; align-items: center; gap: 12px; }
.byline .who b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.byline .who .meta { font-size: 13.5px; }
.byline .tags { margin-left: auto; font-size: 14px; }
.lead { margin: 36px 0 8px; }
.lead .fig { margin: 0; }

.article { padding: 24px 0 0; }
.article > h2:first-child { margin-top: 28px; }
.article h2 { margin: 64px 0 16px; font-size: 30px; line-height: 1.2; letter-spacing: -.022em; font-weight: 750; }
.article h2 a.anchor { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 6px; vertical-align: -2px; color: var(--text-3); opacity: 0; }
.article h2 a.anchor svg { width: 18px; height: 18px; }
.article h2 a.anchor:hover { color: var(--text); }
.article h2:hover a.anchor, .article h2 a.anchor:focus-visible { opacity: 1; }
.article h3 { margin: 40px 0 10px; font-size: 22px; line-height: 1.3; letter-spacing: -.015em; font-weight: 700; }
.article p { margin: 0 0 22px; text-wrap: pretty; }
.article ul, .article ol { margin: 0 0 24px; padding-left: 1.3em; }
.article li { margin: 0 0 8px; padding-left: .2em; }
.article li::marker { color: var(--text-3); font-variant-numeric: normal; }
.article strong { font-weight: 650; }
.cite { font: 400 .8em/1 var(--mono); text-decoration: none; white-space: nowrap; }
.cite:hover { text-decoration: underline; }

.ask { display: flex; gap: 14px; align-items: flex-start; margin: 6px 0 30px; padding: 18px 20px; background: var(--bg-2); }
.ask .q { flex: none; width: 30px; height: 30px; background: var(--text); color: var(--bg); display: grid; place-items: center; font: 700 15px/1.3 var(--sans); margin-top: 2px; }
.ask .label { display: block; margin: 0 0 6px; }
.ask .text { margin: 0; font: 400 18px/1.55 var(--mono); color: var(--text); }
.note { margin: -8px 0 28px; padding: 13px 16px 14px; background: var(--bg-2); font-size: 16px; line-height: 1.6; }
.note b { font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-right: 10px; color: var(--text-2); }

.code-wrap { position: relative; margin: 6px 0 30px; }
pre.code, pre.plain { margin: 0; padding: 18px 20px; border: 1px solid var(--code-edge); background: var(--code-bg); color: var(--code-text); font: 400 15px/1.6 var(--mono); overflow-x: auto; tab-size: 2; }

.code-wrap::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 44px; background: linear-gradient(90deg, transparent, var(--code-bg)); pointer-events: none; opacity: 0; transition: opacity .15s; }
.code-wrap.is-cut::after { opacity: 1; }
pre.code code, pre.plain code { font: inherit; background: none; border: 0; padding: 0; }
pre.plain.wrap { white-space: pre-wrap; margin: 6px 0 30px; }
pre.code .k { color: var(--code-key); font-weight: 700; }

.table-wrap { overflow-x: auto; margin: 6px 0 30px; box-shadow: var(--shadow); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.45; }
thead th { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg-2); font: 700 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
tbody td { padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { font-weight: 650; }

.article ol.sources { list-style: none; margin: 0; padding: 0; counter-reset: source; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.sources li { counter-increment: source; position: relative; margin-bottom: 10px; padding: 0 0 0 3em; scroll-margin-top: 90px; }
.sources li::before { content: "[" counter(source) "]"; position: absolute; left: 0; font-family: var(--mono); color: var(--text-2); }
.sources li:target { background: var(--bg-2); }
.sources a { word-break: break-word; }

.toc { display: none; }
@media (min-width: 1100px) {
  .post-wrap.has-toc { display: grid; grid-template-columns: minmax(0, var(--read)) 200px; column-gap: 72px; justify-content: center; }
  .has-toc .post { margin: 0; }
  .toc { display: block; position: sticky; top: 104px; align-self: start; margin-top: 64px; max-height: calc(100vh - 140px); overflow-y: auto; font-size: 14px; line-height: 1.45; }
  .toc .label { margin: 0 0 12px; }
  .toc ol { list-style: none; margin: 0; padding: 0; }
  .toc a { display: block; padding: 5px 0 5px 14px; border-left: 2px solid var(--line); color: var(--text-3); text-decoration: none; }
  .toc a:hover { color: var(--text); }
  .toc a[aria-current="true"] { color: var(--text); border-left-color: var(--text); font-weight: 600; }
}

.fig { margin: 34px 0 40px; }
.fig-frame { overflow: hidden; background: var(--figure-paper); box-shadow: var(--shadow); }
.fig-screen { position: relative; }
.fig-screen canvas { width: 100%; height: auto; cursor: pointer; }
.fig-overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.big-play { width: 68px; height: 68px; background: rgba(18, 20, 23, .74); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.92); transition: opacity .16s ease-out, transform .16s ease-out, background-color .16s; }
.big-play svg { width: 26px; height: 26px; margin-left: 3px; }
.fig.is-paused .big-play { opacity: 1; transform: scale(1); }
.fig.is-idle .big-play { width: 84px; height: 84px; }
.fig.is-idle .big-play svg { width: 32px; height: 32px; margin-left: 4px; }
.fig-screen:hover .big-play { background: rgba(18, 20, 23, .9); }
.fig.is-paused:not(.is-idle) .fig-overlay { place-items: end start; padding: 0 0 22px 14px; }
.fig.is-paused:not(.is-idle) .big-play { width: 38px; height: 38px; }
.fig.is-paused:not(.is-idle) .big-play svg { width: 16px; height: 16px; margin-left: 2px; }
.fig-seek { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; margin: 0; padding: 0; -webkit-appearance: none; appearance: none; background: none; cursor: pointer; }
.fig-seek::-webkit-slider-runnable-track { height: 3px; margin-top: 13px; background: linear-gradient(90deg, #3E55C9 0 var(--p, 0%), rgba(18, 20, 23, .16) var(--p, 0%)); }
.fig-seek::-moz-range-track { height: 3px; background: rgba(18, 20, 23, .16); }
.fig-seek::-moz-range-progress { height: 3px; background: #3E55C9; }
.fig-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; background: #3E55C9; border: 0; opacity: 0; transition: opacity .15s; }
.fig-seek::-moz-range-thumb { width: 12px; height: 12px; background: #3E55C9; border: 0; opacity: 0; }
.fig-screen:hover .fig-seek::-webkit-slider-thumb, .fig-seek:focus-visible::-webkit-slider-thumb { opacity: 1; }
.fig-screen:hover .fig-seek::-moz-range-thumb, .fig-seek:focus-visible::-moz-range-thumb { opacity: 1; }

.fig-cap { margin: 0; min-height: calc(2 * 1.45em + 26px); display: flex; align-items: center; justify-content: center; padding: 13px 22px; background: #16181C; color: #F2F3F5; font: 500 17px/1.45 var(--sans); text-align: center; text-wrap: balance; }
.fig figcaption { margin: 12px 4px 0; font: 400 14px/1.5 var(--mono); color: var(--text-3); text-align: center; text-wrap: balance; }
@media (max-width: 759px) {
  .article > .fig, .lead .fig, .featured .fig { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .article > .fig .fig-frame, .lead .fig .fig-frame, .featured .fig .fig-frame { box-shadow: none; }
  .fig-cap { font-size: 15.5px; padding: 11px 16px; }
  .fig figcaption, .fig-knobs { margin-left: var(--gutter); margin-right: var(--gutter); }
  .code-wrap { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .code-wrap::after { right: 0; }
  pre.code, pre.plain { font-size: 13.5px; border-width: 1px 0; padding: 16px var(--gutter); }
}

.fig-knobs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 14px; padding: 14px 16px; background: var(--bg-2); font: 400 14px/1.3 var(--mono); }
.fig-knobs:empty { display: none; }
.knob { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.knob > label, .knob > .k { font-weight: 700; color: var(--text); }
.knob output { min-width: 10ch; color: var(--text-2); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--card); border: 1px solid var(--line); }
.seg button { font: 400 14px/1.2 var(--mono); color: var(--text-2); background: none; border: 0; padding: 7px 10px; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"] { background: var(--btn); color: var(--btn-ink); font-weight: 700; }
.knob-btn { font: 700 14px/1.2 var(--mono); color: var(--text); background: var(--card); border: 1px solid var(--line-2); padding: 8px 13px; cursor: pointer; }
.knob-btn:hover { border-color: var(--text-3); }
.knob-btn:active { transform: translateY(1px); }
.knob input[type="range"] { -webkit-appearance: none; appearance: none; width: 150px; height: 20px; margin: 0; background: none; cursor: pointer; }
.knob input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); }
.knob input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; background: var(--text); border: 0; }
.knob input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
.knob input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; background: var(--text); border: 0; border-radius: 0; }

.site-foot { margin-top: 110px; border-top: 1px solid var(--line); }
.foot-in { max-width: var(--wide); margin: 0 auto; padding: 36px var(--gutter) 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px 40px; font-size: 15px; }
.foot-in p { margin: 10px 0 0; color: var(--text-2); max-width: 34ch; line-height: 1.6; }
.foot-in h2 { margin: 0 0 12px; }
.foot-in ul { list-style: none; margin: 0; padding: 0; }
.foot-in li { margin: 0 0 8px; }
.foot-in ul a { color: var(--text-2); text-decoration: none; }
.foot-in ul a:hover { color: var(--text); }
.foot-in .logo { font-size: 17px; }
.foot-in .copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font: 400 13px/1.5 var(--mono); max-width: none; }
@media (max-width: 699px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }

@media (max-width: 639px) {
  body { font-size: 17.5px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px calc(var(--gutter) - 1ch - .4em); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .intro { padding-top: 36px; }
  .intro p { font-size: 18px; }
  .article-head { padding-top: 36px; }
  .dek { font-size: 19px; }
  .byline .tags { margin-left: 0; }
  .article h2 { font-size: 26px; margin-top: 52px; }
  .ask { padding: 16px; gap: 12px; }
  .ask .text { font-size: 16.5px; }
  .shelf { padding-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .big-play, .nav a::before, .nav a::after, .chip::before, .chip::after { transition: none; }
}
@media print {
  .site-head, .toc, .fig-seek, .fig-overlay, .fig-knobs, .panel, .site-foot { display: none !important; }
}
