
:root {
  --ink: #050505;
  --paper: #fffdf5;
  --yellow: #fff200;
  --orange: #ff5a00;
  --lime: #39ff14;
  --cyan: #00e5ff;
  --pink: #ff2bd6;
  --gold: #ffd700;
  --violet: #8b5cf6;
  --muted: #b8b8c5;
  --panel: #0b0b12;
  --line: rgba(255,255,255,.16);
  --shadow: 9px 9px 0 var(--ink);
  --radius: 1.45rem;
  --font-body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); overflow-x: hidden; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--ink); color: #fff; font-family: var(--font-body); line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 4px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -10rem; padding: .8rem 1rem; background: white; color: var(--ink); border: 3px solid var(--ink); font-weight: 900; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(850px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 4px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 0 8px 0 var(--orange); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; border: 3px solid var(--ink); background: white; padding: .45rem .65rem; border-radius: 1rem; box-shadow: 5px 5px 0 var(--ink); font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: .035em; line-height: 1; }
.brand-mark { width: 2.25rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: .7rem; background: var(--ink); color: var(--yellow); font-family: var(--font-body); font-size: 1rem; box-shadow: 0 0 20px var(--pink); }
.nav-toggle { display: none; cursor: pointer; border: 3px solid var(--ink); border-radius: .8rem; background: var(--cyan); color: var(--ink); padding: .65rem .75rem; box-shadow: 4px 4px 0 var(--ink); font-weight: 900; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .45rem; }
.nav-links a { text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-size: .76rem; font-weight: 900; border: 2px solid var(--ink); border-radius: 999px; background: white; padding: .58rem .78rem; box-shadow: 3px 3px 0 var(--ink); transition: transform .18s ease, background .18s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { transform: translateY(-2px); background: var(--lime); }
.nav-links .nav-blog { background: var(--pink); color: white; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) 0 5rem; background: radial-gradient(circle at 14% 8%, var(--pink), transparent 30%), radial-gradient(circle at 88% 14%, var(--cyan), transparent 25%), linear-gradient(135deg, #fff200 0%, #ff5a00 38%, #39ff14 72%, #050505 100%); border-bottom: 4px solid var(--ink); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .25; background-image: linear-gradient(var(--ink) 2px, transparent 2px), linear-gradient(90deg, var(--ink) 2px, transparent 2px); background-size: 42px 42px; }
.hero .sb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .65; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.hero-grid > *, .article-hero-grid > * { min-width: 0; max-width: 100%; }
.kicker { display: inline-block; max-width: 100%; overflow-wrap: anywhere; border: 4px solid var(--ink); border-radius: 999px; background: white; color: var(--ink); padding: .65rem 1rem; box-shadow: 7px 7px 0 var(--pink); text-transform: uppercase; font-size: .76rem; font-weight: 900; letter-spacing: .18em; }
.eyebrow { color: var(--yellow); text-transform: uppercase; font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
.display { margin: 1.15rem 0 1rem; max-width: 13ch; font-family: var(--font-display); font-size: clamp(4rem, 10vw, 8.2rem); line-height: .79; letter-spacing: -.015em; text-transform: uppercase; color: white; -webkit-text-stroke: 2px var(--ink); text-shadow: 8px 8px 0 var(--pink); }
.hero-copy { max-width: 750px; margin: 0; border: 4px solid var(--ink); border-radius: 1.5rem; background: rgba(5,5,5,.82); color: white; padding: 1.15rem 1.25rem; box-shadow: 9px 9px 0 var(--cyan); font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; backdrop-filter: blur(8px); }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .8rem 1rem; border: 3px solid var(--ink); border-radius: .9rem; background: var(--yellow); color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 900; box-shadow: 6px 6px 0 var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 9px 9px 0 var(--pink); }
.btn.pink { background: var(--pink); color: white; }
.btn.cyan { background: var(--cyan); }
.btn.lime { background: var(--lime); }
.hero-panel { border: 4px solid white; border-radius: 1.6rem; background: rgba(5,5,5,.88); padding: 1rem; box-shadow: 0 0 0 6px var(--ink), 0 0 45px var(--cyan); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .8rem; border: 2px solid var(--cyan); border-radius: .8rem; padding: .65rem .8rem; background: var(--panel); color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .73rem; }
.status-pill { border-radius: 999px; background: var(--lime); color: var(--ink); padding: .2rem .48rem; font-weight: 900; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.metric { border: 2px solid var(--gold); border-radius: 1rem; background: var(--ink); padding: .8rem; }
.metric:nth-child(2) { border-color: var(--pink); }
.metric:nth-child(3) { border-color: var(--cyan); }
.metric:nth-child(4) { border-color: var(--lime); }
.metric span { display: block; color: var(--muted); font-size: .74rem; }
.metric strong { display: block; margin-top: .2rem; font-family: var(--font-display); font-size: 2.15rem; letter-spacing: .04em; }
.code-card, pre { overflow-x: auto; border: 2px solid rgba(255,255,255,.5); border-radius: 1rem; background: #0b0b12; color: #d9ffe3; padding: 1rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; line-height: 1.65; }
.code-card { margin-top: .75rem; }
.ticker-stack { border-block: 4px solid var(--ink); background: var(--ink); padding: .4rem 0; }
.ticker { overflow: hidden; white-space: nowrap; border-block: 2px solid var(--ink); color: var(--ink); }
.ticker:nth-child(1) { background: var(--pink); }
.ticker:nth-child(2) { background: var(--cyan); }
.ticker:nth-child(3) { background: var(--yellow); }
.ticker-track { display: inline-block; padding: .45rem 0; font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.4rem); letter-spacing: .045em; will-change: transform; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark { background: var(--ink); color: white; }
.section-light { background: var(--paper); color: var(--ink); }
.section-gradient { color: var(--ink); background: linear-gradient(180deg, var(--yellow), var(--orange) 46%, var(--lime)); }
.section-cyan { color: var(--ink); background: var(--cyan); }
.section-pink { color: white; background: var(--pink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; }
.section-head > div { max-width: 760px; }
.section-label { margin: 0 0 .5rem; text-transform: uppercase; font-weight: 900; letter-spacing: .2em; font-size: .75rem; }
.section-title { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.7rem); line-height: .88; letter-spacing: .01em; text-transform: uppercase; }
.section-lede { margin: .8rem 0 0; max-width: 760px; font-size: 1.08rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brutal-card { position: relative; border: 4px solid var(--ink); border-radius: var(--radius); background: white; color: var(--ink); padding: 1.35rem; box-shadow: var(--shadow); }
.brutal-card.dark { border-color: white; background: var(--panel); color: white; box-shadow: 9px 9px 0 var(--cyan); }
.brutal-card.yellow { background: var(--yellow); }
.brutal-card.cyan { background: var(--cyan); }
.brutal-card.pink { background: var(--pink); color: white; }
.brutal-card.lime { background: var(--lime); }
.card-icon { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 1rem; background: var(--yellow); font-size: 1.4rem; box-shadow: 4px 4px 0 var(--ink); }
.brutal-card h3 { margin: .85rem 0 .45rem; font-family: var(--font-display); font-size: 2rem; line-height: 1; letter-spacing: .035em; text-transform: uppercase; }
.brutal-card p { margin: 0; }
.card-link { display: inline-flex; margin-top: 1rem; font-weight: 900; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { display: inline-flex; border: 2px solid currentColor; border-radius: 999px; padding: .25rem .55rem; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; border: 3px solid var(--ink); border-radius: 1.2rem; background: white; color: var(--ink); padding: 1rem; box-shadow: 6px 6px 0 var(--ink); }
.step::before { content: counter(step); width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--pink); color: white; font-family: var(--font-display); font-size: 1.5rem; }
.step h3 { margin: 0 0 .2rem; font-family: var(--font-display); font-size: 1.65rem; text-transform: uppercase; }
.step p { margin: 0; }
.diagram { border: 4px solid var(--ink); border-radius: 1.6rem; overflow: hidden; background: var(--ink); box-shadow: 10px 10px 0 var(--pink); }
.diagram img { width: 100%; }
.page-hero { padding: clamp(4.5rem, 9vw, 7.5rem) 0 4rem; border-bottom: 4px solid var(--ink); color: var(--ink); background: radial-gradient(circle at 85% 15%, var(--pink), transparent 22%), linear-gradient(135deg, var(--yellow), var(--cyan) 58%, var(--lime)); }
.page-hero h1 { max-width: 13ch; margin: .9rem 0 1rem; font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7.2rem); line-height: .82; text-transform: uppercase; text-shadow: 7px 7px 0 white; }
.page-hero p { max-width: 760px; margin: 0; border: 3px solid var(--ink); border-radius: 1rem; background: rgba(255,255,255,.9); padding: 1rem 1.15rem; box-shadow: 7px 7px 0 var(--pink); font-weight: 700; font-size: 1.1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; }
.breadcrumbs a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 2rem; align-items: start; }
.callout { border: 4px solid var(--ink); border-radius: 1.3rem; padding: 1.2rem; background: var(--yellow); color: var(--ink); box-shadow: 8px 8px 0 var(--pink); }
.callout h2, .callout h3 { margin-top: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.faq-list { display: grid; gap: .8rem; }
details { border: 3px solid var(--ink); border-radius: 1rem; background: white; color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
summary { cursor: pointer; list-style: none; padding: 1rem 1.1rem; font-weight: 900; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-family: var(--font-display); font-size: 1.5rem; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 1.1rem 1.1rem; }
.article-hero { padding: 4.5rem 0 3rem; background: linear-gradient(135deg, var(--yellow), var(--orange) 45%, var(--pink)); color: var(--ink); border-bottom: 4px solid var(--ink); }
.article-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.article-hero h1 { margin: .8rem 0 1rem; max-width: 100%; overflow-wrap: normal; word-break: normal; font-family: var(--font-display); font-size: clamp(3.2rem, 5.8vw, 4.8rem); line-height: .85; text-transform: uppercase; text-shadow: 6px 6px 0 white; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: .7rem 0 0; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .075em; }
.article-figure { border: 4px solid var(--ink); border-radius: 1.5rem; overflow: hidden; box-shadow: 10px 10px 0 var(--cyan); background: var(--ink); }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
.prose { min-width: 0; font-size: 1.04rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { scroll-margin-top: 110px; margin: 2.7rem 0 .7rem; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: .95; text-transform: uppercase; letter-spacing: .025em; }
.prose h3 { scroll-margin-top: 110px; margin: 1.8rem 0 .45rem; font-size: 1.25rem; line-height: 1.25; }
.prose p { margin: .85rem 0; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin: .45rem 0; }
.prose a { color: #7af7ff; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .note { margin: 1.5rem 0; border: 3px solid white; border-left: 10px solid var(--pink); border-radius: 1rem; background: #141420; padding: 1rem 1.1rem; }
.prose blockquote { margin: 1.5rem 0; border: 3px solid var(--ink); border-radius: 1rem; background: var(--yellow); color: var(--ink); padding: 1rem 1.2rem; box-shadow: 6px 6px 0 var(--pink); font-weight: 800; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.3rem 0; background: #111118; }
.prose th, .prose td { border: 1px solid rgba(255,255,255,.25); padding: .7rem; text-align: left; vertical-align: top; }
.prose th { color: var(--yellow); }
.toc { position: sticky; top: 108px; border: 3px solid var(--ink); border-radius: 1rem; background: var(--yellow); color: var(--ink); padding: 1rem; box-shadow: 7px 7px 0 var(--pink); }
.toc h2 { margin: 0 0 .6rem; font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.15rem; }
.toc li { margin: .38rem 0; }
.toc a { font-size: .83rem; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-card { overflow: hidden; border: 4px solid var(--ink); border-radius: 1.3rem; background: white; color: var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.article-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 4px solid var(--ink); }
.article-card-body { padding: 1rem; }
.article-card h3 { margin: .55rem 0 .45rem; font-family: var(--font-display); font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.article-card p { margin: 0; font-size: .92rem; }
.archive-head { margin-bottom: 1.7rem; }
.archive-head h1 { margin: 0; font-family: var(--font-display); font-size: clamp(3.8rem, 9vw, 6.6rem); line-height: .85; text-transform: uppercase; }
.archive-head p { max-width: 760px; }
.contact-box { border: 4px solid var(--ink); border-radius: 1.5rem; background: white; color: var(--ink); padding: clamp(1.5rem, 5vw, 3rem); box-shadow: 10px 10px 0 var(--pink); }
.contact-email { display: inline-block; margin: 1rem 0; font-family: var(--font-display); font-size: clamp(2.3rem, 7vw, 5rem); line-height: .9; overflow-wrap: anywhere; text-decoration-thickness: 5px; text-underline-offset: 8px; }
.site-footer { border-top: 4px solid var(--ink); background: var(--yellow); color: var(--ink); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-brand { font-family: var(--font-display); font-size: 3rem; line-height: .9; }
.site-footer h2 { margin: 0 0 .7rem; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
.footer-links { display: grid; gap: .38rem; }
.footer-links a { font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.3rem; border-top: 3px solid var(--ink); font-size: .8rem; font-weight: 700; }
.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; }
@media (max-width: 980px) {
  .hero-grid, .article-hero-grid, .article-shell, .split { grid-template-columns: 1fr; }
  .toc { position: relative; top: auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-header { box-shadow: 0 6px 0 var(--orange); }
  .nav-wrap { min-height: 72px; }
  .brand { font-size: 1.55rem; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: fixed; inset: 76px 0 0; align-content: start; justify-content: stretch; padding: 1.25rem; background: var(--yellow); overflow-y: auto; }
  .nav-links.open { display: grid; }
  .nav-links a { display: block; border-radius: .8rem; padding: .9rem 1rem; font-size: .9rem; }
  .display { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(3rem, 14vw, 3.55rem); -webkit-text-stroke: 1px var(--ink); text-shadow: 5px 5px 0 var(--pink); }
  .kicker { border-radius: 1.35rem; letter-spacing: .13em; }
  .hero-copy, .hero-panel { width: 100%; max-width: 100%; }
  .section-head { display: block; }
  .grid-2, .grid-3, .grid-4, .metric-grid, .footer-grid { grid-template-columns: 1fr; }
  .article-hero { padding-top: 3.8rem; }
  .article-meta { display: grid; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.sb-reveal { transition: opacity .7s ease, transform .7s ease; }
.sb-reveal.is-hidden { opacity: 0; transform: translateY(24px); }
