/* Fonts are self-hosted (SIL Open Font License) so no visitor data goes to a font CDN. */
@font-face { font-family: "Anton"; src: url("/fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f4eee3;
  --ink: #17140f;
  --ink-soft: #4a4339;
  --red: #c9362a;
  --red-deep: #8a1e15;
  /* Worse Than Monday: the avatar's mustard, the banner's cream sky, Gary's sheet */
  --mustard: #e2b340;
  --cream: #f9f0d9;
  --gary-paper: #efe3d0;
  --sepia-text: #6e5232;
  /* Leo Won't Turn: the banner's night, the hoodie, the street lamp */
  --night: #0c1a2b;
  --navy: #13263a;
  --bone: #ece8de;
  --mist: #a9b4c2;
  --green: #63c04f;
  --amber: #f2b84b;

  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --radius: 18px;
  --line: 3px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.channel--leo :focus-visible { outline-color: var(--amber); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }

.eyebrow, .kicker, .row-title {
  font: 800 .8rem/1.2 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* ---------- Header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand img { width: 30px; height: auto; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: rgb(23 20 15 / .08); }

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; }
  .nav { width: 100%; justify-content: space-between; border-top: 2px solid rgb(23 20 15 / .12); padding-top: 8px; }
  .nav a { padding: 6px 2px; font-size: .88rem; }
}

/* ---------- Intro ---------- */
.intro { display: grid; gap: 20px 48px; padding-block: clamp(28px, 6vw, 80px) clamp(28px, 5vw, 56px); }
.intro h1 { font: 400 clamp(3.6rem, 12.5vw, 9.75rem)/.92 var(--display); text-transform: uppercase; margin: 0; }
.intro h1 span { display: block; color: var(--red); }
.lead { max-width: 38rem; font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); margin: 0; }
@media (min-width: 960px) {
  .intro { grid-template-columns: 1.35fr 1fr; align-items: end; }
  .intro .lead { padding-bottom: 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  font: 800 1rem/1 var(--body); text-decoration: none;
  border: var(--line); border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgb(23 20 15 / .08); }
.btn-icon { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Channel posters ---------- */
.posters { display: grid; gap: 28px; padding-bottom: clamp(56px, 8vw, 104px); }
@media (min-width: 860px) { .posters { grid-template-columns: 1fr 1fr; gap: 32px; } }

.poster {
  display: flex; flex-direction: column;
  border: var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
}
.poster--wtm { background: var(--mustard); color: var(--ink); }
.poster--leo { background: var(--navy); color: var(--bone); }
.poster-art { display: block; aspect-ratio: 5 / 4; overflow: hidden; border-bottom: var(--line); }
.poster-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s ease; }
.poster:hover .poster-art img { transform: scale(1.035); }
.poster-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 34px); }
.poster-body p { margin: 0; }
.poster h2 { font: 400 clamp(2.5rem, 4.8vw, 3.75rem)/.92 var(--display); text-transform: uppercase; margin: 0; }
.poster .tagline { font-weight: 800; font-size: 1.15rem; line-height: 1.3; }
.poster--wtm .kicker { color: var(--red-deep); }
.poster--leo .kicker { color: var(--amber); }
.poster--leo .poster-body > p:not(.kicker):not(.tagline) { color: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 14px; }
.poster--leo .btn-primary, .channel--leo .btn-primary { background: var(--green); color: var(--ink); box-shadow: 3px 3px 0 #000; }
.poster--leo .btn-primary:hover, .channel--leo .btn-primary:hover { box-shadow: 5px 5px 0 #000; }
.poster--leo .btn-ghost:hover, .channel--leo .btn-ghost:hover { background: rgb(236 232 222 / .1); }

/* ---------- Channel sections ---------- */
.channel { --bg: var(--cream); background: var(--bg); padding-bottom: clamp(64px, 9vw, 120px); }
.channel--wtm { --bg: var(--cream); --muted: var(--sepia-text); color: var(--ink); border-top: var(--line); }
.channel--leo { --bg: var(--night); --muted: var(--mist); color: var(--bone); }

.channel-banner { position: relative; height: clamp(220px, 38vw, 540px); overflow: hidden; }
.channel-banner img { width: 100%; height: 100%; object-fit: cover; }
.channel--wtm .channel-banner img { object-position: 34% 70%; }
.channel--leo .channel-banner img { object-position: 36% 55%; }
.channel-banner::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to bottom, transparent, var(--bg)); }

