/* Articles, pillars and the index. Built against DESIGN.md, same tokens as personal-v2.html. */
:root{
  /* Copied from personal-v2.html. Four colours, one Miss AI (Keira, 2026-11-16, DESIGN.md Colour). Never beige or cream */
  --ink:#0d0e1a; --dusk:#181a2e; --paper:#f5f6f8; --card:#fff; --grey:#e8e9ee; --mute:#585b69; --line:rgba(13,14,26,.12);
  --brand:#B3212F; --estate:#0E7A55; --tradie:#F26B1D; --tradie-text:#c2410c; --consult:#1D2530; --lamp:#ffc247;
  --estate-soft:#dcf1e8; --estate-deep:#0a5c40; --brand-soft:#fbe3e6; --brand-deep:#8f1a26; --tradie-soft:#ffe8da; --tradie-deep:#9a3412;
  --r-sm:14px; --r-lg:24px;
}
*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--paper);color:var(--ink);font-family:"Archivo",system-ui,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.mono{font-family:"IBM Plex Mono",monospace}
.display{font-weight:800;font-stretch:116%;letter-spacing:-.03em;line-height:.98}
:focus-visible{outline:3px solid var(--lamp);outline-offset:3px;border-radius:6px}

.draftbar{background:var(--lamp);color:var(--ink);font-size:13px;padding:10px 20px}
.draftbar b{font-weight:700}

/* header: copied from personal-v2.html (DESIGN.md Navigation) */
header{position:sticky;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;padding:10px 0;
  background:rgba(245,246,248,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 0 0 100vmax rgba(245,246,248,.82);clip-path:inset(0 -100vmax)}
.menu{background:rgba(255,255,255,.78);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);
  border:1px solid var(--line);border-radius:999px;box-shadow:0 6px 20px rgba(13,14,26,.06)}
.mark{font-weight:800;font-stretch:112%;font-size:20px;letter-spacing:-.02em;text-decoration:none;display:flex;align-items:center;gap:9px;padding:6px 0}
.menu{position:absolute;left:50%;transform:translateX(-50%);display:none;gap:2px;padding:5px}
@media(min-width:900px){.menu{display:flex}}
.menu a{white-space:nowrap;text-decoration:none;font-size:15px;font-weight:600;color:var(--mute);padding:10px 18px;border-radius:999px;transition:color .2s, background .2s}
.menu a:hover{color:var(--ink);background:var(--paper)}
.menu a.on{color:var(--brand)}
.live{width:8px;height:8px;border-radius:50%;background:var(--brand)}
header .cta{display:flex;align-items:center}
.pill{display:inline-flex;align-items:center;gap:8px;background:var(--ink);color:var(--paper);font-size:14px;font-weight:700;text-decoration:none;padding:10px 16px;border-radius:999px;box-shadow:0 6px 20px rgba(13,14,26,.12)}
.pill i{width:7px;height:7px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 3px rgba(61,220,132,.25)}
.pill:hover{background:var(--brand)}

