:root {
    --ink: #111315;
    --ink-soft: #25292c;
    --paper: #f3f5f5;
    --white: #ffffff;
    --muted: #687074;
    --line: #d8dddf;
    --line-dark: #3c4245;
    --signal: #e2462f;
    --cyan: #187d91;
    --yellow: #e6b53b;
    --green: #39735f;
    --shell: 1240px;
    --mono: "IBM Plex Mono", Consolas, monospace;
    --sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.7;
    background: var(--paper);
    text-rendering: optimizeLegibility;
}

body.is-menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.site-shell {
    width: min(var(--shell), calc(100% - 48px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    color: var(--white);
    background: var(--signal);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 32px;
    color: var(--muted);
    font: 12px/1.5 var(--mono);
    text-transform: uppercase;
}

.breadcrumb a:hover {
    color: var(--signal);
}

.breadcrumb--light {
    color: rgba(255, 255, 255, .66);
}

.breadcrumb--light a:hover {
    color: var(--white);
}

.site-header {
    position: relative;
    z-index: 50;
    color: var(--ink);
    background: var(--white);
}

.site-header__signal {
    color: var(--white);
    background: var(--ink);
}

.site-header__signal-inner {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font: 11px/1 var(--mono);
}

.site-header__signal-inner p,
.site-header__signal-inner time {
    margin: 0;
}

.site-header__signal-inner p {
    display: flex;
    align-items: center;
    gap: 9px;
}

.site-header__signal-inner p span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--signal);
}

.site-header__main {
    display: grid;
    grid-template-columns: 260px minmax(260px, 1fr) 190px;
    min-height: 82px;
    gap: 30px;
    align-items: center;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
}

.site-brand__mark {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    border: 2px solid currentColor;
}

.site-brand__mark::after {
    position: absolute;
    inset: 10px;
    border: 2px solid var(--signal);
    content: "";
}

.site-brand__mark i {
    position: relative;
}

.site-brand__mark i:nth-child(1),
.site-brand__mark i:nth-child(2) {
    border-bottom: 1px solid currentColor;
}

.site-brand__mark i:nth-child(1),
.site-brand__mark i:nth-child(3) {
    border-right: 1px solid currentColor;
}

.site-brand__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-brand__copy strong {
    font-size: 21px;
    line-height: 1.3;
}

.site-brand__copy small {
    color: var(--muted);
    font: 10px/1.3 var(--mono);
}

.site-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.site-search input,
.site-search button {
    min-width: 0;
    border: 0;
    border-radius: 0;
}

.site-search input {
    padding: 0 14px;
    color: var(--ink);
    outline: none;
    background: transparent;
}

.site-search input:focus {
    box-shadow: inset 0 0 0 2px var(--cyan);
}

.site-search button {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    background: var(--ink);
}

.site-search button:hover {
    background: var(--signal);
}

.site-header__tool {
    display: flex;
    flex-direction: column;
    padding-left: 18px;
    border-left: 3px solid var(--yellow);
    line-height: 1.35;
}

.site-header__tool span {
    color: var(--muted);
    font: 10px/1.5 var(--mono);
}

.site-header__tool strong {
    font-size: 14px;
}

.site-menu-button {
    display: none;
}

.site-nav-wrap {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.site-nav {
    display: flex;
    height: 48px;
    align-items: stretch;
}

.site-nav__home,
.site-nav__link {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
}

.site-nav__home {
    border-left: 1px solid var(--line);
}

.site-nav__home:hover,
.site-nav__link:hover,
.site-nav__home.is-current,
.site-nav__group.is-current > .site-nav__link,
.site-nav__group.is-ancestor > .site-nav__link {
    color: var(--white);
    background: var(--ink);
}

.site-nav__group {
    position: relative;
}

.site-nav__group.has-children > .site-nav__link::after {
    margin-left: 8px;
    color: var(--signal);
    font-family: var(--mono);
    content: "+";
}

.site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    width: 520px;
    grid-template-columns: 160px 1fr;
    visibility: hidden;
    border-top: 3px solid var(--signal);
    color: var(--white);
    background: var(--ink);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.site-nav__group:hover .site-nav__dropdown,
.site-nav__group:focus-within .site-nav__dropdown {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.site-nav__dropdown-heading {
    padding: 24px 20px;
    border-right: 1px solid var(--line-dark);
}

.site-nav__dropdown-heading span {
    display: block;
    margin-bottom: 12px;
    color: #9ba2a5;
    font: 10px/1 var(--mono);
}

.site-nav__dropdown-heading strong {
    font-size: 19px;
}

.site-nav__dropdown-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.site-nav__dropdown-links a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    font-size: 13px;
}

.site-nav__dropdown-links a:hover,
.site-nav__dropdown-links a.is-current {
    color: var(--ink);
    background: var(--yellow);
}

.site-nav__dropdown-links b {
    font-family: var(--mono);
}

.mobile-navigation {
    display: none;
}

.section-heading {
    display: grid;
    gap: 18px;
    margin-bottom: 42px;
}

.section-heading > p:first-child,
.section-heading > div > p,
.section-code {
    margin-bottom: 8px;
    color: var(--signal);
    font: 11px/1.4 var(--mono);
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: 38px;
    line-height: 1.24;
}

.section-heading > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
}

