/*
VOICE: curious, warm, clean; a reader's blog with calm long-form text
IDEA: the logo's swirl - the rabbit hole - leads everything; plain white page so the logo sits on its own ground
PICTURE: Blake's Robit Holes logo (robot with rabbit-ear antennas in a navy and teal swirl, gold pocket watch)
COLOUR and TYPE: white ground, logo navy for ink and bands, teal for links and accents, gold for small highlights; Outfit for the name and headings, Source Serif 4 for reading
LAYOUT: header, hero (logo + name + tagline), post list, about, navy footer; single readable column for posts
*/
:root{color-scheme:light;--bg:#fff;--soft:#f3f6fb;--navy:#011a49;--ink:#1c2740;--muted:#566079;--teal:#02fcef;--link:#00777a;--gold:#fec40b;--line:#e2e7f0}
:root[data-theme=light],:root[data-theme=dark]{color-scheme:light}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:72px}
body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.65 "Source Serif 4",Georgia,serif;overflow-x:clip}
a{color:var(--link);text-underline-offset:3px;text-decoration-color:var(--teal);text-decoration-thickness:2px}
a:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:4px}
.wrap{max-width:1100px;margin:0 auto;padding:0 max(5vw,16px)}
header.top{border-bottom:1px solid var(--line)}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-height:68px}
.brand{display:flex;align-items:center;gap:10px;color:var(--navy);text-decoration:none;font:700 22px/1 "Outfit",system-ui,sans-serif}
.brand img{width:40px;height:40px;flex:none}
nav{display:flex;gap:6px;flex-wrap:wrap;font:500 16px/1 "Outfit",system-ui,sans-serif}
nav a{color:var(--muted);text-decoration:none;padding:14px 10px;border-radius:8px}
nav a:hover{color:var(--navy);background:var(--soft)}
.hero{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:clamp(20px,4vw,56px);align-items:center;padding-block:clamp(36px,6vw,80px)}
.hero img{width:100%;height:auto;display:block}
.hero h1{font:800 clamp(44px,7vw,76px)/1.02 "Outfit",system-ui,sans-serif;color:var(--navy);margin:0 0 14px;letter-spacing:-.01em}
.hero p{color:var(--muted);font-size:21px;margin:0 0 26px;max-width:34ch}
.btn{display:inline-flex;align-items:center;min-height:46px;padding:0 22px;border-radius:999px;background:var(--navy);color:#fff;text-decoration:none;font:600 16px/1 "Outfit",system-ui,sans-serif;box-shadow:0 0 0 3px var(--teal)}
.btn:hover{box-shadow:0 0 0 3px var(--gold)}
.band{padding:clamp(28px,4vw,64px) 0;border-top:1px solid var(--line)}
h2{font:700 30px/1.1 "Outfit",system-ui,sans-serif;color:var(--navy);margin:0 0 20px}
.posts{list-style:none;margin:0;padding:0}
.posts li{border-bottom:1px solid var(--line)}
.posts a{display:grid;grid-template-columns:9em minmax(0,1fr);gap:4px 20px;padding:18px 0;text-decoration:none;color:var(--ink)}
.posts a:hover .t{color:var(--link)}
.posts time{color:var(--muted);font:500 15px/1.9 "Outfit",system-ui,sans-serif;white-space:nowrap}
.posts .t{font:600 22px/1.3 "Outfit",system-ui,sans-serif;color:var(--navy)}
.posts .s{grid-column:2;color:var(--muted);font-size:16px}
.about{max-width:66ch}
footer{background:var(--navy);color:#c9d3ea;font:15px/1.5 "Outfit",system-ui,sans-serif;padding:28px 0 36px;border-top:4px solid var(--teal)}
/* post pages */
article{max-width:68ch;margin:0 auto;padding:clamp(32px,5vw,64px) max(5vw,16px)}
article .meta{color:var(--muted);font:500 15px/1 "Outfit",system-ui,sans-serif;margin:0 0 14px}
article h1{font:800 clamp(34px,5vw,50px)/1.08 "Outfit",system-ui,sans-serif;color:var(--navy);margin:0 0 28px;text-wrap:balance}
article h2{font-size:26px;margin:36px 0 12px}
article p{margin:0 0 1.1em}
article blockquote{margin:1.4em 0;padding:4px 0 4px 18px;border-left:4px solid var(--gold);color:var(--muted)}
article img{max-width:100%;height:auto;border-radius:12px}
.back{display:inline-block;margin-top:24px;font:500 16px/1 "Outfit",system-ui,sans-serif;padding:14px 0}
@media(max-width:720px){.hero{grid-template-columns:minmax(0,1fr);text-align:center;justify-items:center}.hero img{max-width:240px}.hero p{margin-inline:auto}}
@media(max-width:520px){body{font-size:17px}.posts a{grid-template-columns:minmax(0,1fr)}.posts .s{grid-column:1}}
article h3{font:600 21px/1.25 "Outfit",system-ui,sans-serif;color:var(--navy);margin:28px 0 8px}
article ul,article ol{padding-left:1.3em;margin:0 0 1.1em}
article li{margin:0 0 .45em}
article li::marker{color:var(--link);font-weight:600}
.scroll{overflow-x:auto;margin:1.4em 0}
article table{border-collapse:collapse;width:100%;font:15px/1.4 "Outfit",system-ui,sans-serif}
article th{background:var(--navy);color:#fff;text-align:left;font-weight:600;padding:10px 12px}
article td{padding:9px 12px;border-bottom:1px solid var(--line);vertical-align:top}
article tbody tr:nth-child(even){background:var(--soft)}
@media(max-width:600px){article table{font-size:14px}article th,article td{padding:8px 9px}}
article figure{margin:1.8em 0;text-align:center}
article figure img{width:auto;max-width:100%;max-height:560px;height:auto;border-radius:10px;box-shadow:0 2px 14px rgba(1,26,73,.14)}
article figcaption{margin-top:10px;color:var(--muted);font-size:15px;line-height:1.45;text-align:left;max-width:60ch;margin-inline:auto}
article .credit{display:block;font:500 13px/1.4 "Outfit",system-ui,sans-serif;margin-top:3px;color:#7b849b}
article blockquote .cite{font-size:15px;margin-top:.4em;font-style:normal}
