/* The Ouut — Ghost theme
   Apple system palette on white. */
:root{
  --bg:#FFFFFF; --surface:#FFFFFF; --ink:#000; --glass:rgba(255,255,255,.95); --panel:#F5F5F7; --panel2:#E5E5EA; --line:#E5E5EA; --line2:#D1D1D6;
  --text:#1D1D1F; --text2:#3A3A3C; --muted:#6E6E73; --dim:#6E6E73;
  --accent:#0071E3; --accent2:#0066CC; --fill-accent:#0071E3; --fill-red:#D70015; --fill-green:#1E7B34; --accent-soft:#E8F2FF; --accent-line:#B3D7FF;
  --green:#34C759; --green-t:#1E7B34; --red:#D70015; --orange:#FF9500; --orange-t:#C93400;
  --indigo:#5856D6; --indigo-d:#3634A3; --purple:#AF52DE; --pink:#FF2D55; --teal:#30B0C7; --mint:#00C7BE;
  --radius:14px; --nav-w:256px; --hdr:57px; --stick:106px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,"Roboto Mono","Liberation Mono",monospace;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--gh-font-body,var(--font));background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;
  display:flex;flex-direction:column;min-height:100vh;letter-spacing:-.003em}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.mono{font-variant-numeric:tabular-nums}