.section-heading--split {
    grid-template-columns: 1fr minmax(260px, 440px);
    align-items: end;
}

.section-heading--split > p,
.section-heading--split > a {
    justify-self: end;
}

.section-heading--split > a {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.home-hero {
    position: relative;
    height: calc(100svh - 176px);
    min-height: 500px;
    max-height: 720px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.home-hero__image,
.home-hero__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__image {
    object-fit: cover;
    object-position: center 54%;
}

.home-hero__scrim {
    background: rgba(17, 19, 21, .66);
}

.home-hero__frame {
    position: absolute;
    inset: 34px;
    border: 1px solid rgba(255, 255, 255, .52);
}

.home-hero__frame span {
    position: absolute;
    width: 34px;
    height: 34px;
}

.home-hero__frame span:nth-child(1) {
    top: -1px;
    left: -1px;
    border-top: 4px solid var(--yellow);
    border-left: 4px solid var(--yellow);
}

.home-hero__frame span:nth-child(2) {
    top: -1px;
    right: -1px;
    border-top: 4px solid var(--yellow);
    border-right: 4px solid var(--yellow);
}

.home-hero__frame span:nth-child(3) {
    right: -1px;
    bottom: -1px;
    border-right: 4px solid var(--yellow);
    border-bottom: 4px solid var(--yellow);
}

.home-hero__frame span:nth-child(4) {
    bottom: -1px;
    left: -1px;
    border-bottom: 4px solid var(--yellow);
    border-left: 4px solid var(--yellow);
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    align-items: center;
}

.home-hero__content {
    max-width: 760px;
    padding: 32px 0 46px;
}

.home-hero__timecode {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font: 12px/1 var(--mono);
}

.home-hero__timecode span {
    color: var(--signal);
    font-weight: 600;
}

.home-hero h1 {
    margin-bottom: 10px;
    font-size: 74px;
    line-height: 1.1;
}

.home-hero__lead {
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 600;
}

.home-hero__copy {
    max-width: 660px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
}

.home-hero__search {
    display: grid;
    width: min(620px, 100%);
    height: 52px;
    grid-template-columns: minmax(0, 1fr) 112px;
    background: var(--white);
}

.home-hero__search input,
.home-hero__search button {
    min-width: 0;
    border: 0;
    border-radius: 0;
}

.home-hero__search input {
    padding: 0 18px;
    color: var(--ink);
    outline: 0;
}

.home-hero__search input:focus {
    box-shadow: inset 0 0 0 3px var(--cyan);
}

.home-hero__search button {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    background: var(--signal);
}

.home-hero__search button:hover {
    color: var(--ink);
    background: var(--yellow);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 22px;
}

.home-hero__actions a {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 600;
}

.home-hero__credit {
    position: absolute;
    right: 50px;
    bottom: 42px;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font: 9px/1 var(--mono);
}

.home-hero__next {
    position: absolute;
    bottom: 36px;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font: 9px/1 var(--mono);
    transform: translateX(-50%);
}

.home-hero__next i {
    width: 1px;
    height: 32px;
    background: var(--white);
}

.home-entry,
.home-grammar,
.home-directory,
.home-latest {
    padding: 88px 0;
}

.home-entry {
    background: var(--white);
}

.home-entry__routes {
    border-top: 1px solid var(--ink);
}

.home-entry__route {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 44px;
    min-height: 142px;
    gap: 24px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    transition: color .16s ease, background .16s ease;
}

.home-entry__number {
    font: 18px/1 var(--mono);
}

.home-entry__route p {
    margin-bottom: 6px;
    color: var(--muted);
    font: 10px/1 var(--mono);
}

.home-entry__route h3 {
    margin-bottom: 6px;
    font-size: 28px;
    line-height: 1.25;
}

.home-entry__route div > span {
    color: var(--muted);
    font-size: 14px;
}

.home-entry__route b {
    font: 24px/1 var(--mono);
}

.home-entry__route--red:hover {
    color: var(--white);
    background: var(--signal);
}

.home-entry__route--cyan:hover {
    color: var(--white);
    background: var(--cyan);
}

.home-entry__route--yellow:hover {
    color: var(--ink);
    background: var(--yellow);
}

.home-entry__route:hover p,
.home-entry__route:hover div > span {
    color: inherit;
}

.home-grammar {
    color: var(--white);
    background: var(--ink);
}

.home-grammar .section-heading > p:last-child {
    color: #aab0b2;
}

.home-grammar__track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line-dark);
    border-left: 1px solid var(--line-dark);
    list-style: none;
}

