/* Blog styles: Neo-brutal, light + dark. Matches the main portfolio theme tokens. */
:root{--bg:#fff8e7;--surface:#fff;--surface2:#ffe9a8;--text:#111;--muted:#2f2f2f;--border:#111;--accent:#ff4d8d;--accent-text:#b0114f;--yellow:#ffd400;--focus:#0050ff;--shadow:5px 5px 0 #111;--head:'Archivo Black','Arial Black',system-ui,sans-serif;--body:'Space Grotesk',Inter,system-ui,sans-serif;color-scheme:light}
html[data-theme="dark"]{--bg:#121212;--surface:#1c1c1c;--surface2:#262626;--text:#fffbe8;--muted:#d8d3c2;--border:#fffbe8;--accent:#ff6fa5;--accent-text:#ff8fb8;--focus:#5ea0ff;--shadow:5px 5px 0 #ffd400;color-scheme:dark}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 1.05rem/1.7 var(--body);-webkit-font-smoothing:antialiased}
a{color:var(--accent-text);text-underline-offset:3px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.skip{position:absolute;left:-999px;top:8px;background:var(--yellow);color:#111;padding:.6rem 1rem;border:3px solid var(--border);z-index:10}
.skip:focus{left:8px}
.bar{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem 1.1rem;background:var(--bg);border-bottom:3px solid var(--border)}
.brand{font:400 1.15rem var(--head);color:var(--text);text-decoration:none;text-transform:uppercase}
.bar nav{display:flex;flex-wrap:wrap;gap:.25rem 1rem}
.bar nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--text);font-weight:700;text-decoration:none}
.bar nav a:hover{color:var(--accent-text);text-decoration:underline}
.mode{min-height:44px;padding:0 1rem;border:3px solid var(--border);background:var(--yellow);color:#111;font:700 .9rem var(--body);box-shadow:4px 4px 0 var(--border);cursor:pointer}
.mode:active{transform:translate(2px,2px);box-shadow:none}
.wrap{max-width:760px;margin:0 auto;padding:1.5rem 1.1rem 3rem}
.crumbs{font-size:.9rem;color:var(--muted);margin-bottom:1rem}
.crumbs a{color:var(--accent-text)}
.kicker{display:inline-block;margin:0 0 .6rem;padding:.2rem .6rem;background:var(--yellow);color:#111;border:2px solid var(--border);font-weight:700;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase}
h1,h2,h3{font-family:var(--head);font-weight:400;line-height:1.15;color:var(--text);letter-spacing:-.01em}
h1{font-size:clamp(1.7rem,6vw,2.6rem);margin:.2rem 0 .8rem}
h2{font-size:clamp(1.15rem,4vw,1.5rem);text-transform:uppercase;margin:2rem 0 .6rem}
p{margin:0 0 1rem;color:var(--muted)}
.byline{font-size:.95rem}
.lede{font-size:1.15rem;color:var(--text)}
.facts{margin:1.5rem 0;padding:1rem 1.1rem;background:var(--surface);border:3px solid var(--border);box-shadow:var(--shadow)}
.facts h2{margin-top:0}
.facts dl{display:grid;gap:.6rem;margin:0}
.facts dt{font-weight:700;color:var(--text)}
.facts dd{margin:0;color:var(--muted)}
.faq details{background:var(--surface);border:3px solid var(--border);margin:0 0 .8rem;box-shadow:4px 4px 0 var(--border)}
.faq summary{cursor:pointer;min-height:44px;padding:.7rem 1rem;font-weight:700;color:var(--text);list-style-position:inside}
.faq details p{margin:0;padding:0 1rem 1rem}
.links ul{padding-left:1.1rem}
.links li{margin:.35rem 0}
.cta{margin-top:2rem;padding:1rem 1.1rem;background:var(--surface2);border:3px solid var(--border);box-shadow:var(--shadow)}
.cta h2{margin-top:0}
.cta p{color:var(--text)}
.cards{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:1.2rem}
.card{display:block;padding:1.1rem;background:var(--surface);color:var(--text);border:3px solid var(--border);box-shadow:var(--shadow);text-decoration:none;transition:transform .18s,box-shadow .18s}
.card:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--border)}
.card h2{margin:.5rem 0;font-size:1.2rem;text-transform:none}
.card p{margin:0 0 .6rem}
.tag{display:inline-block;padding:.15rem .5rem;background:var(--yellow);color:#111;border:2px solid var(--border);font-size:.75rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.more{font-weight:700;color:var(--accent-text)}
.foot{max-width:760px;margin:0 auto;padding:1.5rem 1.1rem 3rem;border-top:3px solid var(--border);font-size:.9rem}
.foot p{margin:.3rem 0}
html[data-style="pop"]{--bg:#f6ffd9;--surface:#fff;--surface2:#e6ff85;--text:#0d0d0d;--muted:#2b2f1c;--border:#0d0d0d;--accent:#ff2e93;--accent-text:#b0005f;--yellow:#c6ff00;--shadow:5px 5px 0 #0d0d0d}
html[data-style="pop"][data-theme="dark"]{--bg:#0d0d0d;--surface:#171717;--surface2:#222;--text:#f4ffd6;--muted:#d3dbb5;--border:#c6ff00;--accent:#ff4fa8;--accent-text:#ff8cc6;--yellow:#c6ff00;--shadow:5px 5px 0 #c6ff00}
html[data-style="cyber"]{--bg:#effff6;--surface:#fff;--surface2:#c9ffe3;--text:#04140c;--muted:#1d3b2c;--border:#04140c;--accent:#12c46d;--accent-text:#00703a;--yellow:#7dffbd;--shadow:4px 4px 0 #04140c;--head:'Cascadia Mono',Consolas,ui-monospace,monospace}
html[data-style="cyber"][data-theme="dark"]{--bg:#050a08;--surface:#0b1511;--surface2:#12251c;--text:#d7ffe9;--muted:#a3d9bd;--border:#19ff8c;--accent:#19ff8c;--accent-text:#5dffad;--yellow:#19ff8c;--shadow:4px 4px 0 #19ff8c}
html[data-style="swiss"]{--bg:#fff;--surface:#fff;--surface2:#f1f1f1;--text:#0a0a0a;--muted:#2f2f2f;--border:#0a0a0a;--accent:#ff3b30;--accent-text:#c20000;--yellow:#ffd9d6;--shadow:5px 5px 0 #ff3b30;--head:'Space Grotesk',Inter,system-ui,sans-serif}
html[data-style="swiss"][data-theme="dark"]{--bg:#0f0f0f;--surface:#181818;--surface2:#242424;--text:#fff;--muted:#d4d4d4;--border:#fff;--accent:#ff453a;--accent-text:#ff7a72;--yellow:#ffd9d6;--shadow:5px 5px 0 #ff453a}
html[data-style="cyber"] :is(h1,h2,h3),html[data-style="swiss"] :is(h1,h2,h3){font-weight:700;text-transform:none}
.ctl{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sel select{min-height:44px;padding:0 .8rem;border:3px solid var(--border);background:var(--surface);color:var(--text);font:700 .9rem var(--body);box-shadow:4px 4px 0 var(--border);border-radius:0}
.card p,.lede,.byline,p{overflow-wrap:anywhere}
.bar nav{flex:1 1 100%;order:3}
@media (min-width:760px){.bar nav{flex:0 1 auto;order:0}}
@media (max-width:700px){.bar{position:static}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