/* calm two-tone headings (DESIGN.md Type). The only extra-wide headline on the site is the home hero */
h2.soft,h1.soft{font-stretch:100%;font-weight:600;letter-spacing:-.03em;line-height:1.06}
.dim{color:#7d8090}
.closing .dim{color:rgba(251,248,242,.55)}

.btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:16px;text-decoration:none;padding:15px 22px;border-radius:var(--r-sm);transition:transform .15s ease}
.btn:hover{transform:translateY(-2px)}
.btn.estate{background:var(--estate);color:#fff}
.btn.tradie{background:var(--tradie);color:var(--ink)}
.btn.lamp{background:var(--lamp);color:var(--ink)}
.btn.ghost{border:1.5px solid currentColor;padding:13.5px 20.5px}

.crumbs{font-size:13px;color:var(--mute);display:flex;flex-wrap:wrap;gap:8px;padding-top:24px}
.crumbs a{text-decoration:none;color:var(--ink)}
.crumbs a:hover{text-decoration:underline}

.chip{display:inline-block;font-weight:700;font-size:12px;padding:4px 10px;border-radius:999px;background:var(--grey);color:var(--ink);text-decoration:none;font-family:"Archivo",system-ui,sans-serif}
.chip.re{background:var(--estate-soft);color:var(--estate-deep)} .chip.tr{background:var(--tradie-soft);color:var(--tradie-deep)}

/* article: meta rail left, words right. Asymmetric on purpose */
.top{padding:40px 0 8px}
.top h1{font-size:clamp(36px,5.2vw,64px);max-width:18ch;margin-top:18px;font-stretch:100%;font-weight:700;letter-spacing:-.03em;line-height:1.06}
.top h1.soft{font-weight:600}
.standfirst{font-size:clamp(19px,2.1vw,23px);color:var(--mute);max-width:38ch;margin-top:22px}
.page{display:grid;gap:28px;padding:40px 0 0}
@media(min-width:940px){.page{grid-template-columns:220px minmax(0,1fr);gap:72px}}
.rail{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;font-size:13px;color:var(--mute);align-self:start}
@media(min-width:940px){.rail{flex-direction:column;align-items:flex-start;position:sticky;top:24px;border-top:2px solid var(--ink);padding-top:16px}}
.rail .up{font-family:"Archivo",system-ui,sans-serif;font-weight:700;color:var(--ink);text-decoration:none;font-size:14px}
.rail .up:hover{text-decoration:underline}

.body{max-width:68ch;font-size:19px}
.body > * + *{margin-top:20px}
.body h2{font-weight:700;font-stretch:100%;letter-spacing:-.02em;line-height:1.12;font-size:clamp(26px,3vw,34px);margin-top:48px}
.body h3{font-weight:800;font-size:21px;margin-top:32px}
.body ul,.body ol{padding-left:22px}
.body li + li{margin-top:8px}
.body a{color:var(--brand);text-decoration-color:var(--brand);text-decoration-thickness:2px;text-underline-offset:3px;font-weight:600}
.body a:hover{background:var(--brand-soft)}
.body blockquote{border-left:5px solid var(--ink);padding:4px 0 4px 20px;font-size:22px;font-weight:600;font-stretch:106%}
.body code{font-family:"IBM Plex Mono",monospace;font-size:.85em;background:var(--grey);padding:1px 6px;border-radius:6px}
.re-page .body blockquote{border-color:var(--estate)}
.tr-page .body blockquote{border-color:var(--tradie)}

/* lists of articles, same shape as the home page journal */
.sec{padding:96px 0 0}
@media(max-width:700px){.sec{padding-top:64px}}
.eyebrow{font-size:13px;letter-spacing:.06em;color:var(--mute)}
.sec h2{font-size:clamp(30px,4.6vw,52px);font-stretch:100%;margin:10px 0 0;max-width:20ch}
.journal{list-style:none;margin-top:28px;border-top:2px solid var(--ink)}
.journal li{border-bottom:1px solid var(--line)}
.journal a{display:grid;gap:6px;padding:24px 4px;text-decoration:none;transition:padding .2s ease, background .2s ease}
@media(min-width:800px){.journal a{grid-template-columns:130px 1fr 150px;gap:28px;align-items:baseline}}
.journal a:hover{background:var(--card);padding-left:14px}
.journal .date{font-size:13px;color:var(--mute)}
.journal h3,.journal h4{font-size:clamp(20px,2.4vw,27px);line-height:1.18;font-weight:800;font-stretch:106%;letter-spacing:-.015em;overflow-wrap:anywhere}
.journal h3 span,.journal h4 span{display:block;font-weight:400;font-stretch:100%;font-size:16px;color:var(--mute);margin-top:6px;letter-spacing:0}
.journal .chip{justify-self:start}
@media(min-width:800px){.journal .chip{justify-self:end}}
.empty{color:var(--mute);padding:24px 4px}

.filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}
.filters a{font-size:14px;font-weight:700;border:1px solid var(--line);background:var(--card);border-radius:999px;padding:8px 14px;text-decoration:none}
.filters a:hover{background:var(--ink);color:var(--paper)}

/* closing ask */
.closing{margin-top:112px;background:var(--ink);color:var(--paper);border-radius:var(--r-lg);padding:48px 24px;display:grid;gap:24px}
@media(min-width:940px){.closing{grid-template-columns:1.3fr 1fr;padding:64px;align-items:end}}
.closing h2{font-size:clamp(34px,4.2vw,56px);font-stretch:100%;font-weight:700;line-height:1.08;letter-spacing:-.02em;max-width:13ch}
.closing h2 em{font-style:normal;color:var(--lamp)}
.closing p{font-size:18px;color:rgba(245,246,248,.78);max-width:38ch}
.closing .ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.closing .note{font-size:14px;margin-top:12px}

footer{padding:36px 0 44px;display:flex;flex-wrap:wrap;gap:12px 22px;justify-content:space-between;font-size:14px;color:var(--mute)}
footer nav{display:flex;flex-wrap:wrap;gap:8px 20px}
footer a{text-decoration:none;font-weight:600;color:var(--ink)}
footer a:hover{text-decoration:underline}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{transition:none!important}}