.home-grammar__track li {
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}

.home-grammar__track a {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    padding: 22px 18px;
}

.home-grammar__track span {
    margin-bottom: auto;
    color: var(--signal);
    font: 12px/1 var(--mono);
}

.home-grammar__track strong {
    margin-bottom: 8px;
    font-size: 17px;
}

.home-grammar__track small {
    color: #aab0b2;
    font-size: 12px;
}

.home-grammar__track a:hover {
    color: var(--ink);
    background: var(--yellow);
}

.home-grammar__track a:hover span,
.home-grammar__track a:hover small {
    color: var(--ink);
}

.home-breakdown {
    padding: 0;
    background: var(--white);
}

.home-breakdown__layout {
    display: grid;
    width: min(100%, 1440px);
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
}

.home-breakdown__visual {
    display: flex;
    min-height: 590px;
    align-items: center;
    padding: 64px;
    color: var(--cyan);
    background: #dce7e9;
}

.shot-board {
    width: 100%;
    padding: 22px;
    border: 2px solid var(--ink);
    color: var(--ink);
    background: var(--white);
}

.shot-board__top,
.shot-board__ticks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font: 10px/1.4 var(--mono);
}

.shot-board__top {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ink);
}

.shot-board__frames {
    display: grid;
    height: 40px;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.shot-board__frames i {
    border: 1px solid var(--ink);
}

.shot-board svg {
    width: 100%;
    height: 260px;
    margin: 8px 0;
    color: var(--signal);
}

.shot-board__ticks {
    padding-top: 16px;
    border-top: 1px solid var(--ink);
}

.home-breakdown__content {
    display: flex;
    min-height: 590px;
    flex-direction: column;
    justify-content: center;
    padding: 72px;
}

.home-breakdown__content h2 {
    margin-bottom: 20px;
    font-size: 40px;
    line-height: 1.2;
}

.home-breakdown__content > p:not(.section-code) {
    color: var(--muted);
}

.home-breakdown__content ul {
    margin: 20px 0 28px;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.home-breakdown__content li {
    display: grid;
    grid-template-columns: 42px 1fr;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.home-breakdown__content li span {
    color: var(--signal);
    font-family: var(--mono);
}

.home-breakdown__content > a {
    width: fit-content;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--signal);
    font-weight: 700;
}

.home-directory {
    background: var(--paper);
}

.home-directory__list {
    counter-reset: directory;
    border-top: 2px solid var(--ink);
}

.directory-row {
    counter-increment: directory;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
}

.directory-row__main {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 26px;
    min-height: 116px;
    gap: 12px;
    align-items: center;
    padding: 16px 24px 16px 0;
    border-right: 1px solid var(--line);
}

.directory-row__index::before {
    content: "0" counter(directory);
}

.directory-row__index {
    color: var(--signal);
    font: 12px/1 var(--mono);
}

.directory-row__main h3 {
    margin: 0;
    font-size: 24px;
}

.directory-row__main b {
    font-family: var(--mono);
}

.directory-row__main:hover {
    color: var(--white);
    background: var(--ink);
}

.directory-row__children {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 9px 22px;
    padding: 24px 30px;
}

.directory-row__children a {
    color: var(--muted);
    font-size: 13px;
}

.directory-row__children a:hover {
    color: var(--signal);
}

.home-latest {
    background: var(--white);
}

.home-latest__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.latest-note {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--ink);
    border-radius: 2px;
}

.latest-note:nth-child(3n + 2) {
    border-top-color: var(--cyan);
}

.latest-note:nth-child(3n) {
    border-top-color: var(--signal);
}

.latest-note__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--muted);
    font: 10px/1.4 var(--mono);
}

