/* Link-in-bio page (/links/). One phone screen, any phone: widths flow from 320px up, and the vertical spacing
   shrinks with the screen height (svh) so it fits without scrolling on most phones. Very short screens scroll. */
@font-face{font-family:"Anton";src:url(../fonts/Anton-400.woff2) format("woff2");font-weight:400;font-display:swap} /* self-hosted (Google Fonts, OFL), latin only */
@font-face{font-family:"Open Sauce";src:url(../fonts/OpenSauceSans-400.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Open Sauce";src:url(../fonts/OpenSauceSans-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Open Sauce";src:url(../fonts/OpenSauceSans-700.woff2) format("woff2");font-weight:700;font-display:swap}
:root{
  --bg:#0B0F11; --card:#15191B; --line:#2A2F32; --line2:#22272A; --ink:#F5F5F1; --soft:#D6D8D7; --mute:#A9ADAC; --dim:#8E9392;
  --red:#B41F2B; --rose:#E07A72;
  --display:"Anton","Impact","Arial Narrow Bold",sans-serif; --body:"Open Sauce","Helvetica Neue",Arial,system-ui,sans-serif;
  --gap:clamp(12px,2.7svh,26px);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
svg{display:block}
.bio{width:100%;max-width:440px;min-height:100vh;min-height:100svh;margin:0 auto;display:flex;flex-direction:column;
  padding:calc(clamp(16px,3.4svh,32px) + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.bio > * + *{margin-top:var(--gap)}

.hd{text-align:center;display:flex;flex-direction:column;align-items:center}
.hd h1{margin:0;line-height:0}
.hd h1 img{width:clamp(170px,58vw,240px);max-height:12svh;height:auto;object-fit:contain}
.tag{margin:clamp(8px,1.6svh,14px) 0 0;font-size:clamp(13px,3.6vw,15px);line-height:1.45;color:var(--soft);max-width:340px;text-wrap:balance}
.when{margin:6px 0 0;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--rose)}

.lab{margin:0;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
.latest .lab{margin-bottom:8px}

details.ep summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;-webkit-tap-highlight-color:transparent}
details.ep summary::-webkit-details-marker{display:none}
details.ep summary:focus-visible{outline:2px solid var(--rose);outline-offset:3px;border-radius:8px}
.chev{width:20px;height:20px;flex:none;margin-left:auto;color:var(--dim);transition:transform .2s}
details[open] > summary .chev{transform:rotate(180deg)}

/* the latest episode: the one card on the page */
.ep.top{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 14px 0}
.ep.top summary{min-height:44px;padding-bottom:14px}
.ep.top .th{width:96px;height:54px;object-fit:cover;border-radius:8px;flex:none}
.ep.top:not([open]) .th{display:none}
.ep .t{min-width:0;display:flex;flex-direction:column;gap:3px}
.ep .k{font-size:12px;color:var(--mute)}
.ep.top .n{font-family:var(--display);font-size:clamp(20px,6.2vw,24px);line-height:1.1;letter-spacing:.01em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lbs{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:8px}
.lb{height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--ink)}
.lb .b{width:26px;height:26px}
.lb:focus-visible,.tile:focus-visible,.soc a:focus-visible,.guide:focus-visible,.all:focus-visible,.site:focus-visible{outline:2px solid var(--rose);outline-offset:2px}
.ep.top > :last-child{margin-bottom:14px}
.guide{display:flex;align-items:center;justify-content:space-between;min-height:46px;margin:14px 0 0;border-top:1px solid var(--line);font-size:14px;font-weight:600}
.ep.top > .guide:last-child{margin-bottom:0}
.guide .i,.all .i{width:18px;height:18px;flex:none;color:var(--rose)}

/* earlier episodes: a quiet list */
.lh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:2px}
.all{display:flex;align-items:center;gap:6px;min-height:36px;font-size:13px;font-weight:600;color:var(--soft)}
.all .i{width:15px;height:15px}
.ep.row{border-bottom:1px solid var(--line2)}
.ep.row summary{min-height:50px}
.ep.row .no{width:36px;flex:none;font-size:12px;font-weight:600;color:var(--dim)}
.ep.row .n{flex:1 1 auto;min-width:0;font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep.row .d{flex:none;font-size:12px;color:var(--dim)}
.ep.row .chev{margin-left:0}
.ep.row .in{display:flex;align-items:center;gap:12px;padding:0 0 12px 48px}
.ep.row .in .th{width:72px;height:40px;object-fit:cover;border-radius:6px;flex:none}
.ep.row .lbs{flex:1 1 auto;grid-template-columns:repeat(var(--n),44px)}
.ep.row .lb{height:44px}
.ep.row .lb .b{width:22px;height:22px}
.ep.row .guide{display:none}
.ep.row .soon{flex:none;font-size:13px;font-weight:600;color:var(--soft)}
.next .ep.row .d{color:var(--rose)}
.earlier + .earlier{margin-top:calc(var(--gap) * .7)}

/* get involved */
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tile{display:flex;flex-direction:column;min-height:clamp(100px,14svh,120px);padding:12px;border-radius:16px;background:var(--card);border:1px solid var(--line)}
.tile.red{background:var(--red);border-color:var(--red);color:#fff}
.tile .top{display:flex;align-items:center;justify-content:space-between;margin-bottom:auto}
.tile .ico{width:32px;height:32px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:rgba(224,122,114,.14);color:var(--rose)}
.tile.red .ico{background:rgba(255,255,255,.16);color:#fff}
.tile .ico svg{width:18px;height:18px}
.tile .go{width:16px;height:16px;color:var(--dim)}
.tile.red .go{color:#fff;opacity:.8}
.tile .q{margin-top:10px;font-size:11px;line-height:1.3;color:var(--mute)}
.tile.red .q{color:#FFD9D5}
.tile .a{margin-top:3px;font-family:var(--display);font-size:clamp(15px,4.4vw,17px);line-height:1.08;letter-spacing:.01em;text-transform:uppercase}

/* follow */
.ft{margin-top:auto !important;padding-top:var(--gap);display:flex;flex-direction:column;align-items:center;gap:2px}
.soc{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.soc a{width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.soc .b{width:24px;height:24px}
.site{display:flex;align-items:center;gap:6px;min-height:32px;font-size:13px;color:var(--dim);text-decoration:underline;text-underline-offset:3px}
.site svg{width:13px;height:13px}

@media (max-width:350px){ .tile{padding:10px} .tile .q{font-size:10px} .ep.row .in{padding-left:0} }
/* shorter screens (most phones inside Instagram's or TikTok's own browser): tighten first, then let the extras go */
@media (max-height:800px){
  :root{--gap:clamp(10px,2.2svh,18px)}
  .hd h1 img{max-height:10svh}
  .ep.row summary{min-height:44px}
  .lb,.ep.row .lb{height:42px}
  .guide{min-height:42px}
  .tile{min-height:84px}
  .tile .q{display:none}
}
@media (max-height:720px){ .tag,.site{display:none} .ft{padding-top:8px} }
@media (max-height:600px){
  .ep.top .th{display:none} .when{margin-top:4px}
  .ep.top{padding-top:10px} .ep.top summary{padding-bottom:10px} .ep.top > :last-child{margin-bottom:10px}
  .guide{margin-top:10px} .ep.row summary{min-height:42px}
  .tile{min-height:58px;justify-content:center} .tile .top{display:none} .tile .a{margin-top:0}
}
/* with no earlier episodes yet (the first weeks) there's room: keep the tagline, web address and tile questions */
.bio:not(:has(.earlier)) .tag,.bio:not(:has(.earlier)) .site{display:block}
.bio:not(:has(.earlier)) .site{display:flex}
.bio:not(:has(.earlier)) .tile .q{display:inline}
@media (prefers-reduced-motion:reduce){ .chev{transition:none} }

/* long words and email addresses wrap instead of pushing the page wider on small phones */
body{overflow-wrap:break-word}
picture{display:contents} /* the AVIF wrapper the build adds round photos never changes the layout */
