/* AVO v4: modern magazine, in the style of Blogzine and Magro. */
:root{
  --brand:#d43b00;--brand-2:color-mix(in srgb,var(--brand) 78%,#ffffff);
  --bg:#ffffff;--surface:#f5f6f8;--card:#ffffff;--text:#14161a;--muted:#6b7280;--line:#e7e9ee;
  --head:'Plus Jakarta Sans',system-ui,sans-serif;--body:'DM Sans',system-ui,sans-serif;--cond:'Barlow Condensed',sans-serif;
  --r:14px;--max:1280px;--shadow:0 10px 30px rgba(17,24,39,.08);
}
[data-theme=dark]{--bg:#0e1014;--surface:#161920;--card:#161920;--text:#f2f3f5;--muted:#9aa1ac;--line:#262a33;--shadow:0 10px 30px rgba(0,0,0,.4)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;transition:background .3s,color .3s}
img{display:block;max-width:100%}a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p,ul,figure{margin:0;padding:0}ul{list-style:none}button{font:inherit;color:inherit}
::selection{background:var(--brand);color:#fff}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.sr{position:absolute;left:-9999px}
.wrap{width:min(100% - 32px,var(--max));margin-inline:auto}
.h{font-family:var(--head);font-weight:800;letter-spacing:-.02em;line-height:1.15}
.ic{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* badges and meta */
.badge{display:inline-flex;align-items:center;gap:6px;font:700 12px/1 var(--body);color:#fff;padding:7px 10px;border-radius:6px;background:var(--brand)}
.badge::before{content:'';width:6px;height:6px;border-radius:50%;background:#fff;opacity:.85}
/* Section label colours are generated from the CMS (see render.ts layout()). */
.meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.meta .av{width:28px;height:28px;border-radius:50%;background:#fff;object-fit:cover}
.meta b{color:var(--text);font-weight:600}
.dot{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.6}

/* top bar, header, ticker */
.topbar{background:#111318;color:#cfd3da;font-size:13px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:38px;gap:16px}
.topbar .soc{display:flex;gap:14px}.topbar .soc a:hover{color:#fff}.topbar .soc .ic{width:16px;height:16px}
.header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header .wrap{display:flex;align-items:center;gap:28px;height:72px}
.logo img{height:38px;width:auto}
.nav{display:flex;gap:4px;margin-left:auto}
.nav a{font-family:var(--head);font-weight:700;font-size:14px;padding:10px 11px;border-radius:999px;transition:background .2s,color .2s;white-space:nowrap}
.nav .ddb{white-space:nowrap}
.nav a:hover{background:var(--surface)}.nav a[aria-current]{color:var(--brand)}
.actions{display:flex;align-items:center;gap:8px}
.iconbtn{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--card);cursor:pointer;transition:border-color .2s,transform .2s}
.iconbtn:hover{border-color:var(--brand);transform:translateY(-1px)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--brand);color:#fff;font:700 14px var(--head);cursor:pointer;transition:background .2s,transform .2s}
.btn:hover{background:var(--brand-2);transform:translateY(-1px)}
.btn-dark{background:var(--text);color:var(--bg)}
.burger{display:none}
.ticker{border-bottom:1px solid var(--line)}
.ticker .wrap{display:flex;align-items:center;gap:16px;height:52px;overflow:hidden}
.ticker .lab{flex:none;background:var(--brand);color:#fff;font:700 13px var(--head);padding:7px 12px;border-radius:6px}
.ticker .run{overflow:hidden;white-space:nowrap;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.ticker .run div{display:inline-block;animation:tk 60s linear infinite}
.ticker .run a{margin-right:40px;font-weight:600;font-size:14px}.ticker .run a:hover{color:var(--brand)}
@keyframes tk{to{transform:translateX(-50%)}}

/* overlay cards and bento hero */
.ocard{position:relative;display:block;border-radius:var(--r);overflow:hidden;background:#222;isolation:isolate}
.ocard>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.1,1);z-index:-2}
.ocard::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,0) 75%)}
.ocard:hover>img{transform:scale(1.06)}
.ocard .in{position:absolute;left:0;right:0;bottom:0;padding:22px;color:#fff}
.ocard .in h2,.ocard .in h3{margin:12px 0 10px;color:#fff}
.ocard .meta{color:rgba(255,255,255,.85)}.ocard .meta b{color:#fff}
.bento{display:grid;grid-template-columns:1.6fr 1fr 1fr;grid-template-rows:290px 290px;gap:20px;padding-top:28px}
.bento .b1{grid-row:1/3}.bento .b2{grid-column:2/4}
.bento .b1 h2{font-size:clamp(26px,2.6vw,38px)}.bento .b2 h3{font-size:24px}.bento .b3 h3,.bento .b4 h3{font-size:18px}

/* section titles */
.stitle{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:64px 0 24px}
.stitle h2{font-family:var(--cond);font-weight:700;font-size:30px;letter-spacing:.02em;text-transform:uppercase;line-height:1;display:flex;align-items:center;gap:12px}
.stitle h2::before{content:'';flex:none;width:10px;height:10px;border-radius:50%;background:var(--brand)}
.stitle a{font-weight:700;font-size:14px;color:var(--muted);white-space:nowrap}.stitle a:hover{color:var(--brand)}

/* cards */
.card{display:block}
.card .ph{position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:4/3;background:var(--surface)}
.card .ph img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.1,1)}
.card:hover .ph img{transform:scale(1.06)}
.card .ph .badge{position:absolute;left:14px;top:14px}
.card h3{font-size:20px;margin:14px 0 8px;transition:color .2s}
.card:hover h3{color:var(--brand)}
.card p.ex{color:var(--muted);font-size:15px;line-height:1.55;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:36px 28px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:36px 28px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.grid4 .ocard{aspect-ratio:3/4}.grid4 .ocard h3{font-size:18px}

/* main + sidebar */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:start}
.side{position:sticky;top:96px;display:grid;gap:36px}
.widget h4{font-family:var(--cond);font-weight:700;font-size:22px;text-transform:uppercase;letter-spacing:.02em;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--line);position:relative}
.widget h4::after{content:'';position:absolute;left:0;bottom:-2px;width:48px;height:2px;background:var(--brand)}
.social{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.social a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:10px;color:#fff;font-weight:700;font-size:14px;transition:transform .2s}
.social a:hover{transform:translateY(-2px)}
.social small{display:block;font-weight:400;font-size:12px;opacity:.85}
.s-ig{background:linear-gradient(45deg,#f09433,#dc2743,#bc1888)}.s-fb{background:#1877f2}.s-x{background:#111}.s-yt{background:#ff0000}.s-li{background:#0a66c2}.s-wa{background:#25d366}
.topics{display:grid;gap:10px}
.topics a{position:relative;display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 18px;border-radius:10px;overflow:hidden;color:#fff;font:700 16px var(--head);isolation:isolate}
.topics a img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.topics a::after{content:'';position:absolute;inset:0;z-index:-1;background:var(--tc);opacity:.82;transition:opacity .2s}
.topics a:hover::after{opacity:.65}
.topics span.c{background:rgba(255,255,255,.22);padding:4px 10px;border-radius:999px;font-size:13px}
.recent{display:grid;gap:16px}
.recent a{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:center}
.recent img{width:76px;height:76px;border-radius:10px;object-fit:cover}
.recent b{display:block;font-family:var(--head);font-size:15px;line-height:1.3;margin-bottom:4px}
.recent a:hover b{color:var(--brand)}
.recent span{font-size:12px;color:var(--muted)}
.nl{background:var(--brand);color:#fff;border-radius:var(--r);padding:26px}
.nl h4{color:#fff;border-color:rgba(255,255,255,.3)}.nl h4::after{background:#fff}
.nl p{font-size:15px;margin-bottom:14px;opacity:.95}
.nl input,.form input{width:100%;height:48px;border:0;border-radius:999px;padding:0 18px;font:500 15px var(--body);margin-bottom:10px;background:#fff;color:#14161a}
.nl .btn{width:100%;background:#14161a}.nl .btn:hover{background:#000}
.form-msg{font-size:13px;font-weight:700;min-height:1.3em;margin-top:6px}

/* slider */
.slider{position:relative}
.slider .track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:6px}
.slider .track::-webkit-scrollbar{display:none}
.slider .track>*{flex:none;width:calc((100% - 72px)/4);scroll-snap-align:start}
.arrows{display:flex;gap:8px}

/* top of the week */
.topweek{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.topweek a{display:block;position:relative}
.topweek .n{font-family:var(--cond);font-weight:700;font-size:72px;line-height:.8;color:transparent;-webkit-text-stroke:2px var(--brand);display:block;margin-bottom:12px}
.topweek img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r)}
.topweek h3{font-size:16px;margin-top:12px}.topweek a:hover h3{color:var(--brand)}

/* editor's choice band */
.editors{background:#111318;color:#fff;padding:20px 0 64px;margin-top:72px}
.editors .stitle h2{color:#fff}
.editors .eg{display:grid;grid-template-columns:1.3fr 1fr;gap:28px}
.editors .big{min-height:520px}.editors .big h3{font-size:clamp(24px,2.4vw,34px)}
.editors .list{display:grid;gap:18px}
.editors .list a{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;padding-bottom:18px;border-bottom:1px solid #2a2e37}
.editors .list img{width:150px;height:110px;object-fit:cover;border-radius:10px}
.editors .list h3{font-size:18px;margin:8px 0 6px}.editors .list a:hover h3{color:var(--brand-2)}
.editors .meta{color:#9aa1ac}

/* instagram strip */
.insta{position:relative;margin-top:72px;display:grid;grid-template-columns:repeat(8,1fr)}
.insta a{position:relative;aspect-ratio:1;overflow:hidden}
.insta img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.insta a::after{content:'';position:absolute;inset:0;background:rgba(212,59,0,.0);transition:background .3s}
.insta a:hover::after{background:rgba(212,59,0,.45)}.insta a:hover img{transform:scale(1.08)}
.insta .tag{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;background:var(--bg);color:var(--text);padding:14px 22px;border-radius:999px;font:700 15px var(--head);box-shadow:var(--shadow);display:flex;gap:8px;align-items:center}

/* footer */
/* breathing room between the page and the footer, except where the page already ends in a full-width band */
main{padding-bottom:88px}
main:has(>.insta:last-child,>.editors:last-child,>.hero-nl:last-child){padding-bottom:0}
.footer{background:#111318;color:#cfd3da;padding:72px 0 0}
.footer .fg{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.4fr;gap:40px}
.footer .logo img{height:44px}
.footer p{font-size:15px;line-height:1.6;margin-top:16px;color:#9aa1ac}
.footer h5{font:700 18px var(--cond);text-transform:uppercase;letter-spacing:.04em;color:#fff;margin:0 0 16px}
.footer li{margin-bottom:10px}.footer li a:hover{color:var(--brand-2)}
.footer .form{display:flex;gap:8px;margin-top:12px}.footer .form input{margin:0;flex:1}
.footer .bottom{margin-top:56px;border-top:1px solid #262a33;padding:22px 0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:#7c8390}
.totop{position:fixed;right:20px;bottom:20px;z-index:40;width:48px;height:48px;border-radius:50%;border:0;background:var(--brand);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .3s,transform .3s;transform:translateY(10px)}
.totop.on{opacity:1;pointer-events:auto;transform:none}

/* search overlay */
.search{position:fixed;inset:0;z-index:100;background:color-mix(in srgb,var(--bg) 96%,transparent);backdrop-filter:blur(8px);display:none;overflow-y:auto}
.search.on{display:block}
.search .wrap{max-width:820px;padding:80px 0}
.search input{width:100%;height:72px;border:0;border-bottom:3px solid var(--brand);background:transparent;font:800 clamp(24px,3vw,40px) var(--head);color:var(--text);outline:none}
.search .res{margin-top:24px;display:grid;gap:8px}
.search .res a{display:grid;grid-template-columns:64px 1fr;gap:16px;align-items:center;padding:10px;border-radius:12px}
.search .res a:hover{background:var(--surface)}
.search .res img{width:64px;height:64px;border-radius:10px;object-fit:cover}
.search .close{position:absolute;right:24px;top:24px}

/* page head (sections, archive) */
.phead{background:var(--surface);padding:48px 0 40px;border-bottom:1px solid var(--line)}
.crumbs{display:flex;gap:8px;font-size:13px;color:var(--muted);margin-bottom:12px}.crumbs a:hover{color:var(--brand)}
.phead h1{font-size:clamp(36px,5vw,64px)}
.phead p{color:var(--muted);font-size:17px;max-width:60ch;margin-top:10px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.chip{border:1px solid var(--line);background:var(--card);padding:8px 16px;border-radius:999px;font:700 14px var(--head);cursor:pointer}
.chip.on,.chip:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.more-btn{display:flex;justify-content:center;margin-top:40px}
.card.hide{display:none}

/* article */
.ahead{max-width:900px;margin:0 auto;padding:40px 16px 0;text-align:center}
.ahead .crumbs{justify-content:center}
.ahead h1{font-size:clamp(32px,4.6vw,56px);margin:16px 0 18px}
.ahead .dek{font-size:20px;color:var(--muted);max-width:60ch;margin:0 auto 22px}
.ahead .meta{justify-content:center}
.share{display:flex;gap:8px;justify-content:center;margin-top:18px}
.share a{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:#fff}
.share .ic{width:18px;height:18px}
.ahero{position:relative;width:fit-content;max-width:min(1168px,calc(100% - 32px));margin:36px auto 0}
.ahero img{display:block;width:auto;height:auto;max-width:100%;max-height:86vh;border-radius:20px}
.alayout{margin-top:48px}
.prose{font-size:19px;line-height:1.75;max-width:720px}
.prose>p{margin-bottom:1.3em}
.dropcap .prose>p:first-child::first-letter{font:800 4em/.8 var(--head);float:left;margin:.08em .12em 0 0;color:var(--brand)}
.prose h2,.prose h3,.prose h4{font-family:var(--head);font-weight:800;letter-spacing:-.02em;line-height:1.2;margin:1.8em 0 .6em;font-size:1.5em}
.prose h3,.prose h4{font-size:1.2em}
.prose p.q{font-family:var(--head);font-weight:800;font-size:1.02em;line-height:1.4;margin:1.8em 0 .5em}
.prose blockquote{margin:1.6em 0;padding:24px 28px;background:var(--surface);border-radius:var(--r);font-size:1.25em;font-weight:600;font-family:var(--head)}
.prose ul,.prose ol{padding-left:1.3em;margin-bottom:1.3em}.prose ul{list-style:disc}
.prose a{color:var(--brand);text-decoration:underline}
.pq{margin:40px 0;padding:36px;border-radius:20px;background:var(--brand);color:#fff;font:800 clamp(22px,2.4vw,32px)/1.25 var(--head)}
.pq small{display:block;margin-top:14px;font:600 14px var(--body);opacity:.9}
.tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:36px}
.tags a{background:var(--surface);padding:8px 14px;border-radius:8px;font-size:14px;font-weight:600}.tags a:hover{background:var(--brand);color:#fff}
.authorbox{display:flex;gap:22px;align-items:flex-start;margin-top:36px;padding:28px;border-radius:var(--r);background:var(--surface)}
.aimg{width:84px;height:84px;flex:none;border-radius:50%;object-fit:cover;background:#fff}
.aimg.big{width:132px;height:132px}
.authorbox .by{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:700}
.authorbox .aname{font-family:var(--head);font-weight:800;font-size:20px;display:inline-block;margin-top:2px}.authorbox .aname:hover{color:var(--brand)}
.authorbox small:not(.by){display:block;color:var(--brand);font-weight:700;font-size:13px;margin-top:2px}
.authorbox p{color:var(--muted);font-size:15px;margin-top:10px;line-height:1.6}
.alinks{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.alinks a:not(.more){width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--bg);border:1px solid var(--line)}
.alinks a:not(.more):hover{border-color:var(--brand);color:var(--brand)}.alinks .ic{width:16px;height:16px}
.alinks .more{font-weight:700;font-size:14px;margin-left:6px}.alinks .more:hover{color:var(--brand)}.alinks span{color:var(--muted);font-size:14px;margin-left:6px}
.ahd{display:flex;gap:32px;align-items:center}.ahd .role{color:var(--brand);font-weight:700;margin-top:6px}
.contribs{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:40px 0 64px}
.contrib{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:28px 18px;border-radius:var(--r);background:var(--surface);transition:transform .2s}
.profile{padding:36px 0 0}
.pgrid{display:grid;grid-template-columns:160px minmax(0,1fr);gap:44px;align-items:start;margin-top:20px}
.pimg{width:160px;height:160px;border-radius:50%;object-fit:cover;background:var(--surface)}
.prole{margin:6px 0 10px;font:700 13px var(--head);letter-spacing:.08em;text-transform:uppercase;color:var(--brand)}
.pmain h1{font-size:clamp(44px,7.4vw,104px);line-height:.95;letter-spacing:-.035em;margin:0}
.pbio{max-width:62ch;font-size:19px;line-height:1.65;margin:26px 0 0}
.psoc{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.psoc .soc{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;border:1px solid var(--line);border-radius:999px;font-weight:600;font-size:14px}
.psoc .soc:hover{border-color:var(--text)}.psoc .ic{width:16px;height:16px}
.pstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.6fr);margin:52px 0 0;border-top:1px solid var(--text)}
.pstats div{padding:18px 24px 4px 0}
.pstats dt{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.pstats dd{margin:6px 0 0;font:800 clamp(24px,3vw,36px)/1.1 var(--head);letter-spacing:-.02em}
.pstats div:last-child dd{font:700 18px/1.4 var(--head);letter-spacing:0;padding-top:6px}
.pabout{margin-top:60px}.pabout h2{font:700 20px var(--cond);text-transform:uppercase;letter-spacing:.04em;margin:0 0 14px}
.ptopics{display:flex;flex-wrap:wrap;gap:8px}
.ptopics a{display:inline-flex;align-items:baseline;gap:8px;padding:8px 15px;border:1px solid var(--line);border-radius:999px;font-weight:600;font-size:15px}
.ptopics a span{color:var(--muted);font-weight:500;font-size:13px}.ptopics a:hover{border-color:var(--text)}
.plead{margin-top:60px}.pfeature .ocard{aspect-ratio:21/9;min-height:360px}.pfeature .ocard h2{font-size:clamp(26px,3.4vw,44px)}
.pall{margin-top:60px}.pall .chips{margin:0 0 28px}.chip small{font-weight:600;opacity:.65;margin-left:2px}
.pempty{color:var(--muted)}
.contrib:hover{transform:translateY(-3px)}.contrib .aimg{width:96px;height:96px;margin-bottom:8px}
.contrib b{font-family:var(--head);font-size:17px}.contrib small{color:var(--brand);font-weight:700;font-size:13px}.contrib span{color:var(--muted);font-size:13px}
.pn{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:36px}
.pn a{padding:20px;border:1px solid var(--line);border-radius:var(--r);transition:border-color .2s}
.pn a:hover{border-color:var(--brand)}
.pn small{color:var(--muted);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.pn b{display:block;font-family:var(--head);margin-top:6px;line-height:1.3}
.pn a:last-child{text-align:right}

/* letter / about */
.hero-nl{background:var(--brand);color:#fff;padding:96px 0;text-align:center}
.hero-nl h1{font-size:clamp(40px,6vw,80px);color:#fff}
.hero-nl p{font-size:20px;max-width:56ch;margin:16px auto 28px;opacity:.95}
.hero-nl .form{max-width:520px;margin:0 auto;display:flex;gap:8px}.hero-nl .form input{margin:0;flex:1}
.hero-nl .btn{background:#14161a}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px}
.stats div{background:var(--surface);border-radius:var(--r);padding:28px}
.stats b{display:block;font:800 48px/1 var(--head);color:var(--brand)}
.stats span{color:var(--muted);font-size:14px}
.prose.wide{max-width:800px;margin:0 auto}

/* responsive */
@media (max-width:1023px){
  .nav{display:none;position:absolute;left:0;right:0;top:72px;flex-direction:column;background:var(--bg);padding:12px 16px 20px;border-bottom:1px solid var(--line)}
  .header.open .nav{display:flex}.burger{display:grid}
  .layout{grid-template-columns:1fr}.side{position:static}
  .slider .track>*{width:calc((100% - 24px)/2)}
  .topweek{grid-template-columns:repeat(3,1fr)}
  .grid4{grid-template-columns:repeat(2,1fr)}
  .footer .fg{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .topbar .date{display:none}
  .header .wrap{height:64px;gap:12px}.logo img{height:32px}.header .btn{display:none}
  .nav{top:64px}
  .bento{grid-template-columns:1fr 1fr;grid-template-rows:380px 220px 220px}
  .bento .b1{grid-column:1/3;grid-row:auto}.bento .b2{grid-column:1/3}
  .grid2,.grid3{grid-template-columns:1fr}
  .slider .track>*{width:78%}
  .topweek{grid-template-columns:1fr 1fr}
  .editors .eg{grid-template-columns:1fr}.editors .big{min-height:400px}
  .editors .list a{grid-template-columns:110px 1fr}.editors .list img{width:110px;height:84px}
  .insta{grid-template-columns:repeat(4,1fr)}
  .footer .fg{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr}
  .pn{grid-template-columns:1fr}.pn a:last-child{text-align:left}
  .hero-nl .form{flex-direction:column}
  .prose{font-size:18px}
  .stitle{margin:48px 0 20px}.stitle h2{font-size:24px}
}
@media (max-width:1023px){.contribs{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.contribs{grid-template-columns:1fr 1fr}.pgrid{grid-template-columns:1fr;gap:18px}.pimg{width:104px;height:104px}.pstats{grid-template-columns:1fr 1fr}.pfeature .ocard{aspect-ratio:4/5;min-height:0}.ahd{flex-direction:column;align-items:flex-start;gap:18px}.aimg.big{width:96px;height:96px}.authorbox{flex-direction:column;gap:14px}}
@media (max-width:560px){
  .topbar .tag{display:none}.topbar .wrap{justify-content:flex-end}
  .bento{grid-template-columns:1fr;grid-template-rows:420px;grid-auto-rows:260px}
  .bento .b1{grid-column:auto}.bento .b2,.bento .b3,.bento .b4{grid-column:auto}
  .topweek{grid-template-columns:1fr}
  .insta{grid-template-columns:repeat(3,1fr)}
}
@media (prefers-reduced-motion:reduce){.ticker .run div{animation:none}*{transition:none!important}}
.layout>*{min-width:0}
.social a{min-width:0}.social a>span{min-width:0;overflow:hidden}
.social small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent b{overflow-wrap:anywhere}

/* v5: CMS-driven additions */
.nav .dd{position:relative;display:inline-flex}
.nav .ddm{display:none;position:absolute;top:100%;left:0;min-width:200px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:0 12px 32px rgba(0,0,0,.12);z-index:60}
.nav .dd:hover .ddm,.nav .dd:focus-within .ddm,.nav .dd.on .ddm{display:grid}
.nav .ddb{font-family:var(--head);font-weight:700;font-size:14px;padding:10px 11px;border-radius:999px;border:0;background:none;color:inherit;cursor:pointer}
.nav .ddb::after{content:'';display:inline-block;width:6px;height:6px;margin-left:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-3px) rotate(45deg)}
.nav .ddb:hover{background:var(--surface)}
.nav .ddm a{padding:8px 10px;border-radius:8px}
@media (max-width:1023px){.nav .dd{display:block}.nav .ddm{display:grid;position:static;box-shadow:none;border:0;padding:0 0 0 14px}.nav .ddb{cursor:default;padding:14px 11px 4px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em}.nav .ddb::after{display:none}
  .nav{max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain}}
.header.compact .nav{display:none;position:absolute;left:0;right:0;top:72px;flex-direction:column;background:var(--bg);padding:12px 16px 20px;border-bottom:1px solid var(--line);max-height:calc(100dvh - 72px);overflow-y:auto}
.header.compact.open .nav{display:flex}.header.compact .burger{display:grid}
.header.compact .nav .dd{display:block}.header.compact .nav .ddm{display:grid;position:static;box-shadow:none;border:0;padding:0 0 0 14px}
.header.compact .nav .ddb{cursor:default;padding:14px 11px 4px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em}.header.compact .nav .ddb::after{display:none}
.preview-bar{position:sticky;top:72px;z-index:40;background:#14161a;color:#fff;text-align:center;font-weight:700;font-size:14px;padding:10px 16px}
.ahero figcaption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:36px 16px 11px;border-radius:0 0 20px 20px;background:linear-gradient(transparent,rgba(0,0,0,.6));color:#fff;font-size:12px;line-height:1.35;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.4);pointer-events:none}
.page-body{margin:48px auto 72px}
.logo b{font-family:var(--head);font-size:28px;color:var(--brand)}
.prose figure.inline{margin:32px 0}.prose figure.inline img{width:100%;height:auto;border-radius:var(--r)}
.prose figure.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:32px 0}
.prose figure.gallery img{width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}
.prose figure.gallery figcaption{grid-column:1/-1}
.prose figure figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.prose figure.embed{margin:32px 0}.prose figure.embed iframe{width:100%;border:0;border-radius:12px;display:block}
.prose figure.embed.video iframe{aspect-ratio:16/9;height:auto}
.prose .embed.link a{font-weight:700;color:var(--brand)}

.layout:not(:has(> aside)){grid-template-columns:minmax(0,1fr)}
.badge.sponsored{background:#14161a;color:#fff}
.disclosure{margin:28px 0 0;padding:14px 18px;border-radius:12px;background:var(--surface);color:var(--muted);font-size:15px}
.prose figure.file{margin:28px 0}
.file-card{display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-decoration:none;color:inherit}
.file-card:hover{border-color:var(--brand)}
.file-type{flex:none;width:52px;height:52px;border-radius:10px;display:grid;place-items:center;background:var(--brand);color:#fff;font:800 13px/1 var(--head)}
.file-meta{flex:1;min-width:0;display:grid}.file-meta b{font-family:var(--head);overflow-wrap:anywhere}.file-meta small{color:var(--muted)}
.file-btn{flex:none;font-weight:700;color:var(--brand)}
@media (max-width:560px){.file-btn{display:none}}
.prose blockquote p{margin:0}.prose blockquote p+p{margin-top:.6em}
.prose blockquote cite{display:block;margin-top:12px;font:600 14px var(--body);font-style:normal;color:var(--muted)}
.prose blockquote.pull{margin:44px 0;padding:36px;border-radius:20px;background:var(--brand);color:#fff;font:800 clamp(22px,2.4vw,32px)/1.25 var(--head)}
.prose blockquote.pull cite{color:#fff;opacity:.9}
.prose p.note{font-size:14px;color:var(--muted)}
.prose p.cta{margin:32px 0}.prose p.cta .btn{text-decoration:none}
.prose figcaption .credit{opacity:.8}.prose figcaption .credit::before{content:'';}
.ahero figcaption .credit{opacity:1}

/* newsletter sign-up and reader forms (phase 4A) */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.consent{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 0}
.rform{display:grid;gap:14px;max-width:640px;margin:24px 0}
.rform .rf{display:grid;gap:6px;border:0;padding:0;margin:0}
.rform label,.rform legend{font:700 14px var(--head)}
.rform input,.rform select,.rform textarea{width:100%;font:inherit;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text)}
.rform fieldset input{margin-top:6px}
.rform textarea{resize:vertical}
.rform .btn{justify-self:start}
.rform-intro{margin:0;color:var(--muted)}
.rform-closed,.rform-done{padding:16px 18px;border-radius:12px;background:var(--surface);margin:0}
.msg-form{margin-top:20px}

/* Cloudflare Turnstile: invisible unless a check is needed; then it sits under the form, never inside its row. */
.ts-box:empty{display:none}.ts-box{margin:10px 0 0;max-width:100%;overflow:hidden}.rform .ts-box{margin:4px 0 14px}

/* Cookie choices: the banner (bottom corner, never blocks reading), the settings dialog, embed placeholders, legal links */
.linkbtn{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ck-banner{position:fixed;left:16px;bottom:16px;z-index:60;width:min(520px,calc(100% - 32px));background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:20px 22px}
.ck-banner h2{font:800 17px/1.3 var(--head);margin:0 0 6px}.ck-banner p{font-size:14px;line-height:1.55;color:var(--muted)}.ck-banner p a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.ck-a{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:14px}.ck-a .btn{height:40px;padding:0 18px;font-size:13.5px}.ck-a .linkbtn{font-size:14px;font-weight:700}
.ck-d{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--card);color:var(--text);padding:0;box-shadow:var(--shadow)}
.ck-d::backdrop{background:rgba(10,12,16,.55)}
.ck-f{padding:22px 24px 24px;display:grid;gap:14px}.ck-f>p{font-size:14.5px;color:var(--muted)}.ck-f>p a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.ck-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.ck-top h2{font:800 20px var(--head)}
.ck-c{border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:grid;gap:6px}.ck-c p{font-size:14px;color:var(--muted);line-height:1.55}
.ck-ch{display:flex;align-items:center;justify-content:space-between;gap:12px}.ck-ch h3{font:700 15px var(--head)}.ck-ch label{cursor:pointer}
.ck-on{font-size:13px;font-weight:700;color:var(--muted)}
.ck-sw{appearance:none;-webkit-appearance:none;width:46px;height:26px;border-radius:999px;background:var(--line);position:relative;cursor:pointer;flex:none;margin:0;transition:background .15s}
.ck-sw::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.ck-sw:checked{background:var(--brand)}.ck-sw:checked::after{transform:translateX(20px)}
.ck-note{font-size:13.5px!important}
.prose figure.embed.gated{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:18px 20px}
.embed-gate{display:grid;gap:8px}.embed-gate-h{font:800 16px var(--head)!important;margin:0!important}.embed-gate-t{font-size:14px!important;line-height:1.55;color:var(--muted);margin:0!important}
.embed-gate-t a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.embed-gate-a{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:4px}.embed-gate-a .btn{height:40px;padding:0 16px;font-size:13.5px}
.embed-gate-a .btn.ghost{background:transparent;color:var(--text);border:1px solid var(--line)}.embed-gate-a .btn.ghost:hover{border-color:var(--text)}
.embed-gate-a a{font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.footer .legal{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0 0 26px;font-size:13px;color:#9aa1ac}.footer .legal a:hover,.footer .legal .linkbtn:hover{color:#fff}
@media(max-width:560px){.ck-banner{left:8px;bottom:8px;width:calc(100% - 16px);padding:16px}.ck-a .btn{flex:1 1 40%}}