.latest-note__meta a {
    color: var(--signal);
}

.latest-note h3 {
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.45;
}

.latest-note p {
    color: var(--muted);
    font-size: 13px;
}

.latest-note__more {
    width: fit-content;
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
}

.home-toolstrip {
    padding: 62px 0;
    color: var(--ink);
    background: var(--yellow);
}

.home-toolstrip__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
}

.home-toolstrip p {
    margin-bottom: 8px;
    font: 11px/1.4 var(--mono);
}

.home-toolstrip h2 {
    margin-bottom: 8px;
    font-size: 36px;
}

.home-toolstrip span {
    font-size: 14px;
}

.home-toolstrip a {
    flex: 0 0 auto;
    padding: 13px 18px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    background: var(--ink);
}

.category-hero {
    color: var(--white);
    background: var(--ink);
}

.category-hero__inner {
    display: grid;
    min-height: 410px;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 70px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
}

.category-hero__code,
.category-aside__code,
.article-aside__code {
    margin-bottom: 12px;
    color: var(--signal);
    font: 11px/1.4 var(--mono);
    text-transform: uppercase;
}

.category-hero h1 {
    margin-bottom: 16px;
    font-size: 60px;
    line-height: 1.15;
}

.category-hero__copy > p:last-child {
    max-width: 720px;
    margin-bottom: 0;
    color: #c0c5c7;
    font-size: 17px;
}

.category-hero__diagram {
    position: relative;
    display: flex;
    aspect-ratio: 4 / 3;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border: 1px solid #707678;
}

.category-hero__diagram::before,
.category-hero__diagram::after {
    position: absolute;
    content: "";
}

.category-hero__diagram::before {
    top: 50%;
    right: 0;
    left: 0;
    border-top: 1px solid #454a4d;
}

.category-hero__diagram::after {
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px solid #454a4d;
}

.category-hero__diagram > span {
    font: 11px/1 var(--mono);
}

.category-hero__diagram strong {
    position: relative;
    z-index: 2;
    font-size: 24px;
}

.category-hero__diagram i,
.article-aside__frame i {
    position: absolute;
    width: 24px;
    height: 24px;
}

.category-hero__diagram i:nth-of-type(1),
.article-aside__frame i:nth-of-type(1) { top: -1px; left: -1px; border-top: 4px solid var(--yellow); border-left: 4px solid var(--yellow); }
.category-hero__diagram i:nth-of-type(2),
.article-aside__frame i:nth-of-type(2) { top: -1px; right: -1px; border-top: 4px solid var(--yellow); border-right: 4px solid var(--yellow); }
.category-hero__diagram i:nth-of-type(3),
.article-aside__frame i:nth-of-type(3) { right: -1px; bottom: -1px; border-right: 4px solid var(--yellow); border-bottom: 4px solid var(--yellow); }
.category-hero__diagram i:nth-of-type(4),
.article-aside__frame i:nth-of-type(4) { bottom: -1px; left: -1px; border-bottom: 4px solid var(--yellow); border-left: 4px solid var(--yellow); }

.category-subnav {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.category-subnav__inner {
    display: flex;
    min-height: 58px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 26px;
}

.category-subnav a {
    padding: 16px 0 13px;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.category-subnav a:hover,
.category-subnav a.is-current {
    border-bottom-color: var(--signal);
    color: var(--ink);
}

.category-content {
    padding: 78px 0 96px;
}

.category-content__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 70px;
    align-items: start;
}

.category-list__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 2px solid var(--ink);
}

.category-list__heading p,
.search-results__heading p,
.article-related__header p,
.article-aside__headlines > p,
.category-aside__focus > p {
    margin-bottom: 7px;
    color: var(--signal);
    font: 10px/1.4 var(--mono);
}

.category-list__heading h2,
.search-results__heading h2 {
    margin-bottom: 0;
    font-size: 27px;
}

.category-list__heading > span {
    color: var(--muted);
    font: 11px/1.4 var(--mono);
}

.category-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 36px;
    gap: 22px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.category-item__index {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    font: 11px/1 var(--mono);
}

.category-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 10px;
    color: var(--muted);
    font: 10px/1.4 var(--mono);
}

