/* Aftershocks series styles. Loaded by the Dariche theme on Aftershocks posts only.
   Colors follow the site palette and the light/dark switch. */
#ash{--ink:var(--text,#16212D);--ash-muted:var(--muted,#536172);--rule:var(--border,#CAD4DE);--paper:var(--surface,#F8FAFC);--card:var(--bg,#fff);--on-ink:var(--bg,#fff);--fog:color-mix(in srgb,var(--ink) 5%,var(--bg,#F8FAFC));--stage:#1a2e2b;--accent:#dd943a;--accent-ink:#9a5f17;--link:#4e634b;--fig:#1c3b39;--models:#2b6a64;--tools:#6b7d3a;--research:#4f6d8f;--safety:#a3423f;--markets:#b27616;--display:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-family:'Literata',Georgia,serif;font-size:17px;line-height:1.62;color:var(--ink);background:var(--fog);border-radius:22px;padding:clamp(18px,4.5vw,48px);margin:2em 0;text-align:left;-webkit-font-smoothing:antialiased}
:root[data-theme="dark"] #ash{--accent:#e8a650;--accent-ink:#e8a650;--link:#a9bd9c;--fig:#9fbf9a;--models:#6fb3a9;--tools:#a9bd6e;--research:#9ab0cf;--safety:#e57f78;--markets:#e8b04f;--fog:color-mix(in srgb,var(--ink) 4%,var(--bg));--stage:#0d1513}
:root[data-theme="dark"] #ash .ash-acts{border:1px solid var(--rule)}
#ash .ash-kicker{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-family:var(--display);font-size:14px;font-weight:650;color:var(--ash-muted);margin:0 0 clamp(28px,5vw,44px);padding-bottom:14px;border-bottom:2px solid var(--ink)}
#ash .ash-kicker b{color:var(--ink);font-weight:800;letter-spacing:.06em;text-transform:uppercase}
#ash *,#ash *::before,#ash *::after{box-sizing:border-box}
#ash h2,#ash h3,#ash p,#ash ul,#ash ol,#ash li,#ash fieldset,#ash legend{margin:0;padding:0;border:0}
#ash ul,#ash ol{list-style:none}
#ash h2{font-family:var(--display);font-weight:760;font-size:clamp(27px,4.6vw,40px);line-height:1.06;letter-spacing:-.022em;color:var(--ink);text-transform:none}
#ash h3{font-family:var(--display);font-weight:700;color:var(--ink);text-transform:none;letter-spacing:-.01em;line-height:1.2}
#ash p{color:inherit}
#ash a{color:var(--link);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
#ash a:hover{text-decoration-thickness:2px}
#ash button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none;border-radius:0;min-height:0;line-height:inherit;width:auto}
#ash button:disabled{cursor:default}
#ash button:focus-visible,#ash a:focus-visible,#ash summary:focus-visible,#ash input:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#ash [hidden]{display:none!important}
#ash .ash-section{margin-top:clamp(48px,8vw,72px)}
#ash .ash-section:first-of-type{margin-top:0}
#ash .ash-lede{color:var(--ash-muted);margin-top:12px;max-width:60ch}
#ash [data-cat=models],#ash .c-models{--c:var(--models)}
#ash [data-cat=tools],#ash .c-tools{--c:var(--tools)}
#ash [data-cat=research],#ash .c-research{--c:var(--research)}
#ash [data-cat=safety],#ash .c-safety{--c:var(--safety)}
#ash [data-cat=markets],#ash .c-markets{--c:var(--markets)}
#ash .ash-js-only{display:none}
#ash.ash-js .ash-js-only{display:block}
#ash.ash-js .ash-chips.ash-js-only,#ash.ash-js .ash-controls.ash-js-only,#ash.ash-js .ash-tabbar.ash-js-only,#ash.ash-js .ash-progress.ash-js-only{display:flex}
#ash.ash-js .ash-check.ash-js-only{display:inline-flex}
#ash .ash-btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--display);font-weight:650;font-size:15px;padding:9px 15px;border:1.5px solid var(--ink);border-radius:10px;background:transparent;color:var(--ink)}
#ash .ash-btn:hover{background:var(--card)}
#ash .ash-btn--solid{background:var(--ink);color:var(--on-ink)}
#ash .ash-btn--solid:hover{background:color-mix(in srgb,var(--ink) 85%,var(--fog))}
#ash .ash-btn:disabled{opacity:.35}
#ash .ash-seis{background:var(--paper);border:1px solid var(--rule);border-radius:16px;padding:18px clamp(14px,3vw,24px) 20px;margin-top:24px}
#ash .ash-chips{flex-wrap:wrap;gap:8px}
#ash .ash-chip{display:inline-flex;align-items:center;gap:7px;font-family:var(--display);font-weight:600;font-size:14px;padding:5px 12px;border:1px solid var(--rule);border-radius:999px;background:var(--card);color:var(--ink)}
#ash .ash-chip i{width:9px;height:9px;border-radius:50%;background:var(--c,var(--ink));display:inline-block}
#ash .ash-chip[aria-pressed=true]{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
#ash .ash-strip{position:relative;height:170px;margin:26px 4px 34px;border-bottom:2px solid var(--ink)}
#ash .ash-zone{position:absolute;left:0;bottom:0;top:0;width:9%;background:repeating-linear-gradient(135deg,transparent 0 5px,rgba(83,97,114,.09) 5px 6px);border-radius:6px 6px 0 0}
#ash .ash-break{position:absolute;left:10.6%;bottom:-9px;width:12px;height:16px;background:var(--paper);border-left:2px solid var(--ink);border-right:2px solid var(--ink);transform:skewX(-18deg)}
#ash .ash-spike{position:absolute;bottom:0;width:16px;margin-left:-8px;transform-origin:50% 100%;animation:ash-rise .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--d,0ms)}
#ash .ash-spike::before{content:"";position:absolute;bottom:0;top:5px;left:7px;width:2px;background:var(--c);transition:width .15s}
#ash .ash-spike::after{content:"";position:absolute;top:0;left:3px;width:10px;height:10px;border-radius:50%;background:var(--c);transition:transform .15s}
#ash .ash-spike:hover::after{transform:scale(1.35)}
#ash .ash-spike.is-on{z-index:2}
#ash .ash-spike.is-on::before{width:3px;left:6.5px}
#ash .ash-spike.is-on::after{transform:scale(1.55);box-shadow:0 0 0 3px var(--paper),0 0 0 4.5px var(--c)}
#ash .ash-spike.is-dim{opacity:.12;pointer-events:none}
#ash .ash-tick{position:absolute;top:100%;margin-top:9px;transform:translateX(-50%);font-family:var(--display);font-size:12.5px;font-weight:500;color:var(--ash-muted);white-space:nowrap}
@keyframes ash-rise{from{transform:scaleY(0)}to{transform:scaleY(1)}}
#ash .ash-detail{min-height:148px}
#ash .ash-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-family:var(--display);font-size:14px;font-weight:600;color:var(--ash-muted)}
#ash .ash-cat{display:inline-flex;align-items:center;gap:6px;color:var(--c)}
#ash .ash-cat::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
#ash .ash-detail h3{font-size:clamp(20px,3.4vw,25px);margin-top:6px}
#ash .ash-detail p.ash-dtext{margin-top:6px;max-width:62ch}
#ash .ash-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
#ash .ash-count{margin-left:auto;font-family:var(--display);font-size:14px;color:var(--ash-muted)}
#ash .ash-log{margin-top:18px;border-top:1px solid var(--rule)}
#ash.ash-js .ash-log{display:none}
#ash.ash-js.ash-showlist .ash-log{display:block}
#ash .ash-log li{display:grid;grid-template-columns:112px 1fr;gap:2px 16px;padding:12px 0;border-bottom:1px solid var(--rule)}
#ash .ash-log time{font-family:var(--display);font-weight:650;font-size:14px;color:var(--c);padding-top:2px}
#ash .ash-log strong{font-family:var(--display);font-weight:650;display:block;line-height:1.3}
#ash .ash-log span{grid-column:2;color:var(--ash-muted);font-size:15.5px}
#ash .ash-tldr{margin-top:18px}
#ash summary{cursor:pointer}
#ash .ash-tldr summary{display:inline-flex;font-family:var(--display);font-weight:650;font-size:15px;list-style:none;border-bottom:2px solid var(--ink);padding-bottom:1px}
#ash .ash-tldr summary::-webkit-details-marker{display:none}
#ash .ash-tldr ul{margin-top:12px;display:grid;gap:8px}
#ash .ash-tldr li{padding-left:18px;position:relative;max-width:62ch}
#ash .ash-tldr li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--c)}
#ash .ash-launches{margin-top:22px;border-bottom:1px solid var(--rule)}
#ash .ash-launch{border-top:1px solid var(--rule)}
#ash .ash-launch summary{list-style:none;display:grid;grid-template-columns:1fr auto 34px;gap:4px 18px;align-items:center;padding:18px 0}
#ash .ash-launch summary::-webkit-details-marker{display:none}
#ash .ash-launch h3{font-size:clamp(22px,4vw,31px);letter-spacing:-.02em;line-height:1.1}
#ash .ash-who{display:block;font-family:var(--display);font-size:14.5px;color:var(--ash-muted);margin-top:4px;font-weight:500}
#ash .ash-fig{text-align:right;font-family:var(--display);line-height:1.05}
#ash .ash-fig b{display:block;font-size:clamp(22px,3.6vw,28px);font-weight:760;letter-spacing:-.02em;color:var(--accent-ink)}
#ash .ash-fig small{font-size:12.5px;color:var(--ash-muted);font-weight:500}
#ash .ash-plus{width:30px;height:30px;border-radius:50%;border:1.5px solid var(--ink);position:relative;justify-self:end;transition:transform .25s,background .25s}
#ash .ash-plus::before,#ash .ash-plus::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.5px;background:var(--ink);transform:translate(-50%,-50%)}
#ash .ash-plus::after{transform:translate(-50%,-50%) rotate(90deg)}
#ash .ash-launch[open] .ash-plus{transform:rotate(45deg);background:var(--card)}
#ash .ash-launch-body{display:grid;grid-template-columns:1fr 1fr;gap:18px 28px;padding:0 0 22px}
#ash .ash-launch-body h4{font-family:var(--display);font-size:15px;font-weight:700;margin:0 0 4px;color:var(--ink);text-transform:none;letter-spacing:0}
#ash .ash-launch-body p{font-size:16px}
#ash .ash-launch-body .ash-catch h4{color:var(--safety)}
#ash .ash-also{margin-top:16px;color:var(--ash-muted);font-size:15.5px;max-width:62ch}
#ash .ash-acts{margin-top:24px;background:var(--stage);color:#E9EEF4;border-radius:16px;padding:clamp(20px,4vw,34px)}
#ash .ash-acts h3{color:#fff}
#ash .ash-track{height:4px;background:rgba(255,255,255,.14);border-radius:4px;overflow:hidden}
#ash .ash-track i{display:block;height:100%;width:100%;background:var(--accent);transition:width .35s ease}
#ash .ash-steps{display:flex;gap:8px;margin-top:14px}
#ash .ash-dot{width:34px;height:34px;border-radius:50%;border:1.5px solid rgba(255,255,255,.35);font-family:var(--display);font-weight:700;font-size:14px;color:#fff}
#ash .ash-dot.is-done{background:var(--accent);border-color:var(--accent);color:#1a2e2b}
#ash .ash-act{margin-top:22px}
#ash .ash-act .ash-when{font-family:var(--display);font-size:14px;font-weight:600;color:#e8a650}
#ash .ash-act h3{font-size:clamp(23px,4vw,32px);margin-top:4px;letter-spacing:-.02em}
#ash .ash-act p{margin-top:10px;max-width:60ch;color:#D9E1EA}
#ash.ash-js .ash-act{animation:ash-fade .35s ease both}
@keyframes ash-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#ash .ash-acts .ash-btn{border-color:rgba(255,255,255,.6);color:#fff}
#ash .ash-acts .ash-btn:hover{background:rgba(255,255,255,.1)}
#ash .ash-acts .ash-count{color:#AFBBC9}
#ash .ash-ideas{margin-top:22px}
#ash .ash-tabbar{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:end;justify-content:space-between;border-bottom:1px solid var(--rule)}
#ash .ash-tabs{display:flex;flex-wrap:wrap;gap:4px 20px}
#ash .ash-tab{font-family:var(--display);font-weight:650;font-size:16px;padding:8px 0 10px;color:var(--ash-muted);border-bottom:3px solid transparent;margin-bottom:-1px}
#ash .ash-tab[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}
#ash .ash-level{display:inline-flex;border:1.5px solid var(--ink);border-radius:999px;padding:2px;margin-bottom:8px}
#ash .ash-level button{font-family:var(--display);font-weight:650;font-size:14px;padding:5px 13px;border-radius:999px}
#ash .ash-level button[aria-pressed=true]{background:var(--ink);color:var(--on-ink)}
#ash .ash-panel{padding-top:20px}
#ash .ash-panel h3{font-size:22px}
#ash .ash-panel p{margin-top:8px;max-width:62ch}
#ash .ash-lvl-label{display:block;font-family:var(--display);font-size:14px;font-weight:700;color:var(--accent-ink);margin-top:14px}
#ash.ash-js .ash-lvl-label{display:none}
#ash.ash-js .ash-ideas[data-level=simple] .ash-deeper,#ash.ash-js .ash-ideas[data-level=deeper] .ash-simple{display:none}
#ash.ash-js .ash-panel>h3{display:none}
#ash .ash-reads{margin-top:22px;counter-reset:r}
#ash .ash-read{display:grid;grid-template-columns:44px 1fr;gap:4px 14px;padding:18px 0;border-top:1px solid var(--rule)}
#ash .ash-read:last-child{border-bottom:1px solid var(--rule)}
#ash .ash-read::before{counter-increment:r;content:counter(r);font-family:var(--display);font-weight:800;font-size:34px;line-height:1;color:var(--rule);transition:color .2s}
#ash .ash-read.is-read::before{color:var(--accent)}
#ash .ash-read h3{font-size:19px;line-height:1.3}
#ash .ash-read h3 a{color:var(--ink);text-decoration-color:var(--rule)}
#ash .ash-read h3 a:hover{text-decoration-color:var(--ink)}
#ash .ash-src{font-family:var(--display);font-size:14px;color:var(--ash-muted);margin-top:2px}
#ash .ash-read p{grid-column:2;font-size:16px;margin-top:4px;max-width:60ch}
#ash .ash-check{grid-column:2;display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-family:var(--display);font-size:14px;font-weight:600;cursor:pointer;width:max-content}
#ash .ash-check input{width:18px;height:18px;accent-color:var(--accent);margin:0}
#ash .ash-progress{margin-top:14px;font-family:var(--display);font-size:15px;font-weight:600;display:flex;align-items:center;gap:12px}
#ash .ash-progress .ash-track{flex:1;max-width:220px;background:var(--rule)}
#ash .ash-progress .ash-track i{background:var(--accent);width:0}
#ash .ash-note{margin-top:14px;font-size:14.5px;color:var(--ash-muted)}
/* Masthead image: sits above the report, left-aligned with the post; light/dark versions swap with the theme */
.ash-masthead{margin:0 0 clamp(20px,3vw,28px);line-height:0;max-width:1100px}
.ash-masthead img{display:block;width:100%;height:auto;margin:0;border:0}
.ash-masthead .ash-mast-dark{display:none!important}
:root[data-theme="dark"] .ash-masthead .ash-mast-light{display:none!important}
:root[data-theme="dark"] .ash-masthead .ash-mast-dark{display:block!important}
/* Inline sources */
#ash .ash-srclink,#ash .ash-dsrc a,#ash .ash-cite{font-family:var(--display);font-size:13.5px;font-weight:600;color:var(--ash-muted);text-decoration-color:var(--rule)}
#ash .ash-srclink:hover,#ash .ash-dsrc a:hover,#ash .ash-cite:hover{color:var(--ink);text-decoration-color:currentColor}
#ash .ash-log .ash-srclink{grid-column:2;justify-self:start;margin-top:2px}
#ash .ash-dsrc{margin-top:8px}
#ash .ash-cite{white-space:nowrap}
#ash .ash-acts a{color:#e8a650;text-decoration-color:rgba(232,166,80,.5)}
#ash .ash-acts .ash-cite{color:#AFBBC9}
#ash .ash-note{margin-top:clamp(40px,7vw,60px);padding-top:16px;border-top:2px solid var(--ink);font-family:var(--display);font-size:14px;color:var(--ash-muted)}
@media (max-width:600px){#ash{font-size:16px;border-radius:16px}#ash .ash-strip{height:140px}#ash .ash-launch summary{grid-template-columns:1fr 34px}#ash .ash-fig{grid-column:1;grid-row:2;text-align:left;display:flex;align-items:baseline;gap:8px}#ash .ash-fig b{display:inline;font-size:20px}#ash .ash-plus{grid-column:2;grid-row:1}#ash .ash-launch-body{grid-template-columns:1fr}#ash .ash-log li{grid-template-columns:1fr}#ash .ash-log span,#ash .ash-log .ash-srclink{grid-column:1}#ash .ash-count{margin-left:0;width:100%}#ash .ash-read{grid-template-columns:34px 1fr}#ash .ash-read::before{font-size:26px}#ash .ash-tick--wide{display:none}}
@media (prefers-reduced-motion:reduce){#ash *,#ash *::before,#ash *::after{animation:none!important;transition:none!important}}
