/* Your Daily Dunk: shared foundation (reset, fonts, video facade, a11y). Themes live in theme-*.css */
@font-face{font-family:"Barlow Condensed";src:url(/assets/fonts/barlowcond-900i.woff2) format("woff2");font-weight:900;font-style:italic;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url(/assets/fonts/barlowcond-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url(/assets/fonts/barlowcond-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url(/assets/fonts/inter-var.woff2) format("woff2");font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(/assets/fonts/instrumentserif-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(/assets/fonts/instrumentserif-400i.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Inter Tight";src:url(/assets/fonts/intertight-var.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Big Shoulders Display";src:url(/assets/fonts/bigshoulders-var.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Geist";src:url(/assets/fonts/geist-var.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url(/assets/fonts/geistmono-var.woff2) format("woff2");font-weight:400 600;font-style:normal;font-display:swap}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:5rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
body{margin:0;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg,iframe,video{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.2em}
h1,h2,h3,h4,p,ol,ul,dl,dd,figure,blockquote{margin:0}
:where(ol,ul)[role=list]{list-style:none;padding:0}
button{font:inherit}
.wrap{width:min(100% - 2*var(--gutter,20px),var(--max,1200px));margin-inline:auto}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:1rem;top:-5rem;z-index:100;padding:.7rem 1rem;background:#fff;color:#000;font-weight:600}
.skip:focus{top:1rem}
:focus-visible{outline:2px solid var(--accent,#ff7a1a);outline-offset:3px}

/* ---- YouTube click-to-play facade (no YouTube cookies before click) ---- */
.yt{position:relative;overflow:hidden;background:#0b0b0c;isolation:isolate}
.yt--short{aspect-ratio:9/16}
.yt--wide,.yt--long{aspect-ratio:16/9}
.yt__link{position:absolute;inset:0;display:block;cursor:pointer;color:#fff}
.yt__img{width:100%;height:100%;object-fit:cover}
.yt--wide .yt__img{object-position:50% 60%}
.yt__play{position:absolute;left:50%;top:50%;width:72px;height:72px;margin:-36px 0 0 -36px;display:grid;place-items:center;border-radius:50%;
  background:rgba(10,10,10,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.35);transition:transform .2s ease,background .2s ease}
.yt__play svg{width:28px;height:28px;fill:#fff;margin-left:3px}
.yt__link:hover .yt__play,.yt__link:focus-visible .yt__play{transform:scale(1.08);background:var(--accent,#ff7a1a)}
.yt__frame{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---- crop: shows the centre 9:16 column of a pillarboxed hq720 Shorts thumbnail at any box ratio wider than 9:16 ---- */
.crop{position:relative;overflow:hidden;display:block}
.crop>img{position:absolute;left:50%;top:50%;width:316.05%;max-width:none;height:auto;transform:translate(-50%,-57%)}

.i-yt{width:1.15em;height:1.15em;fill:currentColor;flex:none}
.prose ul{padding-left:1.2em}
.prose li{margin:.45em 0}