.category-item__meta a {
    color: var(--signal);
}

.category-item h2 {
    margin-bottom: 9px;
    font-size: 23px;
    line-height: 1.45;
}

.category-item p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.category-item__arrow {
    font: 22px/1 var(--mono);
}

.category-item:hover h2,
.category-item:hover .category-item__arrow {
    color: var(--signal);
}

.category-aside,
.search-aside {
    position: sticky;
    top: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--cyan);
    background: var(--white);
}

.category-aside h2,
.search-aside h2 {
    margin-bottom: 14px;
    font-size: 24px;
}

.category-aside > p:not(.category-aside__code),
.search-aside > p:not(:first-child) {
    color: var(--muted);
    font-size: 13px;
}

.category-aside ol {
    margin: 26px 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.category-aside li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.category-aside li > span {
    color: var(--signal);
    font: 11px/1.7 var(--mono);
}

.category-aside li p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.category-aside li strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
}

.category-aside > a,
.search-aside > a {
    display: block;
    padding: 11px 14px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    background: var(--ink);
}

.category-aside__focus,
.article-aside__headlines {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 2px solid var(--ink);
}

.category-aside__focus h2,
.article-aside__headlines h2 {
    font-size: 18px;
}

.category-aside__focus article,
.article-aside__headlines article {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.category-aside__focus time,
.article-aside__headlines article > a {
    color: var(--muted);
    font: 9px/1.4 var(--mono);
}

.category-aside__focus h3,
.article-aside__headlines h3 {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.55;
}

.category-pager,
.search-pager {
    margin-top: 34px;
}

.article-page {
    padding: 54px 0 100px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) 300px;
    gap: 78px;
    align-items: start;
}

.article-main {
    min-width: 0;
}

.article-header {
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line);
}

.article-header__section {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--muted);
    font: 11px/1.4 var(--mono);
}

.article-header__section a {
    color: var(--signal);
}

.article-header__section span::before {
    content: "/ ";
}

.article-header h1 {
    margin-bottom: 20px;
    font-size: 46px;
    line-height: 1.28;
}

.article-header__summary {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 17px;
}

.article-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--muted);
    font: 10px/1.5 var(--mono);
}

.article-opening {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 22px;
    margin: 36px 0;
    padding: 24px;
    border-left: 4px solid var(--yellow);
    background: var(--white);
}

.article-opening__mark {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font: 14px/1 var(--mono);
    background: var(--ink);
}

.article-opening strong {
    display: block;
    margin-bottom: 5px;
}

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

.article-body {
    color: #2b2f32;
    font-size: 16px;
    line-height: 1.95;
}

.article-body h2 {
    margin: 52px 0 18px;
    padding-top: 18px;
    border-top: 2px solid var(--ink);
    color: var(--ink);
    font-size: 29px;
    line-height: 1.35;
}

.article-body h3 {
    margin: 34px 0 12px;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.45;
}

.article-body a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body img {
    width: 100%;
    height: auto;
    margin: 30px 0 12px;
}

.article-body figure {
    margin: 34px 0;
}

.article-body figcaption {
    padding-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.article-body blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--signal);
    background: var(--white);
}

.article-body table {
    display: table;
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    background: var(--white);
}

.article-body th,
.article-body td {
    padding: 13px 14px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-body th {
    color: var(--white);
    background: var(--ink);
}

.article-update {
    margin-top: 48px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--cyan);
}

.article-update p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.article-adjacent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 34px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.article-adjacent__item {
    min-height: 88px;
    padding: 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.article-related {
    margin-top: 58px;
}

.article-related__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--ink);
}

.article-related__header h2 {
    margin: 0;
    font-size: 25px;
}

.article-related__header > a {
    font-size: 12px;
    font-weight: 700;
}

.article-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 22px;
}

.article-related__grid article {
    padding-top: 14px;
    border-top: 3px solid var(--cyan);
}

.article-related__grid time {
    color: var(--muted);
    font: 9px/1.4 var(--mono);
}

.article-related__grid h3 {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.5;
}

.article-related__grid p {
    color: var(--muted);
    font-size: 12px;
}

.article-aside {
    position: sticky;
    top: 24px;
}

.article-aside__frame {
    position: relative;
    display: flex;
    aspect-ratio: 16 / 10;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid var(--ink);
    background: var(--white);
}

.article-aside__frame span,
.article-aside__frame strong {
    font-family: var(--mono);
}