h1,h2,h3,h4,h5,.logo{font-family:var(--gh-font-heading,var(--font));color:var(--ink)}
svg.i{width:16px;height:16px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
::selection{background:var(--accent-line)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- Header ---------- */
.top{position:sticky;top:0;z-index:60;background:var(--glass);backdrop-filter:saturate(180%) blur(16px);-webkit-backdrop-filter:saturate(180%) blur(16px);
  border-bottom:1px solid var(--line);padding:10px 16px;display:flex;align-items:center;gap:12px;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand img{height:30px;width:auto}
.pulse{width:10px;height:10px;border-radius:50%;background:var(--accent);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.logo{font-weight:800;letter-spacing:-.03em;font-size:22px;white-space:nowrap;color:var(--text)}
.iconbtn.menu-btn{display:none}
.top-r{display:flex;align-items:center;gap:8px}
.iconbtn{padding:7px;border-radius:9px;background:var(--panel);color:var(--text2);transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s,transform .2s;display:inline-flex}
.iconbtn:hover{background:var(--panel2);color:var(--text)}
.link-btn{font-size:13px;font-weight:600;color:var(--text2);padding:7px 10px}
.link-btn:hover{color:var(--ink)}
.cta,.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:980px;background:var(--fill-accent);color:#fff;font-weight:600;font-size:13px;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s,transform .2s;white-space:nowrap}
.cta:hover,.btn:hover{background:#0062CC}
.btn.ghost{background:var(--surface);color:var(--text2);border:1px solid var(--line2)}
.btn.ghost:hover{color:var(--text);border-color:var(--muted)}

/* ---------- Banner ---------- */
.event{border-bottom:1px solid var(--accent-line);background:linear-gradient(90deg,var(--accent-soft),var(--surface) 50%,#F1F1FC)}
.event-in{max-width:1600px;margin:0 auto;padding:9px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;flex-wrap:wrap}
.event-l,.event-r{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.live{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:99px;background:#FFEEED;color:var(--red);
  border:1px solid #FFC9C5;font-size:11.5px;font-weight:700}
.event b{color:var(--text)}
.event .cta{padding:5px 12px;font-size:11px}
.presented{font-size:11px;color:var(--muted)} .presented b{color:var(--indigo)}

/* ---------- Section tabs (Ghost primary navigation) ---------- */
.sections{position:sticky;top:var(--hdr);z-index:55;background:var(--glass);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.sections-in{max-width:1600px;margin:0 auto;display:flex;gap:4px;padding:6px 12px;overflow-x:auto;scrollbar-width:none}
.sections-in::-webkit-scrollbar{display:none}
.sections a{display:flex;align-items:center;gap:7px;padding:8px 13px;border-radius:9px;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap;transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s,transform .15s}
.sections a:hover{color:var(--text)}
.sections a.on{color:var(--ink);background:var(--panel);box-shadow:inset 0 -2px 0 var(--ink)}

/* ---------- Shell ---------- */
.shell{flex:1 0 auto;display:flex;width:100%;max-width:1600px;margin:0 auto}
.side{width:var(--nav-w);flex-shrink:0;border-right:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;justify-content:space-between;
  transition:width .25s;position:sticky;top:var(--stick);height:calc(100vh - var(--stick));overflow-y:auto}
.side.collapsed{width:64px}
.side-in{padding:12px;display:flex;flex-direction:column;gap:22px}
.side-head{display:flex;align-items:center;justify-content:space-between}
.label{font-size:12px;font-weight:700;color:var(--muted);padding:0 8px}
.nav{display:flex;flex-direction:column;gap:4px}
.nav a{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:12px;
  font-size:13px;font-weight:500;color:var(--muted);border:1px solid transparent;transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s,transform .15s}
.nav a:hover{background:var(--panel);color:var(--text)}
.nav a.on{background:var(--accent-soft);color:var(--accent2);border-color:var(--accent-line);font-weight:700}
.nav .nm{display:flex;align-items:center;gap:11px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.count{font-size:10px;padding:2px 8px;border-radius:99px;background:var(--panel2);color:var(--muted)}
.on .count{background:var(--accent-soft);color:var(--accent2)}
.side.collapsed .hide-c{display:none}
.side.collapsed .nav a{justify-content:center}
.side.collapsed .side-head{justify-content:center}
.links{display:flex;flex-direction:column;gap:2px}
.links a{display:flex;align-items:center;gap:9px;padding:8px 12px;border-radius:9px;font-size:13px;color:var(--muted);transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s,transform .15s}
.links a:hover{background:var(--panel)}
.links a.on{color:var(--accent2);background:var(--accent-soft);font-weight:600}
.side-foot{padding:12px}

/* ---------- Feed ---------- */
.main{flex:1;display:flex;min-width:0}
.feed{flex:1;min-width:0;padding:24px;display:flex;flex-direction:column;gap:22px;max-width:900px;margin:0 auto;width:100%}
.reading .feed{max-width:none;margin:0;flex:0 0 42%}
.feed-head h1{font-size:28px;font-weight:800;letter-spacing:-.02em}
.feed-head p{font-size:14px;color:var(--muted);margin-top:6px;line-height:1.6;max-width:640px}
.author-head{display:flex;gap:16px;align-items:center}
.author-head img,.author-head .avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;flex-shrink:0}

.ticker{padding:16px;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);box-shadow:0 4px 16px rgba(0,0,0,.04)}
.ticker-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:8px}
.ticker-h h2{font-size:14px;font-weight:800;color:var(--ink);display:flex;align-items:center;gap:8px}
.ticker-h h2 span{font-weight:400;color:var(--dim);letter-spacing:.04em}
.ping{position:relative;width:10px;height:10px}
.ping::before,.ping::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--red)}
.ping::before{animation:ping 1.4s cubic-bezier(0,0,.2,1) infinite;opacity:.7}
@keyframes ping{75%,100%{transform:scale(2.2);opacity:0}}
.auto{font-size:11px;color:var(--green-t)}
.tick-list{display:flex;flex-direction:column;gap:8px}
.tick{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:10px;background:var(--panel);border:1px solid var(--line);font-size:12.5px;transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s,transform .15s}
.tick:hover{background:var(--panel2)}
.tick time{color:var(--dim);flex-shrink:0}
.tick p{color:var(--text2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tag{font-size:11.5px;font-weight:600;padding:2px 7px;border-radius:5px;flex-shrink:0;color:var(--accent2);background:var(--accent-soft)}
.tag.t-1{color:var(--orange-t);background:#FFF4E5}
.tag.t-2{color:var(--green-t);background:#EAF8EE}
.tag.t-3{color:#D30F45;background:#FFEEF1}

.feed-h{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px;gap:10px;flex-wrap:wrap}
.feed-h h2,.feed-h h3{font-size:14px;font-weight:700}
.markets{display:flex;gap:6px;flex-wrap:wrap}
.markets button{font-size:11px;font-weight:600;padding:5px 10px;border-radius:99px;border:1px solid var(--line2);color:var(--muted);transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s,transform .15s}
.markets button:hover{color:var(--text)}
.markets button.on{background:var(--text);color:#fff;border-color:var(--text)}

.list{display:flex;flex-direction:column;gap:16px}
.card{position:relative;padding:18px;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);cursor:pointer;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s,transform .2s;display:flex;gap:16px;align-items:flex-start}
.card:hover{border-color:var(--line2);box-shadow:0 6px 20px rgba(0,0,0,.06)}
.card.open{border-color:var(--accent);box-shadow:0 0 0 1px rgba(0,122,255,.25),0 12px 30px rgba(0,0,0,.08)}
.card.hide{display:none}
.thumb{width:150px;height:112px;border-radius:12px;overflow:hidden;flex-shrink:0;position:relative;background:var(--panel)}
.thumb img{width:100%;height:100%;object-fit:cover}
.read-b{position:absolute;top:8px;left:8px;background:var(--fill-green);color:#fff;font-size:10px;font-weight:700;padding:2px 8px;border-radius:99px;display:flex;align-items:center;gap:4px}
.read-b svg{width:11px;height:11px}
.body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);gap:8px}
.meta .l{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.cat{font-weight:700;color:var(--accent2)}
.mkt{font-size:10px;padding:1px 7px;border-radius:99px;border:1px solid var(--line2);color:var(--muted)}
a.mkt:hover{border-color:var(--muted)}
.card h3{font-size:18px;font-weight:700;line-height:1.3;transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s,transform .15s}
.card p.ex{font-size:13px;color:var(--muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.foot{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--dim);padding-top:4px}
.foot strong{color:var(--muted)}
.go{color:var(--accent2);font-weight:600;display:flex;align-items:center;gap:3px;transition:transform .15s}
.card:hover .go{transform:translateX(2px)}
.empty{padding:40px 20px;text-align:center;color:var(--dim);font-size:13px;border:1px dashed var(--line2);border-radius:var(--radius);background:var(--panel)}
.pagination{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);padding:8px 0}
.pagination a{color:var(--accent2);font-weight:600}

/* Fallback art when a post has no feature image */
.art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#007AFF,#5856D6)}
.art svg{width:40%;height:40%;stroke:rgba(255,255,255,.9);fill:none;stroke-width:1.4}
.art.a-1{background:linear-gradient(135deg,#5856D6,#AF52DE)}
.art.a-2{background:linear-gradient(135deg,#30B0C7,#34C759)}
.art.a-3{background:linear-gradient(135deg,#8E8E93,#48484A)}
.art.a-4{background:linear-gradient(135deg,#34C759,#00C7BE)}
.art.a-5{background:linear-gradient(135deg,#FF9500,#FF3B30)}
/* Known topics keep a fixed color, same as the first design */
.art.art-ai{background:linear-gradient(135deg,#007AFF,#5856D6)}
.art.art-venture-capital,.art.art-vc{background:linear-gradient(135deg,#5856D6,#AF52DE)}
.art.art-fintech{background:linear-gradient(135deg,#30B0C7,#34C759)}
.art.art-enterprise{background:linear-gradient(135deg,#8E8E93,#48484A)}
.art.art-climate{background:linear-gradient(135deg,#34C759,#00C7BE)}
.art.art-mobility{background:linear-gradient(135deg,#FF9500,#FF3B30)}

/* ---------- Lead story (home) ---------- */
.card.lead{padding:0;overflow:hidden;gap:0;align-items:stretch;border-color:var(--line2)}
.lead .thumb{width:50%;height:auto;min-height:320px;border-radius:0;flex-shrink:0}
.lead .thumb .art svg{width:22%;height:22%}
.lead .body{padding:26px 28px;gap:12px;justify-content:center}
.lead h2{font-size:28px;font-weight:800;line-height:1.16;letter-spacing:-.02em}
.lead .ex{font-size:15.5px;line-height:1.6;-webkit-line-clamp:4;color:var(--text2)}
.lead .foot{padding-top:6px}
.reading .card.lead{flex-direction:column}
.reading .lead .thumb{width:100%;min-height:0;aspect-ratio:16/9}
.reading .lead h2{font-size:24px}
@media (max-width:900px){.card.lead{flex-direction:column}.lead .thumb{width:100%;min-height:0;aspect-ratio:16/9}}
@media (max-width:640px){.lead .body{padding:18px 16px 16px}.lead h2{font-size:24px}.lead .ex{font-size:15px;-webkit-line-clamp:3}.card.lead .thumb{height:auto}}

/* ---------- Sponsor units ---------- */
.spon{border:1px solid #D7D6F6;border-radius:var(--radius);background:linear-gradient(135deg,#F1F1FC,#F6F0FC 60%,var(--surface));padding:16px;position:relative}
.spon-h{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.spon-h .who{font-size:11.5px;color:var(--muted)}
.ad-tag{font-size:11.5px;font-weight:700;color:var(--indigo);background:#EBEBFA;padding:3px 8px;border-radius:5px;border:1px solid #D7D6F6;flex-shrink:0}
.spon h4,.spon .spon-title{font-size:15px;font-weight:800;line-height:1.35;margin-bottom:6px}
.spon p{font-size:13px;color:var(--text2);line-height:1.55;margin-bottom:12px}
.spon .go2{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--indigo)}
.spon .go2:hover{color:var(--indigo-d)}
.spon.row2{display:flex;align-items:center;gap:10px 14px;padding:12px 16px;flex-wrap:wrap}
.spon.row2 p{margin:0;flex:1 1 220px;min-width:0}
.spon.feed-ad{padding:20px}
.spon.feed-ad h4,.spon.feed-ad .spon-title{font-size:16px}
.side-ad{padding:12px}
.side-ad h4,.side-ad .spon-title{font-size:13px}
.side-ad p{font-size:12px;margin-bottom:8px}
.side.collapsed .side-ad{display:none}
.powered{font-size:11px;color:var(--dim);display:flex;align-items:center;gap:6px 8px;flex-wrap:wrap}
.powered b{color:var(--indigo);font-weight:700;white-space:nowrap}

/* ---------- In-line reader ---------- */
.reader{display:none;flex:1;min-width:0;border-left:1px solid var(--line);background:var(--surface);flex-direction:column;
  position:sticky;top:var(--stick);height:calc(100vh - var(--stick));overflow-y:auto}
.reading .reader{display:flex}
.r-bar{position:sticky;top:0;z-index:5;background:var(--glass);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);
  padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.r-bar .l{display:flex;align-items:center;gap:12px;min-width:0}
.r-bar .ttl{font-size:12px;min-width:0}
.r-bar .ttl small{display:block;font-size:11px;color:var(--muted)}
.r-bar .ttl b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r-bar .r{display:flex;align-items:center;gap:12px}
.prog-t{text-align:right;font-size:11px;color:var(--muted)}
.prog-t b{display:block;color:var(--accent2);font-size:12px}
.prog{position:absolute;left:0;bottom:-1px;height:3px;width:0;background:linear-gradient(90deg,#007AFF,#5AC8FA);transition:width .12s}
.r-body{padding:28px 24px 48px}
.r-loading{padding:60px 24px;text-align:center;color:var(--dim);font-size:13px}

/* ---------- Article (post.hbs and reader) ---------- */
.article{max-width:700px;margin:0 auto;width:100%;display:flex;flex-direction:column;gap:24px}
.page-wrap{flex:1 0 auto;padding:32px 24px 56px;width:100%}
.r-kick{display:flex;gap:8px;font-size:12px;font-weight:600;color:var(--accent2);flex-wrap:wrap;align-items:center}
.r-kick .g{color:var(--muted);font-weight:500}
.article h1{font-size:36px;font-weight:800;line-height:1.12;letter-spacing:-.025em}
.article .dek{font-size:18px;color:var(--muted);line-height:1.5}
.byline{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.byline .who{display:flex;align-items:center;gap:10px}
.byline img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.byline strong{color:var(--text)}
.hero{border-radius:var(--radius);overflow:hidden}
.hero img{width:100%;height:auto}
.hero figcaption{font-size:12px;color:var(--dim);padding-top:8px}
.next{padding-top:28px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:14px}
.next-h{display:flex;justify-content:space-between;align-items:center}
.next-h h2,.next-h h4{font-size:14px;font-weight:800;display:flex;align-items:center;gap:8px}
.next-h h2 svg,.next-h h4 svg{color:var(--accent)}
.next-g{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.next-c{padding:14px;border-radius:12px;background:var(--panel);border:1px solid var(--line);transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s,transform .15s;display:flex;flex-direction:column;gap:6px}
.next-c:hover{background:var(--panel2)}
.next-c span{font-size:10.5px;color:var(--accent2)}
.next-c h3,.next-c h5{font-size:13.5px;font-weight:700;line-height:1.4}
.full-link{font-size:12px;font-weight:600;color:var(--accent2)}

/* Ghost content */
.gh-content{font-size:17px;line-height:1.75;color:var(--ink)}
.gh-content>*+*{margin-top:1.15em}
.gh-content>p:first-of-type::first-letter{font-size:2.7em;font-weight:800;color:var(--accent);float:left;line-height:.9;margin:6px 8px 0 0}
.gh-content h2{font-size:26px;font-weight:800;color:var(--ink);line-height:1.25;letter-spacing:-.015em;margin-top:1.6em}
.gh-content h3{font-size:20px;font-weight:700;color:var(--ink);line-height:1.3;margin-top:1.4em}
.gh-content a{color:var(--accent2);text-decoration:underline;text-decoration-color:var(--accent-line);text-underline-offset:3px}
.gh-content a:hover{text-decoration-color:var(--accent)}
.gh-content a.btn,.gh-content a.kg-btn,.gh-content .spon a{text-decoration:none}
.gh-content a.btn{color:#fff}
.gh-content a.btn.ghost{color:var(--text2)}
.gh-content strong{color:var(--text)}
.gh-content ul,.gh-content ol{padding-left:1.4em}
.gh-content li+li{margin-top:.4em}
.gh-content blockquote{border-left:3px solid var(--accent);padding:2px 0 2px 18px;font-size:19px;color:var(--text);font-style:italic}
.gh-content figure img{border-radius:12px}
.gh-content figcaption{font-size:12.5px;color:var(--dim);text-align:center;padding-top:8px}
.gh-content hr{border:0;height:1px;background:var(--line);margin:2em 0}
.gh-content pre{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px;overflow-x:auto;font-size:13px}
.gh-content code{font-family:var(--mono);font-size:.88em}
.gh-content table{width:100%;border-collapse:collapse;font-size:14px}
.gh-content th,.gh-content td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}
.gh-content th{font-size:12px;font-weight:600;color:var(--dim);background:var(--panel)}
.gh-content .spon{font-size:initial;margin:8px 0}
.gh-content .spon p::first-letter{all:unset}
.kg-width-wide{position:relative;width:min(100vw - 48px,1000px);left:50%;transform:translateX(-50%)}
.kg-width-full{position:relative;width:100vw;left:50%;transform:translateX(-50%)}
.kg-width-full img{border-radius:0!important}
.reader .kg-width-wide,.reader .kg-width-full{width:100%;left:0;transform:none}
.gh-cta{margin-top:24px}

/* ---------- Section pages ---------- */
.page{flex:1 0 auto;padding:28px 24px 48px;max-width:1150px;margin:0 auto;width:100%;display:flex;flex-direction:column;gap:26px}
.ph{display:flex;flex-direction:column;gap:8px}
.ph .k{font-size:14px;font-weight:700;color:var(--accent2)}
.ph h1{font-size:34px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.ph p{font-size:15px;color:var(--muted);max-width:640px;line-height:1.6}
.grid{display:grid;gap:16px}
.g4{grid-template-columns:repeat(4,1fr)} .g3{grid-template-columns:repeat(3,1fr)} .g2{grid-template-columns:repeat(2,1fr)}
.g21{grid-template-columns:2fr 1fr;align-items:start}
.panel{padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.panel h2,.panel h3{font-size:14px;font-weight:800;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.panel h2 svg,.panel h3 svg{color:var(--accent)}
.kpi small{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}
.kpi b{font-size:26px;font-weight:800;letter-spacing:-.02em}
.kpi span{display:block;font-size:11px;color:var(--dim);margin-top:4px}
.page-content{font-size:15px}
.page-content>p:first-of-type::first-letter{all:unset}
.tbl{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius)}
.tbl table{min-width:720px;font-size:13px}
.tbl tr:last-child td{border-bottom:0}
.tbl tr:hover td{background:var(--panel)}
.tbl td:first-child{font-weight:700;color:var(--text)}
.tbl td.amt{color:var(--green-t);font-weight:700;font-variant-numeric:tabular-nums}
.tbl tr.hide{display:none}
.row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.row:last-child{border-bottom:0}
.row small{color:var(--dim);font-size:11px}
.row .n{color:var(--accent2);font-weight:700;font-variant-numeric:tabular-nums}
.src{font-size:11px;color:var(--dim)}
.avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:15px;color:#fff;flex-shrink:0;object-fit:cover;background:linear-gradient(135deg,#007AFF,#5856D6)}
.person{display:flex;flex-direction:column;gap:12px}
.person .top-r{display:flex;gap:12px;align-items:center}
.person h3,.person h4{font-size:15px;font-weight:700}
.person .role{font-size:12px;color:var(--accent2);font-weight:600}
.person p{font-size:13px;color:var(--muted);line-height:1.55}
.person .meta2{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;color:var(--dim);margin-top:auto}
.person .meta2 a{color:var(--accent2);font-weight:600}
.desk-h{font-size:15px;font-weight:800;color:var(--text2);display:flex;align-items:center;gap:10px}
.desk-h::after{content:"";flex:1;height:1px;background:var(--line)}
/* podcast */
.pshow{display:flex;gap:22px;align-items:center}
.cover{width:150px;height:150px;border-radius:18px;flex-shrink:0;background:linear-gradient(135deg,#AF52DE,#5856D6);display:flex;flex-direction:column;justify-content:flex-end;padding:14px;position:relative;overflow:hidden;color:#fff}
.cover::before{content:"";position:absolute;right:-30px;top:-30px;width:120px;height:120px;border-radius:50%;border:14px solid rgba(255,255,255,.14)}
.cover b{font-size:24px;font-weight:800;letter-spacing:-.03em}
.cover small{font-size:11.5px;opacity:.85}
.ep{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.ep:last-child{border-bottom:0}
.play{width:42px;height:42px;border-radius:50%;background:var(--fill-accent);color:#fff;display:grid;place-items:center;flex-shrink:0;transition:color .15s,background-color .15s,border-color .15s,box-shadow .15s,transform .15s}
.play:hover{background:#0062CC;transform:scale(1.05)}
.play svg{width:16px;height:16px;fill:currentColor;stroke:none}
.ep-b{flex:1;min-width:0}
.ep-b small{font-size:11px;color:var(--dim);display:flex;gap:8px;flex-wrap:wrap}
.ep-b h2,.ep-b h3,.ep-b h4{font-size:15px;font-weight:700;margin:3px 0;line-height:1.35}
.ep-b p{font-size:13px;color:var(--muted);line-height:1.5}
.ep.now h2,.ep.now h3,.ep.now h4{color:var(--accent2)}
.featured-ep{display:flex;gap:18px;align-items:center}
.featured-ep .play{width:58px;height:58px}
.featured-ep .play svg{width:22px;height:22px}
/* events */
.ev{display:flex;gap:16px;align-items:flex-start}
.date{width:62px;flex-shrink:0;text-align:center;border-radius:12px;border:1px solid var(--line2);overflow:hidden}
.date small{display:block;background:var(--fill-red);color:#fff;font-size:11px;font-weight:700;padding:3px 0}
.date b{display:block;font-size:22px;font-weight:800;padding:6px 0 2px}
.date span{display:block;font-size:10px;color:var(--muted);padding-bottom:6px}
.ev-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.ev-b h3,.ev-b h4{font-size:16px;font-weight:700;line-height:1.35}
.ev-b .where{font-size:12.5px;color:var(--muted)}
.ev-b p{font-size:13px;color:var(--muted);line-height:1.55}
.ev-b .btn{align-self:flex-start;margin-top:6px}
.feature-ev{background:linear-gradient(135deg,var(--accent-soft),var(--surface) 55%,#F1F1FC);border-color:var(--accent-line)}
.feature-ev h2{font-size:24px;font-weight:800;line-height:1.2;margin:8px 0 10px}
.feature-ev .where{font-size:13px;color:var(--text2);margin-bottom:10px}
form.rsvp{display:grid;gap:10px}
.rsvp label{font-size:11px;font-weight:600;color:var(--muted);display:flex;flex-direction:column;gap:5px}
.rsvp input,.rsvp select{font:inherit;font-size:14px;color:var(--text);background:var(--surface);border:1px solid var(--line2);border-radius:10px;padding:10px 12px}
.rsvp input:focus,.rsvp select:focus{outline:2px solid var(--accent-line);border-color:var(--accent)}
.rsvp .msg{display:none;font-size:13px;padding:10px 12px;border-radius:10px}
.rsvp.success .msg-ok{display:block;color:var(--green-t);background:#EAF8EE;border:1px solid #BFE8C9}
.rsvp.error .msg-err{display:block;color:var(--red);background:#FFEEED;border:1px solid #FFC9C5}
.rsvp.loading button{opacity:.6;pointer-events:none}
/* newsletter block */
.nl{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.nl form{display:flex;gap:8px;flex-wrap:wrap}
.nl input{font:inherit;font-size:14px;border:1px solid var(--line2);border-radius:980px;padding:9px 14px;min-width:220px}

/* ---------- Podcast + video in the feed ---------- */
.feed-pod{display:flex;gap:16px;align-items:center;padding:18px;border-radius:var(--radius);border:1px solid #E3D3F6;background:linear-gradient(135deg,#F7F0FD,var(--surface) 70%)}
.mini-cover{width:110px;height:110px;border-radius:14px;flex-shrink:0;background:linear-gradient(135deg,#AF52DE,#5856D6);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:12px}
.mini-cover small{font-size:11px;font-weight:800;letter-spacing:.02em}
.mini-cover svg{width:28px;height:28px;align-self:flex-end;opacity:.9}
.fp-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.fp-k{font-size:12.5px;font-weight:700;color:var(--purple)}
.feed-pod h3,.feed-vid h3{font-size:17px;font-weight:700;line-height:1.3}
.feed-pod p,.feed-vid p{font-size:13px;color:var(--muted);line-height:1.55}
.fp-acts{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-top:4px}
.fp-acts .play{width:38px;height:38px}
.fp-more{margin-left:auto;font-size:12px;font-weight:600;color:var(--accent2)}
.feed-pod.now h3{color:var(--accent2)}
.feed-vid{padding:18px;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;gap:10px}
.fv-head{display:flex;align-items:center;justify-content:space-between}
.feed-vid .fp-k{color:var(--red)}
/* video boxes */
.vbox{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#000}
.vbox video,.vbox iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:#000}
.vthumb{position:absolute;inset:0;width:100%;height:100%;padding:0;cursor:pointer;background:var(--panel)}
.vthumb img{width:100%;height:100%;object-fit:cover}
.vthumb .art{background:linear-gradient(135deg,#FF3B30,#AF52DE)}
.vplay{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);display:grid;place-items:center;color:#fff;transition:background-color .15s,transform .15s}
.vplay svg{width:24px;height:24px;fill:currentColor;margin-left:3px}
.vthumb:hover .vplay{background:var(--fill-accent);transform:scale(1.06)}
.vloading{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:13px}
.vstage{padding:0;overflow:hidden;display:grid;grid-template-columns:1.6fr 1fr}
.vstage .vbox{border-radius:0}
.vinfo{padding:20px;display:flex;flex-direction:column;gap:8px}
.vinfo h2{font-size:22px;font-weight:800;line-height:1.25}
.vinfo p{font-size:14px;color:var(--muted);line-height:1.6}
.vgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.vcard{display:flex;flex-direction:column;gap:8px}
.vcard h3,.vcard h4{font-size:15px;font-weight:700;line-height:1.35}
.vcard.on .vbox{outline:3px solid var(--accent);outline-offset:2px}
.vcard .fp-k,.vinfo .fp-k{color:var(--muted)}
@media (max-width:900px){.vstage{grid-template-columns:1fr}.vgrid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.feed-pod{flex-direction:column;align-items:flex-start}.mini-cover{width:72px;height:72px;padding:9px}.mini-cover svg{width:20px;height:20px}.vgrid{grid-template-columns:1fr}.fp-acts span{display:none}}

/* ---------- Membership, sign-up, digest, topics, submissions ---------- */
.bill-toggle{display:inline-flex;align-self:flex-start;gap:4px;padding:4px;border-radius:12px;background:var(--panel);border:1px solid var(--line)}
.bill-toggle button{padding:7px 14px;border-radius:9px;font-size:13px;font-weight:600;color:var(--muted)}
.bill-toggle button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.tier{display:flex;flex-direction:column;gap:12px}
.tier .k{font-size:15px;font-weight:800;color:var(--accent2)}
.tier-paid{border-color:var(--accent-line);box-shadow:0 8px 24px rgba(0,122,255,.08)}
.tier-price b{font-size:32px;font-weight:800;letter-spacing:-.02em}
.tier-price span{font-size:13px;color:var(--muted);margin-left:4px}
.tier-desc{font-size:13.5px;color:var(--muted);line-height:1.55}
.tier-ben{list-style:none;display:flex;flex-direction:column;gap:8px;font-size:13.5px;color:var(--text2);flex:1}
.tier-ben li{display:flex;gap:8px;align-items:flex-start;line-height:1.45}
.tier-ben svg{color:var(--green);margin-top:2px}
.tier-ben.no li::before{content:"–";color:var(--red);font-weight:700}
.tier .btn{justify-content:center}
.nl-choices{display:flex;flex-direction:column;gap:8px}
.nl-choice{flex-direction:row!important;align-items:flex-start!important;gap:10px!important;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:13px!important;color:var(--text2)!important}
.nl-choice b{display:block;color:var(--text)}
.nl-choice small{display:block;font-weight:400;color:var(--muted);margin-top:2px}
.topic-card{display:flex;flex-direction:column;gap:8px;transition:border-color .15s,box-shadow .15s}
.topic-card:hover{border-color:var(--line2);box-shadow:0 6px 20px rgba(0,0,0,.06)}
.topic-card h2,.topic-card h4{font-size:16px;font-weight:700}
.topic-card p{font-size:13px;color:var(--muted);line-height:1.5;flex:1}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.chips span{font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:99px;background:var(--panel);border:1px solid var(--line);color:var(--text2)}
.row2f{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.checks{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}
.checks label{flex-direction:row!important;align-items:center;gap:8px!important;font-size:13px!important;font-weight:500!important;color:var(--text2)!important}
.rsvp textarea{font:inherit;font-size:14px;color:var(--text);background:var(--surface);border:1px solid var(--line2);border-radius:10px;padding:10px 12px;resize:vertical}
.steps{list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:12px}
.steps li{counter-increment:s;display:grid;grid-template-columns:28px 1fr;gap:2px 10px;font-size:13px}
.steps li::before{content:counter(s);grid-row:span 2;width:24px;height:24px;border-radius:50%;background:var(--accent-soft);color:var(--accent2);font-weight:800;display:grid;place-items:center;font-size:12px}
.steps b{color:var(--text)} .steps span{color:var(--muted);line-height:1.5}
.actions-block{font-size:15px}
.actions-block>p:first-of-type::first-letter{all:unset}
@media (max-width:640px){.row2f,.checks{grid-template-columns:1fr}}

/* ---------- Player ---------- */
.player{position:fixed;left:0;right:0;bottom:0;z-index:85;background:var(--glass);backdrop-filter:blur(12px);border-top:1px solid var(--line2);
  box-shadow:0 -6px 20px rgba(0,0,0,.08);padding:10px 16px;display:none;align-items:center;gap:14px}
.player.show{display:flex}
body.has-player{padding-bottom:70px}
.player .play{width:40px;height:40px}
.pl-info{min-width:0;width:260px}
.pl-info b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-info small{font-size:11px;color:var(--muted)}
.pl-track{flex:1;display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}
.pl-track input{flex:1;accent-color:var(--accent)}
.speed{font-size:11px;font-weight:700;min-height:28px;padding:5px 9px;border-radius:8px;border:1px solid var(--line2);color:var(--text2)}

/* ---------- Footer ---------- */
.site-foot{border-top:1px solid var(--line);background:var(--panel);padding:20px 16px;font-size:12.5px;color:var(--ink)}
.site-foot-in{max-width:1600px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.site-foot ul{list-style:none;display:flex;gap:16px;flex-wrap:wrap}
.site-foot a:hover{color:var(--ink)}

/* ---------- Mobile drawer + responsive ---------- */
.scrim{display:none}
@media (max-width:1100px){.reading .feed{flex-basis:46%}.link-btn{display:none}}
@media (max-width:900px){
  .iconbtn.menu-btn{display:inline-flex}
  .side{position:fixed;top:0;left:0;bottom:0;height:100vh;z-index:80;width:280px;transform:translateX(-100%);transition:transform .25s}
  .side.collapsed{width:280px}
  .side.collapsed .hide-c{display:initial}
  .side.drawer{transform:none;box-shadow:20px 0 60px rgba(0,0,0,.2)}
  .collapse-btn{display:none!important}
  .close-drawer{display:inline-flex!important}
  .scrim.show{display:block;position:fixed;inset:0;background:rgba(0,0,0,.3);z-index:70}
  .reading .feed{flex-basis:auto;max-width:900px;margin:0 auto}
  .reader{position:fixed;inset:0;height:100vh;z-index:90;border-left:0;animation:up .25s ease}
  body.lock{overflow:hidden}
  @keyframes up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
  .g4{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(2,1fr)}.g21{grid-template-columns:1fr}
}
@media (max-width:640px){
  .top{padding:9px 12px;gap:8px}
  .logo{font-size:19px}
  .event-in{padding:8px 12px}
  .hide-s{display:none}
  .feed{padding:16px 12px;gap:18px}
  .card{flex-direction:column;padding:14px;gap:12px}
  .thumb{width:100%;height:180px}
  .card h3{font-size:17px}
  .r-body{padding:22px 16px 40px}
  .page-wrap{padding:22px 16px 40px}
  .article h1{font-size:27px}
  .article .dek{font-size:16px}
  .gh-content{font-size:17px}
  .next-g{grid-template-columns:1fr}
  .prog-t{display:none}
  .page{padding:20px 12px 40px;gap:22px}
  .ph h1{font-size:27px}
  .g3,.g2{grid-template-columns:1fr}
  .pshow{flex-direction:column;align-items:flex-start}
  .cover{width:110px;height:110px}
  .pl-info{width:auto;flex:1}
  .pl-track{position:absolute;left:0;right:0;top:-3px;gap:0}
  .pl-track span,.player .speed{display:none}
  .pl-track input{margin:0;height:4px}
  .spon.row2 p{flex-basis:100%;order:2}.spon.row2 .go2{order:3}
  .nl input{min-width:0;flex:1}
}

/* ================= Accessibility & usability ================= */
/* B. Visible keyboard focus (not shown on mouse clicks) */
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.btn:focus-visible,.cta:focus-visible,.play:focus-visible{outline-offset:3px}
.card:focus-within{border-color:var(--accent)}
.card-link:focus-visible{outline:none}
.card:has(.card-link:focus-visible){box-shadow:0 0 0 2px var(--accent)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:0}
/* D. Skip link */
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:#000;color:#fff;padding:10px 14px;border-radius:10px;font-size:13px;font-weight:600}
.skip:focus{top:12px}
#content:focus{outline:none}
/* F. Form details */
.rsvp input[type=checkbox],.rsvp input[type=radio],.nl-choice input{width:18px;height:18px;padding:0;margin:0;flex-shrink:0;accent-color:var(--accent);border-radius:4px}
.checks label,.nl-choice{min-height:32px;cursor:pointer}
/* H. Numbers line up; headlines wrap evenly */
.tbl td,.kpi b,.tick time,.row .n,.count,.date b,.prog-t b,.pl-track,.tier-price b,.mono{font-variant-numeric:tabular-nums}
h1,h2,h3{text-wrap:balance}
.gh-content p,.ex{text-wrap:pretty}
/* I. Touch */
a,button,input,select,textarea,label,[data-play]{touch-action:manipulation}
html{-webkit-tap-highlight-color:rgba(0,113,227,.12)}
.side,.reader{overscroll-behavior:contain}
.player{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
body.has-player{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
.rsvp select{background-color:var(--surface);color:var(--text)}
/* J. Reduced motion: stop pulsing and sliding for people who ask for less motion */
@media (prefers-reduced-motion:reduce){
  .pulse,.live,.ping::before{animation:none!important}
  .reader{animation:none!important}
  *{scroll-behavior:auto!important}
  .card,.tick,.next-c,.btn,.cta,.iconbtn,.play,.vplay,.go,.side{transition-duration:0s!important}
  .vthumb:hover .vplay,.play:hover{transform:none!important}
}

/* ---------- Dark mode (toggle in header) ---------- */
html[data-theme="dark"]{color-scheme:dark;
  --bg:#0B0B0C; --surface:#1C1C1E; --panel:#2C2C2E; --panel2:#3A3A3C; --line:#38383A; --line2:#48484A;
  --text:#EBEBF0; --text2:#D1D1D6; --muted:#AEAEB2; --dim:#AEAEB2; --ink:#FFF; --glass:rgba(0,0,0,.9);
  --accent:#0A84FF; --accent2:#409CFF; --accent-soft:#0B2A4A; --accent-line:#1D4F80;
  --green-t:#30D158; --red:#FF453A; --orange-t:#FF9F0A; --indigo:#7D7AFF}
html[data-theme="dark"] .side,html[data-theme="dark"] .reader{background:var(--bg)}
html[data-theme="dark"] .event{background:linear-gradient(90deg,#0B2A4A,#000 60%)}
html[data-theme="dark"] .feature-ev{background:linear-gradient(135deg,#0B2A4A,var(--surface) 60%)}
html[data-theme="dark"] .spon{border-color:#3A3866;background:linear-gradient(135deg,#1E1D3A,var(--surface) 70%)}
html[data-theme="dark"] .ad-tag{background:#2A2950;border-color:#3A3866}
html[data-theme="dark"] .feed-pod{border-color:#4A2F63;background:linear-gradient(135deg,#2A1A3A,var(--surface) 70%)}
html[data-theme="dark"] .live,html[data-theme="dark"] .rsvp.error .msg-err{background:#3A1412;border-color:#6B2420}
html[data-theme="dark"] .rsvp.success .msg-ok{background:#0F3018;border-color:#1F5A2E}
html[data-theme="dark"] .tag.t-1{background:#3A2608}
html[data-theme="dark"] .tag.t-2{background:#0F3018}
html[data-theme="dark"] .tag.t-3{color:#FF6482;background:#3A1220}
html[data-theme="dark"] .on .count{background:#0B2A4A}
html[data-theme="dark"] .markets button.on{color:#000}
html[data-theme="dark"] .card,html[data-theme="dark"] .ticker{box-shadow:none}
html[data-theme="dark"] .skip{background:#FFF;color:#000}
html[data-theme="dark"] .gh-content blockquote,html[data-theme="dark"] .gh-content figcaption{color:var(--text2)}
.theme-btn .i-sun{display:none}
html[data-theme="dark"] .theme-btn .i-sun{display:block}
html[data-theme="dark"] .theme-btn .i-moon{display:none}
/* Dark mode reading comfort: soft white on near-black, a little more air */
html[data-theme="dark"] .gh-content{color:#E3E3E8;line-height:1.8;letter-spacing:.005em}
html[data-theme="dark"] .gh-content strong{color:#FFF}
html[data-theme="dark"] .gh-content a{color:#64B5FF;text-decoration-color:#2F6DA8}
html[data-theme="dark"] .article .dek{color:#C7C7CC}
/* Contrast fixes (WCAG 4.5:1): dark-mode ad label */
html[data-theme="dark"] .ad-tag{color:#9D9BFF}

/* ---------- Google AdSense spots (space is reserved so the page doesn't jump) ---------- */
.gads{display:block;margin:4px 0;padding:10px 0 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}
.gads-l{display:block;font-size:11.5px;color:var(--muted);margin-bottom:8px;text-align:left}
.gads ins{min-height:250px}
.gads-article{margin:28px 0}
.gads-article ins{min-height:280px}
.gads-side{border:0;padding:0 0 8px}
.gads-side ins{min-height:250px}
.gads:has(ins[data-ad-status="unfilled"]){display:none}
@media print{.gads{display:none}}
.no-gads .gads{display:none}

/* ---------- Logo lockup: OU monogram | two-line tagline ---------- */
.lockup{display:flex;align-items:center;gap:10px;color:var(--ink)}
.ou-mark{display:flex;font-weight:900;font-size:30px;line-height:1;letter-spacing:-.07em;padding-right:2px}
.ou-mark .m1{color:var(--ink)}
.ou-mark .m2{color:var(--accent)}
.tagline{display:flex;flex-direction:column;justify-content:center;padding-left:10px;border-left:2px solid var(--accent);
  font-size:13px;font-weight:700;line-height:1.2;letter-spacing:-.01em;color:var(--ink);white-space:nowrap}
@media (max-width:520px){.tagline{display:none}.ou-mark{font-size:28px}}

/* ---------- Embedded videos (YouTube, Vimeo, etc.) scale to the column ---------- */
.gh-content .kg-embed-card{display:flex;flex-direction:column;align-items:center;width:100%;max-width:100%;overflow:hidden}
.gh-content iframe[src*="youtube.com"],.gh-content iframe[src*="youtube-nocookie.com"],
.gh-content iframe[src*="player.vimeo.com"],.gh-content iframe[src*="loom.com"]{
  display:block;width:100% !important;max-width:100%;height:auto !important;aspect-ratio:16/9;border:0;border-radius:12px}
.gh-content .kg-embed-card figcaption{align-self:stretch}

/* ---------- Members page (/members/) ---------- */
.mem-sec{display:flex;flex-direction:column;gap:14px}
.mem-sec>h2,.mem-h h2{font-size:20px;font-weight:800;letter-spacing:-.01em}
.mem-h{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mem-note{font-size:12.5px;color:var(--muted)}
.mem-status{display:flex;align-items:center;gap:8px;font-weight:600;color:var(--green-t)!important}
.perk{display:flex;flex-direction:column;gap:10px}
.perk[hidden]{display:none}
.perk-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.perk-logo{width:44px;height:44px;border-radius:10px;object-fit:cover;background:var(--panel)}
.perk-ini{display:grid;place-items:center;font-weight:800;font-size:18px;color:var(--ink)}
.perk-cat{font-size:12px;font-weight:600;color:var(--muted);background:var(--panel);padding:3px 9px;border-radius:99px}
.perk h3{font-size:16px;font-weight:800;color:var(--ink)}
.perk-offer{font-size:14px;color:var(--text2);line-height:1.5;flex:1}
.perk .btn{justify-content:center}
.mem-ev{display:flex;flex-direction:column;gap:6px}
.mem-ev h3{font-size:15px;font-weight:700;color:var(--ink)}
.mem-ev .where{font-size:13px;color:var(--muted)}
.mem-ev-pro{font-size:12.5px;font-weight:600;color:var(--accent2)}

/* ---------- Resources library (/resources/) and resource pages ---------- */
.res-h2{font-size:20px;font-weight:800}
.res-card{display:flex;flex-direction:column;gap:8px}
.res-card[hidden]{display:none}
.res-card-cover{display:grid;place-items:center;height:180px;border-radius:10px;overflow:hidden;background:var(--panel);color:var(--muted)}
.res-card-cover img{height:100%;width:auto;max-width:100%;object-fit:contain}
.res-card-cover svg{width:40px;height:40px}
.res-card-meta{font-size:12px;font-weight:600;color:var(--muted)}
.res-card h3{font-size:16px;font-weight:800;color:var(--ink);line-height:1.3}
.res-card p{font-size:13.5px;color:var(--text2);line-height:1.5;flex:1}
.res-feat{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:center}
.res-feat .res-card-cover{height:240px}
.res-card .go2{font-size:13px;font-weight:600;color:var(--accent2)}
.res-feat-b{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.res-feat h2{font-size:24px;font-weight:800;color:var(--ink);line-height:1.2}
.res-feat p{font-size:15px;color:var(--text2);line-height:1.55}
.resource .res-head{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:start}
.res-cover img,.res-cover-ph{width:100%;aspect-ratio:3/4;border-radius:12px;object-fit:cover;display:grid;place-items:center;background:var(--panel);color:var(--muted)}
.res-cover-ph svg{width:48px;height:48px}
.res-info{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.res-acc{font-weight:600;color:var(--accent2)}
.res-gate{display:flex;flex-direction:column;gap:10px;width:100%;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.res-gate p{font-size:14px;color:var(--text2);line-height:1.5}
.res-form{display:flex;flex-wrap:wrap;gap:8px}
.res-form input[type=email]{flex:1;min-width:200px;font:inherit;font-size:15px;color:var(--text);background:var(--surface);border:1px solid var(--line2);border-radius:10px;padding:10px 12px}
.res-form .msg{display:none;width:100%;font-size:13px}
.res-form.success .msg-ok{display:block;color:var(--green-t)}
.res-form.error .msg-err{display:block;color:var(--red)}
@media (max-width:640px){
  .res-feat,.resource .res-head{grid-template-columns:1fr}
  .res-feat .res-card-cover{height:160px;width:120px}
  .res-cover{max-width:140px}
  .res-card{display:grid;grid-template-columns:84px 1fr;column-gap:14px;row-gap:4px;align-items:start}
  .res-card .res-card-cover{grid-row:1/span 4;height:112px}
  .res-card-cover svg{width:28px;height:28px}
}

/* Sidebar sections; collapsed sidebar shows icons only, never scrolls sideways */
.side-sec{border-top:1px solid var(--line);padding-top:16px;display:flex;flex-direction:column;gap:8px}
.side.collapsed{overflow-x:hidden}
.side.collapsed .side-in{padding:12px 8px;gap:14px}
.side.collapsed .side-sec{padding-top:12px;align-items:center}
.side.collapsed .links{align-items:center;gap:4px}
.side.collapsed .links a{justify-content:center;width:40px;height:40px;padding:0}
.side.collapsed .links svg{width:16px!important;height:16px!important}
.side.collapsed .nav a{padding:10px 0}
@media (max-width:900px){.side.collapsed .links a{width:auto;height:auto;padding:8px 12px;justify-content:flex-start}.side.collapsed .side-sec{align-items:stretch}}

/* ---------- Home feed: member perks card ---------- */
.feed-perks{display:flex;flex-direction:column;gap:14px;padding:18px;border-radius:var(--radius);border:1px solid var(--accent-line);background:linear-gradient(135deg,var(--accent-soft),var(--surface) 65%)}
.fpk-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fpk-head h2{font-size:17px;font-weight:800;color:var(--ink)}
.fpk-head .go2{font-size:13px;font-weight:600;color:var(--accent2)}
.fpk-grid{display:flex;flex-direction:column;gap:10px}
.fpk{display:flex;gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.fpk:hover{border-color:var(--accent-line)}
.fpk .perk-logo{width:40px;height:40px;flex-shrink:0}
.fpk-b{display:flex;flex-direction:column;gap:3px;min-width:0}
.fpk-b b{font-size:14px;color:var(--ink);line-height:1.3}
.fpk-b span{font-size:12.5px;color:var(--text2);line-height:1.45}
.fpk-foot{font-size:12.5px;color:var(--muted)}
.fpk-foot a{color:var(--accent2);font-weight:600}

/* ---------- Investors directory (/investors/) ---------- */
.inv-tools{display:flex;flex-direction:column;gap:10px}
.inv-search{font:inherit;font-size:15px;color:var(--text);background:var(--surface);border:1px solid var(--line2);border-radius:10px;padding:10px 12px;max-width:420px}
#invCount{margin-top:-12px}
.inv-card{display:flex;flex-direction:column;gap:8px}
.inv-card[hidden]{display:none}
.inv-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.inv-card-mk{display:flex;gap:4px;flex-wrap:wrap}
.inv-ini{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--ink);color:var(--surface);font-weight:800;font-size:16px;letter-spacing:.02em;flex:none}
.inv-ini-l{width:72px;height:72px;font-size:26px;border-radius:14px}
.inv-card h3{font-size:17px;font-weight:800;color:var(--ink);line-height:1.25}
.inv-card p{font-size:13.5px;color:var(--text2);line-height:1.5;flex:1}
.inv-stages{display:flex;gap:6px;flex-wrap:wrap}
.stg{font-size:11px;font-weight:600;padding:2px 8px;border-radius:99px;background:var(--panel);color:var(--text2)}
.inv-card .go2{font-size:13px;font-weight:600;color:var(--accent2)}
.investor .inv-head{display:flex;gap:18px;align-items:flex-start}
.inv-head-b{display:flex;flex-direction:column;gap:10px;min-width:0}
.investor .gh-content table{width:100%;border-collapse:collapse;font-size:15px}
.investor .gh-content th,.investor .gh-content td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--line)}
.investor .gh-content th{width:34%;font-weight:700;color:var(--ink);background:var(--panel)}
.inv-cov{display:flex;flex-direction:column;gap:4px}
.inv-cov h2{font-size:17px;font-weight:800;margin-bottom:4px}
.inv-note{margin-top:-4px}
@media (max-width:760px){
  .investor .inv-head{gap:14px}
  .inv-ini-l{width:56px;height:56px;font-size:20px}
  .investor .gh-content th{width:40%}
}
.investor .gh-content>p:first-of-type::first-letter{all:unset}
/* OU mark: straight horizontal cut through both letters (see-through on any background) */
.ou-mark{-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 44.5%,transparent 44.5%,transparent 55.5%,#000 55.5%);mask-image:linear-gradient(to bottom,#000 0,#000 44.5%,transparent 44.5%,transparent 55.5%,#000 55.5%)}
/* Readability: lead summary, live-wire headlines and card summaries */
.card.lead p.ex{font-size:17px;line-height:1.55;color:var(--text2);-webkit-line-clamp:4}
.tick{font-size:15px;align-items:flex-start;padding:11px 12px}
.tick time{padding-top:1px}
.tick p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;color:var(--text)}
.card p.ex{font-size:14.5px;color:var(--text2)}
@media (max-width:640px){.card.lead p.ex{font-size:16px;-webkit-line-clamp:3}.tick{font-size:14.5px}}
@media (max-width:640px){.tick{flex-wrap:wrap;row-gap:4px}.tick p{flex-basis:100%}}
/* 1.14.3 sidebar readability */
.side .nav a{color:var(--text2);font-weight:600}
.side .nav a svg{color:var(--muted)}
.side .nav a:hover svg,.side .nav a.on svg{color:inherit}
.side .nav a.on{font-weight:700}
.side .links a{color:var(--text2);font-weight:500}
.side .links a.on{font-weight:600}
.side .label{color:var(--text)}

/* Events: grouping + happening soon */
#evList .ev-group{grid-column:1/-1;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:8px}
#evList .ev-group:after{content:"";flex:1;height:1px;background:var(--line)}
#evList .ev-soonwrap{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;padding:12px;border-radius:var(--radius);background:var(--accent-soft);border:1px solid var(--accent-line)}
#evList .ev.is-soon{background:var(--surface)}
.ev-soon{align-self:flex-start;font-size:11px;font-weight:700;color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:999px;padding:2px 9px}
.is-soon .ev-soon{background:var(--accent);color:#fff;border-color:var(--accent)}
html[data-theme="dark"] #evList .ev-soonwrap{background:#0B2A4A;border-color:#123E6B}

/* Sign in / sign up logo: the homepage lockup, larger */
.auth-logo{display:inline-flex;align-self:flex-start;margin-bottom:14px}
.auth-logo .lockup{zoom:1.35}
.auth-logo img{height:40px;width:auto}
@media (max-width:520px){.auth-logo .tagline{display:flex}.auth-logo .lockup{zoom:1.15}}
