/* Muted docs: a printed annual in the film's materials. Masthead image, a tight oversized title,
   one strict text column, and colour used in solid blocks the way a two-colour job prints. */
:root { --toc: 232px; --col: 700px; }

.mast { position: relative; height: 300px; overflow: hidden; background: #070706; box-shadow: inset 0 -1px 0 var(--line); perspective: 1400px; }
.mast .sheet { position: absolute; left: 50%; top: 46px; width: 1160px; margin-left: -560px; transform: rotateX(26deg) rotateY(-11deg) rotateZ(4deg); transform-origin: 50% 30%;
  border-radius: 22px; background: linear-gradient(115deg, #0f0f0d, #131311 58%, #0c0c0a); box-shadow: 0 0 0 1px rgba(236, 232, 220, .13), 0 0 0 9px #070706, 0 0 0 10px rgba(236, 232, 220, .07), 0 40px 70px #000; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mast .sheet div { border-radius: 10px; background: #0e0e0c; box-shadow: inset 0 0 0 1px var(--line); }
.mast .sheet p { margin: 0; height: 36px; display: grid; grid-template-columns: 40px 90px 1fr 140px; align-items: center; padding: 0 12px; font-family: var(--mono); font-size: 14px; color: var(--ink-3); box-shadow: inset 0 -1px 0 rgba(236, 232, 220, .04); }
.mast .sheet p span:last-child { text-align: right; color: var(--ink-2); }
.mast .sheet .l p.c { background: var(--seal-band); box-shadow: inset 3px 0 0 var(--seal); }
.mast .sheet .r p.c { background: var(--key-band); box-shadow: inset 3px 0 0 var(--key); }
.mast .sheet .r p.c span:last-child { color: var(--ink); }
.mast::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 90% at 56% 30%, transparent 40%, rgba(7, 7, 6, .85)); pointer-events: none; }

.d-wrap { display: grid; grid-template-columns: var(--toc) minmax(0, var(--col)) minmax(0, 1fr); gap: 0 48px; padding: 0 24px; max-width: 1320px; margin: 0 auto; }
.toc { position: sticky; top: 76px; align-self: start; padding: 28px 0; }
.toc p { margin: 0 0 8px; font-size: 13px; color: var(--ink-3); }
.toc a { display: flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px; text-decoration: none; font-size: 14px; color: var(--ink-2); transition: background-color 150ms var(--ease-press), color 150ms var(--ease-press); }
.toc a:hover { background: var(--plane-3); color: var(--ink); }
.toc a.on { background: var(--plane-3); color: var(--ink); box-shadow: inset 2px 0 0 var(--key); }
.doc { padding: 40px 0 80px; min-width: 0; }
.doc h1 { margin: 0 0 18px; font-size: clamp(40px, 5.2vw, 76px); line-height: .96; letter-spacing: -.045em; font-weight: 650; max-width: 11em; }
.doc .lede { margin: 0 0 40px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.doc h2 { margin: 64px 0 14px; padding-top: 18px; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.025em; font-weight: 640; box-shadow: inset 0 1px 0 var(--line-2); scroll-margin-top: 80px; }
.doc h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 620; }
.doc p, .doc li { font-size: 17px; line-height: 1.62; color: var(--ink-2); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); font-weight: 620; }
.doc code { overflow-wrap: anywhere; font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--plane-3); color: var(--ink); }
pre .c { color: var(--ink-3); }
.side { padding: 40px 0; align-self: start; position: sticky; top: 76px; }
.side .src { font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.side .src b { display: block; color: var(--ink-2); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 1100px) { .d-wrap { grid-template-columns: 200px minmax(0, 1fr); } .side { display: none; } }
@media (max-width: 760px) {
  .d-wrap { grid-template-columns: minmax(0, 1fr); padding: 0 16px; } .toc { display: none; }
  .mast { height: 200px; } .mast .sheet { margin-left: -300px; }
}
.doc .dl { display: grid; gap: 10px; justify-items: start; margin: 0 0 28px; }
.doc .dl .small { margin: 0; font-size: 13px; color: var(--ink-3); }
.doc .dl .hash { overflow-wrap: anywhere; word-break: break-all; }
