:root { color-scheme:dark; --canvas:#080707; --surface:#100d0d; --surface-muted:#1a1414; --ink:#f7f1ee; --muted:#c5b9b6; --line:#39201f; --accent:#670f0e; --accent-ink:#670f0e; --accent-soft:#670f0e; --focus:#670f0e; --header-height:64px; --radius:2px; --display:"Plus Jakarta Sans",Arial,sans-serif; --body:"Source Serif 4",Georgia,serif; --mono:"IBM Plex Mono",Consolas,monospace; }
* { box-sizing:border-box; } html { background:var(--canvas); scroll-behavior:smooth; } body { margin:0; color:var(--ink); background:var(--canvas); font-family:var(--body); font-size:18px; line-height:1.62; } button,input { font:inherit; } button { color:inherit; } a { color:var(--ink); text-decoration-color:var(--accent); text-decoration-thickness:1px; text-underline-offset:.18em; } a:hover { color:var(--ink); text-decoration-thickness:2px; }
.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:.65rem; left:.65rem; z-index:8; padding:.42rem .65rem; border:1px solid var(--accent); color:#fff; background:var(--accent); font-family:var(--display); font-size:.8rem; transform:translateY(-180%); }.skip-link:focus { transform:translateY(0); }:focus-visible { outline:3px solid color-mix(in srgb,var(--focus) 48%,transparent); outline-offset:3px; }
.topbar { position:sticky; top:0; z-index:5; display:flex; min-height:var(--header-height); align-items:center; gap:1rem; padding:.72rem clamp(1rem,3vw,2.8rem); border-bottom:1px solid var(--line); background:color-mix(in srgb,var(--canvas) 94%,transparent); backdrop-filter:blur(12px); }.brand { flex:0 0 auto; color:var(--ink); font-family:var(--display); font-size:.88rem; font-weight:800; letter-spacing:.04em; text-decoration:none; text-transform:uppercase; }.brand span { color:var(--muted); font-weight:500; }.topbar-actions { display:flex; align-items:center; gap:.18rem; margin-left:auto; font-family:var(--display); }.search-control input { width:min(23vw,245px); min-height:34px; padding:.38rem .2rem; border:0; border-bottom:1px solid var(--line); border-radius:0; color:var(--ink); background:transparent; outline:0; font-family:var(--display); font-size:.78rem; }.search-control input::placeholder { color:var(--muted); opacity:1; }.search-control input:focus { border-color:var(--accent); }.text-button,.icon-button { display:inline-flex; min-width:34px; min-height:34px; align-items:center; justify-content:center; padding:.3rem .45rem; border:1px solid transparent; border-radius:var(--radius); color:var(--muted); background:transparent; cursor:pointer; font-family:var(--display); font-size:.7rem; font-weight:700; letter-spacing:.04em; line-height:1; text-transform:uppercase; }.text-button:hover,.icon-button:hover { border-color:var(--accent); color:var(--ink); background:var(--surface-muted); }.menu-button { display:none; }.hamburger { display:grid; width:16px; gap:3px; }.hamburger span { display:block; width:16px; height:1px; background:currentColor; transform-origin:center; transition:transform 160ms ease,opacity 160ms ease; }.menu-button[aria-expanded="true"] .hamburger span:nth-child(1) { transform:translateY(4px) rotate(45deg); }.menu-button[aria-expanded="true"] .hamburger span:nth-child(2) { opacity:0; }.menu-button[aria-expanded="true"] .hamburger span:nth-child(3) { transform:translateY(-4px) rotate(-45deg); }
.search-results { position:absolute; top:calc(100% + .35rem); right:clamp(1rem,3vw,2.8rem); width:min(440px,calc(100vw - 2rem)); padding:.3rem; border:1px solid var(--line); background:var(--surface); box-shadow:0 14px 30px rgb(0 0 0/.12); }.search-result { display:block; padding:.6rem; color:var(--ink); font-family:var(--display); font-size:.82rem; text-decoration:none; }.search-result:hover { background:var(--surface-muted); }.search-result strong,.search-result span { display:block; }.search-result span,.search-empty { margin-top:.08rem; color:var(--muted); font-size:.78rem; line-height:1.42; }.search-empty { padding:.6rem; }
.site-shell { display:grid; grid-template-columns:minmax(214px,250px) minmax(0,1fr); max-width:1500px; min-height:calc(100dvh - var(--header-height)); margin:0 auto; }.sidebar { position:sticky; top:var(--header-height); height:calc(100dvh - var(--header-height)); padding:1.55rem 1rem 2rem; border-right:1px solid var(--line); overflow-y:auto; }.nav-heading { margin:0 0 .65rem; color:var(--muted); font-family:var(--display); font-size:.67rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.nav-link { display:block; margin-left:-.5rem; padding:.43rem .5rem .43rem .72rem; border-left:2px solid transparent; color:var(--muted); font-family:var(--display); font-size:.78rem; font-weight:600; line-height:1.38; text-decoration:none; }.nav-link:hover { color:var(--ink); background:var(--surface-muted); }.nav-link[aria-current="page"] { border-left-color:var(--accent); color:var(--ink); font-weight:800; }.sidebar-note { margin:2.4rem 0 0; padding-top:.9rem; border-top:1px solid var(--line); color:var(--muted); font-family:var(--display); font-size:.72rem; line-height:1.5; } main { min-width:0; padding:clamp(2rem,5vw,5.5rem); }.loading-state,.empty-state { max-width:760px; color:var(--muted); }
.home { max-width:1050px; }.home-intro { max-width:740px; padding:clamp(1.5rem,6vw,5rem) 0 clamp(3rem,8vw,6rem); }.home-kicker,.article-meta { margin:0 0 .8rem; color:var(--ink); font-family:var(--display); font-size:.7rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; } h1,h2,h3,h4 { color:var(--ink); font-family:var(--display); font-weight:800; letter-spacing:-.055em; line-height:1.02; }.home h1 { max-width:12ch; margin:0; font-size:clamp(2.7rem,6.2vw,5.4rem); }.home-summary { max-width:53ch; margin:1.35rem 0 1.65rem; color:var(--muted); font-size:1.1rem; }.button-row { display:flex; flex-wrap:wrap; gap:.55rem; }.button { display:inline-flex; min-height:39px; align-items:center; justify-content:center; padding:.5rem .78rem; border:1px solid var(--accent); border-radius:var(--radius); color:#fff; background:var(--accent); font-family:var(--display); font-size:.72rem; font-weight:800; letter-spacing:.04em; text-decoration:none; text-transform:uppercase; }.button:hover { color:#fff; background:var(--accent); }.button.secondary { border-color:var(--line); color:var(--ink); background:transparent; }.button.secondary:hover { background:var(--surface-muted); }
.directory { display:grid; grid-template-columns:minmax(190px,.65fr) minmax(320px,1.35fr); gap:clamp(2rem,7vw,7rem); padding:clamp(2.2rem,5vw,4rem) 0; border-top:2px solid var(--ink); }.directory h2 { margin:0; font-size:clamp(2rem,3.7vw,3.5rem); }.directory p { max-width:28ch; margin:.9rem 0 0; color:var(--muted); }.guide-list { margin:0; padding:0; list-style:none; }.guide-list li { border-top:1px solid var(--line); }.guide-list li:last-child { border-bottom:1px solid var(--line); }.guide-list a { display:grid; grid-template-columns:2rem minmax(0,1fr); gap:.65rem; padding:.9rem 0; color:var(--ink); text-decoration:none; }.guide-list a:hover { color:var(--ink); }.guide-list .number { padding-top:.18rem; color:var(--ink); font-family:var(--mono); font-size:.68rem; font-variant-numeric:tabular-nums; }.guide-list strong { display:block; font-family:var(--display); font-size:.88rem; }.guide-list .guide-description { display:block; margin-top:.12rem; color:var(--muted); font-size:.9rem; line-height:1.4; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,210px); gap:clamp(2rem,6vw,6rem); max-width:1180px; }.article { max-width:760px; }.article-meta { display:flex; align-items:center; margin-bottom:1.1rem; }.article-meta::before { width:18px; height:2px; margin-right:.55rem; background:var(--accent); content:""; }.article h1 { margin:0; font-size:clamp(2.35rem,5vw,4.2rem); }.article-lead { max-width:54ch; margin:1.2rem 0 2.7rem; color:var(--muted); font-size:1.13rem; }.markdown { color:var(--ink); }.markdown h2 { margin:3.35rem 0 1rem; padding-top:.22rem; border-top:1px solid var(--line); font-size:clamp(1.65rem,3vw,2.3rem); }.markdown h3 { margin:2.2rem 0 .72rem; font-size:1.35rem; }.markdown h4 { margin:1.7rem 0 .52rem; font-size:1.05rem; letter-spacing:-.025em; }.markdown p,.markdown li { max-width:65ch; }.markdown p { margin:.9rem 0; }.markdown ul,.markdown ol { margin:.95rem 0 1.2rem; padding-left:1.3rem; }.markdown li + li { margin-top:.34rem; }.markdown code { padding:.11rem .25rem; border-radius:2px; color:var(--ink); background:var(--accent-soft); font-family:var(--mono); font-size:.78em; }.markdown blockquote { margin:1.45rem 0; padding:.2rem 1.05rem; border-left:3px solid var(--accent); color:var(--muted); }.markdown hr { margin:2.4rem 0; border:0; border-top:1px solid var(--line); }.table-wrap { width:100%; margin:1.35rem 0; overflow-x:auto; border:1px solid var(--line); }.markdown table { width:100%; border-collapse:collapse; font-family:var(--display); font-size:.76rem; }.markdown th,.markdown td { padding:.7rem .75rem; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }.markdown th { color:var(--muted); background:var(--surface-muted); font-weight:800; }.markdown tbody tr:last-child td { border-bottom:0; }
.media { margin:1.6rem 0; border:1px solid var(--line); background:var(--surface); }.media img,.media video { display:block; width:100%; max-height:620px; object-fit:contain; background:#080606; }.media figcaption { padding:.65rem .85rem; color:var(--muted); font-family:var(--display); font-size:.71rem; line-height:1.45; }.media-placeholder { display:flex; min-height:190px; align-items:center; justify-content:center; flex-direction:column; gap:.35rem; padding:1.25rem; border:1px dashed var(--accent); color:var(--ink); background:var(--accent-soft); font-family:var(--display); font-size:.76rem; text-align:center; }.media-placeholder.video { min-height:240px; }.media-placeholder strong { font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; }.media-placeholder code { color:var(--ink); background:transparent; font-size:.7rem; }.article-aside { position:sticky; top:calc(var(--header-height) + 1.6rem); align-self:start; font-family:var(--display); }.article-aside section + section { margin-top:1.9rem; }.article-aside h2 { margin:0 0 .6rem; color:var(--muted); font-size:.67rem; font-weight:800; letter-spacing:.08em; line-height:1.25; text-transform:uppercase; }.article-aside a { display:block; padding:.27rem 0; font-size:.75rem; font-weight:600; line-height:1.42; }.article-aside p { margin:0; color:var(--muted); font-size:.75rem; }
@media (max-width:900px) { .site-shell { grid-template-columns:1fr; }.sidebar { position:fixed; top:var(--header-height); left:0; z-index:6; width:min(310px,86vw); height:calc(100dvh - var(--header-height)); border-right:1px solid var(--line); background:var(--canvas); box-shadow:15px 0 28px rgb(0 0 0/.12); transform:translateX(-105%); transition:transform 180ms ease; } body.menu-open .sidebar { transform:translateX(0); } body.menu-open::after { position:fixed; z-index:5; inset:var(--header-height) 0 0; background:rgb(0 0 0/.2); content:""; }.menu-button { display:inline-flex; }.article-layout { grid-template-columns:1fr; }.article-aside { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.6rem; border-top:1px solid var(--line); padding-top:1.5rem; }.article-aside section + section { margin-top:0; } }
@media (max-width:720px) { body { font-size:17px; }.topbar { gap:.45rem; padding-inline:1rem; }.topbar-actions { gap:.05rem; }.search-control { display:none; } main { padding:1.5rem 1rem 3.5rem; }.home-intro { padding-top:1.35rem; }.home h1 { font-size:clamp(2.65rem,13vw,4.2rem); }.directory { grid-template-columns:1fr; gap:1.8rem; }.directory p { max-width:39ch; }.article h1 { font-size:clamp(2.35rem,11vw,3.5rem); }.article-aside { grid-template-columns:1fr; }.markdown th,.markdown td { min-width:145px; } } @media (max-width:390px) { .brand span { display:none; } } @media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; } }
