/* clish.com — one stylesheet for every page. Bubbles video behind, translucent band in front, Courier titles, Arial text. */
:root{--navy:#001f3f;--band:rgba(0,0,0,.7);--ink:#fff;--dim:#c7d2e6;--rule:rgba(255,255,255,.22)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html,body{margin:0;min-height:100%}
body{font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--navy);font-size:17px;line-height:1.5}
a{color:var(--ink)}
img{max-width:100%}

/* background video (same file on every page) */
video.bg{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;background:var(--navy)}

/* page shell */
.wrap{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;padding:4vh 16px 5vh}
.band{background:var(--band);padding:28px 28px 32px;margin:0 auto;width:100%;max-width:980px}
.band.narrow{max-width:720px}

/* titles */
h1{font-family:"Courier New",Courier,monospace;font-weight:700;font-size:clamp(26px,4.6vw,52px);line-height:1.15;text-align:center;margin:0 0 8px;letter-spacing:.02em;overflow-wrap:anywhere}
h1 a{text-decoration:none}
h2{font-family:"Courier New",Courier,monospace;font-size:clamp(19px,2.4vw,24px);margin:34px 0 10px;border-bottom:1px solid var(--rule);padding-bottom:6px}
.lede{text-align:center;margin:0 0 10px;font-size:clamp(17px,2vw,20px);color:#e6ecf7}
.lede i{font-style:italic}
.note{color:var(--dim);font-size:15px;margin:0 0 10px}

/* site nav — same line on every page */
.nav{text-align:center;margin:14px 0 0;font-size:16px}
.nav a{text-decoration:none;padding:6px 10px;display:inline-block;border-radius:4px}
.nav a:hover,.nav a:focus-visible{background:rgba(255,255,255,.12);outline:none}
.nav a[aria-current]{text-decoration:underline;text-underline-offset:4px}
.nav .dot{color:var(--dim);padding:0 2px}
.band>.nav:first-child{margin:0 0 8px}

/* home: three show tiles */
.shows{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:760px;margin:12px auto 26px;padding:0;list-style:none}
.shows a{display:block;text-align:center;text-decoration:none}
.shows img{width:100%;max-width:200px;aspect-ratio:1;object-fit:contain;transition:transform .25s ease}
.shows a:hover img,.shows a:focus-visible img{transform:scale(1.08)}
.shows a:focus-visible{outline:2px solid #ffcc00;outline-offset:4px;border-radius:6px}
.shows span{display:block;margin-top:8px;font-size:16px;line-height:1.3;text-decoration:underline;text-underline-offset:3px}

/* home: typing headline (one-shot), falls back to plain text when motion is reduced */
.typing{display:inline-block;white-space:nowrap;overflow:hidden;border-right:2px solid;vertical-align:bottom;letter-spacing:0;padding-right:.08em;max-width:0;animation:typing 3s steps(23,end) forwards,caret .8s step-end 3s 1 forwards}
@keyframes typing{from{max-width:0}to{max-width:calc(23ch + .3em)}}
@keyframes caret{to{border-color:transparent}}
.fade{opacity:0;animation:fadein 1.2s ease 2.4s forwards}
@keyframes fadein{to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .typing{animation:none;border-right:0;white-space:normal;max-width:none}
  .fade{opacity:1;animation:none}
  .shows img{transition:none}
}
@media (max-width:420px){.typing{white-space:normal;border-right:0;animation:none;max-width:none}}

/* podcast pages */
.player{margin:18px 0 6px}
.player iframe{display:block;width:100%;max-width:660px;height:450px;margin:0 auto;border:0;border-radius:12px;background:transparent}
.listen{text-align:center;font-size:15px;color:var(--dim)}

/* article roster */
ul.arts{list-style:none;margin:0;padding:0}
.arts li{margin:0 0 16px;font-size:20px;line-height:1.35}
.arts li a{display:grid;grid-template-columns:128px 1fr;gap:14px;align-items:center;text-decoration:none}
.arts li a b{text-decoration:underline;text-underline-offset:3px;font-weight:700}
.arts li small{display:block;color:var(--dim);font-size:15px;font-weight:400;margin-top:2px}
.arts img,.arts .noimg{width:128px;height:72px;object-fit:cover;border-radius:3px;background:rgba(255,255,255,.08);display:block}

/* tools */
.tool{display:grid;grid-template-columns:1fr auto;gap:8px 18px;align-items:start;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.15)}
.tool strong{font-size:20px}
.tool small{display:block;color:var(--dim);font-size:15px;margin-top:4px}
.tool .go{font-family:"Courier New",Courier,monospace;font-size:14px;white-space:nowrap;padding-top:4px}
.tool .go a{margin-left:14px}
.tool .go a:first-child{margin-left:0}

.foot{text-align:center;font-size:14px;color:var(--dim);margin:28px 0 0}

/* phones */
@media (max-width:600px){
  body{font-size:16px}
  .wrap{padding:3vh 12px 4vh;justify-content:flex-start}
  .band{padding:20px 16px 24px}
  .shows{grid-template-columns:repeat(3,1fr);gap:12px}
  .shows span{font-size:13px}
  .arts li{font-size:18px}
  .arts li a{grid-template-columns:96px 1fr;gap:10px}
  .arts img,.arts .noimg{width:96px;height:54px}
  .tool{grid-template-columns:1fr}
  .tool .go{white-space:normal}
  .player iframe{height:420px}
  .nav{font-size:15px}
}
/* podcast titles: tighter in the narrow band */
.band.narrow h1{font-size:clamp(24px,3.4vw,38px)}
.band.narrow h1 .sub{display:block;font-family:Arial,Helvetica,sans-serif;font-weight:400;font-size:.55em;letter-spacing:0;color:#e6ecf7;margin-top:6px}

/* big displays (Studio Display, 27-inch and up): more content, less bubble */
@media (min-width:1500px){
  body{font-size:20px}
  .band{max-width:1320px;padding:40px 48px 44px}
  .band.narrow{max-width:960px}
  h1{font-size:clamp(52px,3.6vw,72px)}
  h2{font-size:28px;margin-top:42px}
  .lede{font-size:24px}
  .note{font-size:18px}
  .nav{font-size:19px}
  .shows{max-width:1000px;gap:36px}
  .shows img{max-width:270px}
  .shows span{font-size:19px}
  .arts li{font-size:24px;margin-bottom:20px}
  .arts li a{grid-template-columns:176px 1fr;gap:20px}
  .arts img,.arts .noimg{width:176px;height:99px}
  .arts li small{font-size:17px}
  .band.narrow h1{font-size:clamp(40px,3vw,52px)}
  .player iframe{max-width:860px;height:520px}
  .listen{font-size:18px}
  .tool strong{font-size:24px} .tool small{font-size:18px} .tool .go{font-size:16px}
  .foot{font-size:16px}
}
@media (min-width:2200px){
  body{font-size:24px}
  .band{max-width:1800px;padding:56px 64px 60px}
  .band.narrow{max-width:1200px}
  h1{font-size:96px}
  h2{font-size:34px}
  .lede{font-size:30px}
  .note{font-size:22px}
  .nav{font-size:24px}
  .shows{max-width:1400px;gap:60px;margin-top:30px}
  .shows img{max-width:380px}
  .shows span{font-size:24px;margin-top:14px}
  .arts li{font-size:30px;margin-bottom:24px}
  .arts li a{grid-template-columns:240px 1fr;gap:24px}
  .arts img,.arts .noimg{width:240px;height:135px}
  .arts li small{font-size:20px}
  .band.narrow h1{font-size:64px}
  .player iframe{max-width:1000px;height:600px}
  .tool strong{font-size:28px} .tool small{font-size:21px} .tool .go{font-size:18px}
}
