/* Kevin Is A Human — VHS / broadcast dossier */
:root {
  --bg: #0b0b0a;
  --bg-2: #131311;
  --bg-3: #1b1a17;
  --line: #2b2925;
  --ink: #f2e6d8;
  --ink-2: #cfc4b6;
  --muted: #9a9083;
  --orange: #ff6d1f;
  --orange-2: #ff8a3d;
  --phosphor: #46ff7a;
  --red: #ff3b30;
  --radius: 10px;
  --wrap: 1240px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hud: 'VT323', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.section { padding-top: 56px; padding-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }

/* HUD label: green VCR text */
.hud { font-family: var(--hud); font-size: 1.15rem; line-height: 1; color: var(--phosphor); text-transform: uppercase; letter-spacing: .06em; display: inline-block; margin: 0 0 .6em; }
.ch { font-family: var(--hud); color: var(--phosphor); letter-spacing: .05em; }
.rec { color: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .6em 1.1em;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-3); color: var(--ink);
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { border-color: var(--orange); color: var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #120800; }
.btn-primary:hover { background: var(--orange-2); color: #120800; }
.btn-ghost { background: transparent; }
.more { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.more svg { width: 1em; height: 1em; }

/* Live bar */
.live-bar { background: var(--red); text-align: center; font-weight: 800; }
.live-bar a { display: flex; justify-content: center; align-items: center; gap: .5em; padding: 8px 16px; color: #fff; text-decoration: none; }
.live-bar svg { width: 1em; height: 1em; }
.live-bar .rec { color: #fff; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 16px; background: rgba(11, 11, 10, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .site-head { padding: 12px 28px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark { font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1; font-size: 1.05rem; }
.wordmark span { color: var(--ink); }
.wordmark b { color: var(--orange); }
#nav { display: flex; align-items: center; gap: 22px; }
#nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
#nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
#nav a:not(.btn):hover, #nav a[aria-current] { color: var(--orange); }
.btn-sub { background: var(--orange); border-color: var(--orange); color: #120800; min-height: 38px; padding: .4em .95em; }
.btn-sub:hover { background: var(--orange-2); color: #120800; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  #nav.open { display: flex; }
  #nav ul { flex-direction: column; gap: 0; }
  #nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  #nav .btn-sub, #nav .btn-discord { margin-top: 14px; justify-content: center; min-height: 46px; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; overflow: hidden; background: #000 url('../media/hero-poster.jpg') center/cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(0,0,0,.75) 100%), linear-gradient(to top, var(--bg) 2%, transparent 45%); }
.hero-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0,0,0,.22) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.hero-hud { position: absolute; inset: 18px 18px auto; z-index: 2; display: flex; justify-content: space-between; font: 1.5rem/1 var(--hud); color: var(--phosphor); text-shadow: 0 0 8px rgba(70,255,122,.5); }
.hero-hud .tc { position: absolute; right: 0; top: calc(min(86vh, 760px) - 70px); }
.hero-inner { position: relative; z-index: 2; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 16px 56px; }
@media (min-width: 720px) { .hero-inner { padding: 0 28px 72px; } .hero-hud { inset: 24px 28px auto; } }
.hero-title { font-size: clamp(3rem, 12vw, 9rem); line-height: .86; margin: 0 0 .25em; letter-spacing: -0.02em; }
.hero-title span { display: block; font-size: .42em; color: var(--ink); letter-spacing: .01em; }
.hero-title b { color: var(--orange); display: block; text-shadow: 3px 0 0 rgba(70,255,122,.18), -3px 0 0 rgba(255,59,48,.25); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 52ch; color: var(--ink-2); }
.hero-sub strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } .rec { animation: none; } html { scroll-behavior: auto; } }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; margin-bottom: 20px; }
.sec-head .hud { flex-basis: 100%; }
.sec-head h2 { margin: 0; }
.sec-head .more { margin-left: auto; }
.page-head { padding-top: 48px; }

/* YouTube facade + players */
.yt, .player { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--orange); color: #120800; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,109,31,.25); transition: transform .15s; }
.yt-play svg { width: 40px; height: 40px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.06); }
.player-short { aspect-ratio: 9/16; max-height: 78vh; margin: 0 auto; width: auto; max-width: 100%; }

/* Latest */
.latest-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .latest-grid { grid-template-columns: 1.7fr 1fr; } }
.latest-title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 18px 0 6px; }
.latest-title a { color: var(--ink); text-decoration: none; }
.latest-title a:hover { color: var(--orange); }
.up-next { display: grid; gap: 14px; align-content: start; }
.up-next .card { grid-template-columns: 160px 1fr; display: grid; gap: 12px; }
.up-next .card-title { font-size: .95rem; }

/* Cards */
.grid { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { display: block; color: var(--ink); text-decoration: none; }
.thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s, filter .25s; }
.card:hover .thumb img { transform: scale(1.04); filter: saturate(1.2); }
.card:hover .card-title { color: var(--orange); }
.dur, .badge { position: absolute; bottom: 6px; font: 1.05rem/1 var(--hud); padding: 3px 6px 2px; border-radius: 3px; background: rgba(0,0,0,.82); }
.dur { right: 6px; color: var(--ink); }
.badge { left: 6px; color: var(--phosphor); text-transform: uppercase; }
.badge-stream { color: #fff; background: var(--red); }
.card-body { display: block; padding-top: 10px; }
.card-title { display: block; font-weight: 800; line-height: 1.25; font-size: 1.02rem; transition: color .15s; }
.card-meta { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.row-scroll .card { scroll-snap-align: start; }

/* Channels */
.channels { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.channel { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--bg-2), var(--bg)); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; position: relative; overflow: hidden; }
.channel::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); pointer-events: none; }
.channel:hover { border-color: var(--orange); transform: translateY(-2px); }
.channel .ch { font-size: 1.6rem; line-height: 1; }
.ch-name { font-weight: 900; font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.ch-intro { color: var(--muted); font-size: .92rem; line-height: 1.45; flex: 1; }
.ch-count { display: inline-flex; align-items: center; gap: .4em; color: var(--orange-2); font-weight: 700; font-size: .9rem; }
.ch-count svg { width: 1em; height: 1em; }
.ch-big { font-size: 2rem; }

/* Projects */
.projects { display: grid; gap: 18px; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.project:hover { border-color: var(--orange); }
.project img { aspect-ratio: 40/21; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.project-text { display: flex; flex-direction: column; justify-content: center; padding: 4px 0; }
@media (min-width: 820px) {
  .project { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
  .project img { border-bottom: 0; border-right: 1px solid var(--line); }
  .project .hud { margin-top: 0; }
  .project-name { font-size: 1.8rem; }
  .project-blurb { font-size: 1.02rem; margin-bottom: 0; }
}
.project .hud { margin: 16px 18px 6px; font-size: 1.05rem; }
.project-name { display: flex; align-items: center; gap: .4em; margin: 0 18px; font-weight: 900; font-size: 1.35rem; line-height: 1.15; }
.project-name svg { width: .9em; height: .9em; color: var(--orange); flex: none; }
.project-blurb { margin: 8px 18px 20px; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.case { display: grid; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.case img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
@media (min-width: 900px) { .case { grid-template-columns: 1fr 1.2fr; } }
.mini-list { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.mini-list .card-title { font-size: .9rem; }

/* CTAs */
.cta-project { display: grid; gap: 0; border: 1px solid var(--orange); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); margin-bottom: 26px; }
.cta-project img { width: 100%; aspect-ratio: 40/21; object-fit: cover; }
.cta-project > div { padding: 18px; }
.cta-project h2 { font-size: 1.4rem; margin-bottom: .3em; }
.cta-project p:not(.hud) { color: var(--ink-2); font-size: .94rem; }
.cta-sub { display: grid; gap: 20px; align-items: center; margin: 64px 0; padding: 28px; border-radius: 14px; border: 1px solid var(--line); background: radial-gradient(circle at 100% 0, rgba(255,109,31,.22), transparent 55%), var(--bg-2); }
@media (min-width: 900px) { .cta-sub { grid-template-columns: 1fr auto; padding: 36px 40px; } }
.cta-sub h2 { margin-bottom: .25em; }
.cta-sub p:not(.hud) { color: var(--ink-2); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; border-color: #4752c4; color: #fff; }
#nav .btn-discord { min-height: 38px; padding: .4em .95em; }
.btn-lg { min-height: 52px; padding: .75em 1.4em; font-size: 1.05rem; }
.cta-discord { display: grid; gap: 18px; align-items: center; margin: 56px 0 8px; padding: 28px; border-radius: 14px; border: 1px solid rgba(88,101,242,.55); background: radial-gradient(circle at 0 0, rgba(88,101,242,.32), transparent 60%), var(--bg-2); }
@media (min-width: 900px) { .cta-discord { grid-template-columns: auto 1fr auto; padding: 36px 40px; gap: 28px; } }
.cta-discord-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #5865f2; color: #fff; }
.cta-discord-icon svg { width: 36px; height: 36px; }
.cta-discord h2 { margin-bottom: .25em; }
.cta-discord p:not(.hud) { color: var(--ink-2); margin: 0; max-width: 60ch; }

/* About */
.about-strip, .about { display: grid; gap: 28px; align-items: center; }
.about-strip img, .about-photo { border-radius: 50%; border: 3px solid var(--orange); width: 200px; height: 200px; object-fit: cover; }
@media (min-width: 760px) { .about-strip { grid-template-columns: 220px 1fr; } .about { grid-template-columns: 300px 1fr; align-items: start; } .about-photo { width: 280px; height: 280px; } }
.about h1 { margin-top: .1em; }
.cover-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cover-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.cover-list a { color: var(--ink); text-decoration: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 800; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font: 2rem/1 var(--hud); color: var(--phosphor); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); max-width: 75ch; }

/* Catalog filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.filters input, .filters select { min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); padding: 0 16px; font: inherit; font-size: .95rem; }
.filters input { flex: 1 1 280px; }
.filters input:focus, .filters select:focus { border-color: var(--orange); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-weight: 700; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.count { font: 1.2rem/1 var(--hud); color: var(--phosphor); margin: 18px 0 0; }
.empty { color: var(--muted); padding: 40px 0; }

/* Watch page */
.crumbs { font-size: .88rem; color: var(--muted); margin: 18px 0 14px; }
.crumbs a { color: var(--muted); }
.watch .player { margin-bottom: 26px; }
.watch-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .watch-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
.watch h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: none; }
.watch-meta { color: var(--muted); }
.watch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.tags { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font: 1.05rem/1 var(--hud); color: var(--phosphor); text-decoration: none; text-transform: uppercase; }
.tags a:hover { border-color: var(--phosphor); }
.watch-main section { margin: 30px 0; }
.watch-main h2 { font-size: 1.35rem; text-transform: uppercase; }
.summary p { font-size: 1.08rem; color: var(--ink-2); }
.entities { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.entities .hud { margin: 0 6px 0 0; }
.entities a { padding: 3px 10px; background: var(--bg-3); border-radius: 999px; font-size: .85rem; color: var(--ink-2); text-decoration: none; }
.entities a:hover { color: var(--orange); }
.moments ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.moments button { width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 6px; cursor: pointer; display: flex; gap: 14px; align-items: baseline; font-weight: 600; color: var(--ink); }
.moments button:hover { background: var(--bg-3); }
.ts { font: 1.15rem/1 var(--hud); color: var(--phosphor); min-width: 3.6em; }
button.ts { background: none; border: 0; padding: 0; cursor: pointer; }
button.ts:hover { color: var(--orange); }
.desc p { color: var(--ink-2); overflow-wrap: anywhere; }
.tx { position: relative; color: var(--ink-2); font-size: .98rem; }
.tx p { margin-bottom: .9em; }
.tx[data-collapsed="true"] { max-height: 420px; overflow: hidden; }
.tx[data-collapsed="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--bg)); }
.watch-side .hud { margin-top: 4px; }
.watch-side .card { display: grid; grid-template-columns: 150px 1fr; gap: 12px; margin-bottom: 14px; }
.watch-side .card-body { padding-top: 0; }
.watch-side .card-title { font-size: .92rem; }
.watch-side .cta-project img { display: none; }
@media (min-width: 1000px) { .watch-side .cta-project img { display: block; } }

/* Live */
.live-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.live-tabs button { display: inline-flex; align-items: center; gap: .45em; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-weight: 700; cursor: pointer; }
.live-tabs button svg { width: 1.1em; height: 1.1em; }
.live-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.live-tabs .is-live::after { content: 'LIVE'; font: .95rem/1 var(--hud); background: var(--red); color: #fff; padding: 2px 5px; border-radius: 3px; margin-left: 4px; }
.live-player { margin-bottom: 12px; }
#live-status { margin-bottom: 18px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 48px 16px 28px; background: var(--bg-2); }
.foot-grid { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; padding: 0 12px; } }
.site-foot ul { list-style: none; padding: 0; margin: 0 0 18px; }
.site-foot li { margin: 6px 0; }
.site-foot li a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.site-foot li a:hover { color: var(--orange); }
.site-foot h2.hud { font-size: 1.2rem; font-weight: 400; }
.foot-tag { color: var(--muted); margin: 14px 0; max-width: 40ch; }
.socials { display: flex !important; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.socials a:hover { border-color: var(--orange); color: var(--orange); }
.socials svg { width: 18px; height: 18px; }
.fine { max-width: var(--wrap); margin: 24px auto 0; padding: 18px 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.nf { min-height: 50vh; }