.article-aside__frame strong {
    color: var(--signal);
    font-size: 42px;
    line-height: 1;
}

.article-aside > h2 {
    margin-bottom: 12px;
    font-size: 25px;
}

.article-aside > p:not(.article-aside__code) {
    color: var(--muted);
    font-size: 13px;
}

.article-aside__links {
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.article-aside__links a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    font-weight: 600;
}

.article-aside__links a:hover {
    color: var(--signal);
}

.search-hero {
    color: var(--white);
    background: var(--ink);
}

.search-hero__inner {
    display: flex;
    min-height: 410px;
    flex-direction: column;
    justify-content: center;
    padding-top: 62px;
    padding-bottom: 62px;
}

.search-hero__inner > p {
    margin-bottom: 12px;
    color: var(--yellow);
    font: 11px/1.4 var(--mono);
}

.search-hero h1 {
    margin-bottom: 14px;
    font-size: 52px;
    line-height: 1.2;
}

.search-hero__inner > span {
    color: #bdc3c5;
}

.search-form {
    display: grid;
    width: min(760px, 100%);
    height: 58px;
    grid-template-columns: minmax(0, 1fr) 116px;
    margin-top: 28px;
    background: var(--white);
}

.search-form input,
.search-form button {
    min-width: 0;
    border: 0;
    border-radius: 0;
}

.search-form input {
    padding: 0 18px;
    outline: 0;
}

.search-form input:focus {
    box-shadow: inset 0 0 0 3px var(--cyan);
}

.search-form button {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    background: var(--signal);
}

.search-starts,
.search-results {
    padding: 76px 0 96px;
}

.search-starts__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--line);
}

.search-starts__links a {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    padding: 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.search-starts__links span {
    margin-bottom: auto;
    color: var(--signal);
    font: 11px/1 var(--mono);
}

.search-starts__links strong {
    margin-bottom: 6px;
    font-size: 19px;
}

.search-starts__links small {
    color: var(--muted);
    font-size: 12px;
}

.search-starts__links a:hover {
    color: var(--white);
    background: var(--ink);
}

.search-starts__links a:hover small {
    color: #bdc3c5;
}

.search-page--results .search-hero__inner {
    min-height: 330px;
}

.search-results__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 70px;
    align-items: start;
}

.search-results__heading {
    padding-bottom: 18px;
    border-bottom: 2px solid var(--ink);
}

.search-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.search-item__meta {
    display: flex;
    gap: 18px;
    margin-bottom: 9px;
    color: var(--muted);
    font: 10px/1.4 var(--mono);
}

.search-item__meta a {
    color: var(--signal);
}

.search-item h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.search-item p {
    color: var(--muted);
    font-size: 14px;
}

.search-item__more {
    font-size: 12px;
    font-weight: 700;
}

.search-aside {
    border-top-color: var(--yellow);
}

.search-aside > p:first-child {
    margin-bottom: 8px;
    color: var(--signal);
    font: 10px/1.4 var(--mono);
}