.channel-head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: -56px; }
.channel-head .avatar { width: 88px; height: 88px; border-radius: 50%; border: var(--line); box-shadow: 4px 4px 0 var(--ink); }
.channel--leo .channel-head .avatar { border-color: var(--bone); box-shadow: 4px 4px 0 #000; }
.channel-head h2 { font: 400 clamp(2.4rem, 5.4vw, 4rem)/.92 var(--display); text-transform: uppercase; margin: 0; }
.schedule { margin: 6px 0 0; font-weight: 600; color: var(--muted); }
.channel-head .btn { margin-left: auto; }
@media (max-width: 640px) {
  .channel-head { margin-top: -40px; }
  .channel-head .avatar { width: 72px; height: 72px; }
  .channel-head .btn { margin-left: 0; width: 100%; }
}

/* ---------- Latest videos ---------- */
.latest { margin-top: clamp(32px, 5vw, 52px); }
.feature { display: grid; gap: 18px 40px; align-items: center; text-decoration: none; }
@media (min-width: 860px) { .feature { grid-template-columns: 1.5fr 1fr; } }
.feature-media, .short-media {
  position: relative; overflow: hidden;
  border: var(--line); background: rgb(23 20 15 / .1);
}
.channel--leo .feature-media, .channel--leo .short-media { border-color: #000; background: rgb(236 232 222 / .08); }
.feature-media { aspect-ratio: 16 / 9; border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
.channel--leo .feature-media { box-shadow: 6px 6px 0 #000; }
.feature-media img, .short-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feature:hover .feature-media img, .short:hover .short-media img { transform: scale(1.04); }

/* Bottom-left, so it never covers the thumbnail's face or headline */
.play {
  position: absolute; left: 16px; bottom: 16px;
  width: clamp(48px, 5vw, 64px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); border: var(--line); box-shadow: 3px 3px 0 var(--ink);
  display: grid; place-items: center;
  transition: transform .2s ease;
}
.play svg { width: 44%; fill: #fff; margin-left: 6%; }
.channel--leo .play { background: var(--green); }
.channel--leo .play svg { fill: var(--ink); }
.feature:hover .play { transform: scale(1.08); }

.feature-body .kicker { color: var(--muted); }
.feature-title { font: 400 clamp(2rem, 3.6vw, 3rem)/1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.feature:hover .feature-title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.meta { margin: 0 0 20px; color: var(--muted); font-weight: 600; }

.row-title { margin-top: clamp(40px, 6vw, 64px); color: var(--muted); }
.shorts-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  padding-bottom: 10px;
}
@media (max-width: 1000px) { .shorts-row { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; } }
@media (max-width: 640px) { .shorts-row { grid-auto-columns: 44%; } }
.short { scroll-snap-align: start; text-decoration: none; min-width: 0; }
.short-media { aspect-ratio: 9 / 16; border-radius: 12px; }
.short-title {
  margin: 10px 0 0; font-weight: 600; font-size: .93rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.short:hover .short-title { text-decoration: underline; }
.short-date { display: block; margin-top: 4px; font-size: .8rem; color: var(--muted); }

.is-loading .feature-media, .is-loading .short-media, .is-loading.short-media { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.latest-failed { display: none; margin: 0; font-weight: 600; }
.latest.is-failed .latest-failed { display: block; }
.latest.is-failed [data-slot], .latest.is-failed .row-title { display: none; }
.latest.no-shorts .row-title, .latest.no-shorts [data-slot="shorts"] { display: none; }

/* ---------- Meet the star ---------- */
.cast {
  display: grid; grid-template-columns: minmax(0, 240px) 1fr; align-items: center; gap: 20px clamp(20px, 4vw, 48px);
  margin-top: clamp(48px, 7vw, 80px); padding: clamp(18px, 3vw, 32px) clamp(18px, 4vw, 48px) clamp(18px, 3vw, 32px) clamp(18px, 3vw, 32px);
  border: var(--line); border-radius: var(--radius);
}
.cast img { border-radius: 12px; }
.cast h3 { font: 400 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.cast p { margin: 0; max-width: 40rem; }
.channel--wtm .cast { background: var(--gary-paper); box-shadow: 8px 8px 0 var(--ink); }
.channel--wtm .cast .kicker { color: var(--red-deep); }
.channel--leo .cast { background: var(--navy); border-color: #000; box-shadow: 8px 8px 0 #000; }
.channel--leo .cast .kicker { color: var(--amber); }
.channel--leo .cast p:not(.kicker) { color: var(--mist); }
.channel--leo .cast img { border: 2px solid #000; }
@media (max-width: 600px) {
  .cast { grid-template-columns: 1fr; }
  .cast img { width: min(100%, 260px); }
}

/* ---------- Contact ---------- */
.contact { padding-block: clamp(64px, 10vw, 128px); }
.contact h2 { font: 400 clamp(3rem, 9vw, 6.5rem)/.88 var(--display); text-transform: uppercase; margin: 0 0 20px; }
.contact .lead { margin-bottom: 28px; }
.mail {
  display: inline-block; font: 400 clamp(1.7rem, 5vw, 3.2rem)/1.1 var(--display); color: var(--red);
  text-decoration-thickness: 3px; text-underline-offset: 8px; overflow-wrap: anywhere;
}
.mail:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--mustard); }
.site-footer .brand img { width: 40px; padding: 5px 7px 3px; background: var(--paper); border-radius: 50%; }
.small { width: 100%; margin: 0; font-size: .85rem; color: rgb(244 238 227 / .7); }

/* ---------- Simple pages (privacy, 404) ---------- */
.page { padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 112px); max-width: 46rem; }
.page h1 { font: 400 clamp(3rem, 9vw, 6rem)/.9 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.page h2 { font: 800 1.15rem/1.3 var(--body); margin: 36px 0 8px; }
.page p, .page li { color: var(--ink-soft); }
.page p { margin: 0 0 12px; }
.page a { color: var(--red-deep); }
.page .btn { margin-top: 20px; }
.page .btn-primary { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