.search-aside ul {
    margin: 22px 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.search-aside li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.site-footer {
    color: var(--white);
    background: var(--ink);
}

.site-footer__lead {
    display: flex;
    min-height: 210px;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    border-bottom: 1px solid var(--line-dark);
}

.site-footer__timecode,
.site-footer__label {
    margin-bottom: 9px;
    color: var(--signal);
    font: 10px/1.4 var(--mono);
}

.site-footer__lead h2 {
    margin: 0;
    font-size: 36px;
}

.site-footer__lead > a {
    padding: 12px 16px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    background: var(--yellow);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.15fr .85fr;
    gap: 54px;
    padding-top: 58px;
    padding-bottom: 58px;
}

.site-brand--footer {
    color: var(--white);
}

.site-brand--footer .site-brand__copy small {
    color: #969da0;
}

.site-footer__brand > p {
    max-width: 330px;
    margin-top: 18px;
    color: #aeb4b6;
    font-size: 13px;
}

.site-footer__grid section > h2 {
    margin-bottom: 18px;
    font-size: 15px;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.site-footer__links a,
.site-footer__principles p {
    margin: 0;
    color: #aeb4b6;
    font-size: 12px;
}

.site-footer__links a:hover {
    color: var(--yellow);
}

.site-footer__principles span {
    margin-right: 7px;
    color: var(--signal);
    font-family: var(--mono);
}

.site-footer__bottom {
    border-top: 1px solid var(--line-dark);
}

.site-footer__bottom-inner {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-footer__bottom p {
    margin: 0;
    color: #858d90;
    font: 9px/1.5 var(--mono);
}

.pt-empty,
.empty,
[data-empty] {
    grid-column: 1 / -1;
    padding: 42px 24px;
    border: 1px dashed #aeb5b7;
    color: var(--muted);
    text-align: center;
    background: var(--paper);
}

@media (max-width: 1120px) {
    .site-header__main {
        grid-template-columns: 240px minmax(220px, 1fr) 170px;
        gap: 20px;
    }

    .site-nav__home,
    .site-nav__link {
        padding: 0 14px;
        font-size: 13px;
    }

    .home-grammar__track {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-breakdown__visual {
        padding: 42px;
    }

    .home-breakdown__content {
        padding: 54px;
    }

    .article-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 52px;
    }

    .site-footer__grid {
        gap: 36px;
    }
}

@media (max-width: 960px) {
    .site-shell {
        width: min(100% - 36px, var(--shell));
    }

    .site-header__signal,
    .site-search,
    .site-header__tool,
    .site-nav-wrap {
        display: none;
    }

    .site-header__main {
        display: flex;
        min-height: 74px;
        justify-content: space-between;
    }

    .site-menu-button {
        display: inline-flex;
        min-width: 76px;
        height: 42px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid var(--ink);
        border-radius: 0;
        color: var(--ink);
        font-size: 12px;
        background: var(--white);
    }

    .site-menu-button__icon {
        display: flex;
        width: 17px;
        flex-direction: column;
        gap: 3px;
    }

    .site-menu-button__icon i {
        height: 1px;
        background: currentColor;
    }

    .mobile-navigation {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: block;
        overflow-y: auto;
        padding: 22px;
        color: var(--white);
        background: var(--ink);
    }

    .mobile-navigation[hidden] {
        display: none;
    }

    .mobile-navigation__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 18px;
        border-bottom: 1px solid var(--line-dark);
    }

    .mobile-navigation__bar strong {
        font-size: 18px;
    }

    .mobile-navigation__bar button {
        display: flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line-dark);
        border-radius: 0;
        color: var(--white);
        font-size: 26px;
        background: transparent;
    }

    .mobile-navigation__search {
        display: grid;
        height: 48px;
        grid-template-columns: 1fr 70px;
        margin: 22px 0;
    }

    .mobile-navigation__search input,
    .mobile-navigation__search button {
        min-width: 0;
        border: 0;
        border-radius: 0;
    }

    .mobile-navigation__search input {
        padding: 0 14px;
    }

    .mobile-navigation__search button {
        color: var(--white);
        background: var(--signal);
    }

    .mobile-navigation nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid var(--line-dark);
        border-left: 1px solid var(--line-dark);
    }

    .mobile-navigation nav a {
        display: flex;
        min-height: 66px;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 14px;
        border-right: 1px solid var(--line-dark);
        border-bottom: 1px solid var(--line-dark);
    }

    .mobile-navigation nav span {
        color: var(--signal);
        font-family: var(--mono);
    }

    .mobile-navigation__tool {
        display: flex;
        justify-content: space-between;
        margin-top: 22px;
        padding: 14px 16px;
        color: var(--ink);
        font-weight: 700;
        background: var(--yellow);
    }

    .home-hero {
        height: calc(100svh - 112px);
        min-height: 555px;
        max-height: 720px;
    }

    .home-hero__frame {
        inset: 18px;
    }

    .home-hero h1 {
        font-size: 60px;
    }

    .home-hero__credit {
        right: 28px;
        bottom: 26px;
    }

    .home-hero__next {
        display: none;
    }

    .home-breakdown__layout {
        grid-template-columns: 1fr;
    }

    .home-breakdown__visual,
    .home-breakdown__content {
        min-height: auto;
    }

    .home-breakdown__visual {
        padding: 54px 8vw;
    }

    .home-breakdown__content {
        padding: 64px 8vw;
    }

    .directory-row {
        grid-template-columns: 290px 1fr;
    }

    .home-latest__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-hero__inner {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 42px;
    }

    .category-content__layout,
    .search-results__layout {
        grid-template-columns: 1fr;
    }

    .category-aside,
    .search-aside {
        position: static;
    }

    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-aside {
        position: static;
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 24px 34px;
        padding-top: 34px;
        border-top: 2px solid var(--ink);
    }

    .article-aside__frame {
        grid-row: 1 / 5;
    }

    .article-aside__links,
    .article-aside__headlines {
        grid-column: 2;
        margin-top: 0;
    }

    .search-starts__links {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .site-shell {
        width: calc(100% - 28px);
    }

    .site-brand__mark {
        width: 36px;
        height: 36px;
    }

    .site-brand__copy strong {
        font-size: 18px;
    }

    .section-heading,
    .section-heading--split {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading--split > p,
    .section-heading--split > a {
        justify-self: start;
    }

    .home-hero {
        min-height: 570px;
    }

    .home-hero__image {
        object-position: 55% center;
    }

    .home-hero__scrim {
        background: rgba(17, 19, 21, .72);
    }

    .home-hero__content {
        padding: 34px 8px 50px;
    }

    .home-hero h1 {
        font-size: 44px;
    }

    .home-hero__lead {
        font-size: 20px;
    }

    .home-hero__copy {
        font-size: 14px;
    }

    .home-hero__search {
        height: auto;
        grid-template-columns: 1fr;
    }

    .home-hero__search input,
    .home-hero__search button {
        height: 48px;
    }

    .home-hero__actions {
        gap: 18px;
    }

    .home-hero__credit {
        right: 22px;
        bottom: 22px;
    }

    .home-entry,
    .home-grammar,
    .home-directory,
    .home-latest {
        padding: 62px 0;
    }

    .home-entry__route {
        grid-template-columns: 42px minmax(0, 1fr) 22px;
        min-height: 126px;
        gap: 10px;
    }

    .home-entry__route h3 {
        font-size: 22px;
    }

    .home-entry__route div > span {
        font-size: 12px;
    }

    .home-grammar__track {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-grammar__track a {
        min-height: 170px;
        padding: 17px 14px;
    }

    .home-grammar__track strong {
        font-size: 15px;
    }

    .home-breakdown__visual,
    .home-breakdown__content {
        padding: 42px 20px;
    }

    .shot-board {
        padding: 14px;
    }

    .shot-board__top,
    .shot-board__ticks {
        gap: 8px;
        font-size: 8px;
    }

    .shot-board svg {
        height: 180px;
    }

    .home-breakdown__content h2 {
        font-size: 31px;
    }

    .directory-row {
        grid-template-columns: 1fr;
    }

    .directory-row__main {
        min-height: 84px;
        border-right: 0;
    }

    .directory-row__children {
        padding: 16px 0 22px 46px;
    }

    .home-latest__grid {
        grid-template-columns: 1fr;
    }

    .home-toolstrip__inner,
    .site-footer__lead {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-toolstrip h2,
    .site-footer__lead h2 {
        font-size: 29px;
    }

    .category-hero__inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .category-hero h1 {
        font-size: 42px;
    }

    .category-hero__diagram {
        display: none;
    }

    .category-subnav__inner {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .category-subnav a {
        flex: 0 0 auto;
    }

    .category-content,
    .search-results,
    .search-starts {
        padding: 54px 0 70px;
    }

    .category-list__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .category-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    .category-item__index {
        width: 36px;
        height: 36px;
    }

    .category-item__arrow {
        display: none;
    }

    .category-item h2 {
        font-size: 19px;
    }

    .article-page {
        padding: 38px 0 70px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .article-header__summary {
        font-size: 15px;
    }

    .article-opening {
        grid-template-columns: 44px 1fr;
        gap: 14px;
        padding: 18px;
    }

    .article-opening__mark {
        width: 40px;
        height: 40px;
    }

    .article-body {
        font-size: 15px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body h3 {
        font-size: 19px;
    }

    .article-body table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .article-adjacent,
    .article-related__grid {
        grid-template-columns: 1fr;
    }

    .article-related__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-aside {
        display: block;
    }

    .article-aside__frame {
        max-width: 260px;
    }

    .article-aside__links,
    .article-aside__headlines {
        margin-top: 26px;
    }

    .search-hero__inner {
        min-height: 370px;
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .search-hero h1 {
        font-size: 36px;
    }

    .search-form {
        height: auto;
        grid-template-columns: 1fr;
    }

    .search-form input,
    .search-form button {
        height: 50px;
    }

    .search-starts__links {
        grid-template-columns: 1fr;
    }

    .search-starts__links a {
        min-height: 140px;
    }

    .site-footer__lead {
        min-height: 230px;
        justify-content: center;
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
