/* ═══════════════════════════════════════════════════════════
   Illusive Hughes — illusivehughes.com
   No canvas, no SVG filters, no animation loops. The entire
   night scene is one pre-rendered background image.
   ═══════════════════════════════════════════════════════════ */

:root{
  --void:#07050d;
  --violet:#8b3dff;
  --violet-hot:#a855ff;
  --violet-pale:#d9c2ff;
  --ash:#b9a9d6;
  --edge:rgba(168,85,255,.28);
  --display:"Unbounded","Arial Black","Helvetica Neue",Impact,sans-serif;
  --ui:"Chakra Petch",ui-monospace,"SF Mono",Menlo,monospace;
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{box-sizing:border-box}

html{ -webkit-text-size-adjust:100% }

body{
  margin:0;
  min-height:100svh;
  color:var(--ash);
  font-family:var(--ui);
  font-size:15px;
  line-height:1.6;
  background:var(--void) url("bg-mobile.webp") center bottom / cover no-repeat fixed;
  -webkit-font-smoothing:antialiased;
}
@media (min-width:760px){
  body{ background-image:url("bg-desktop.webp") }
}
/* fixed attachment is expensive to scroll on touch — pin it instead */
@media (hover:none),(pointer:coarse){
  body{ background-attachment:scroll; background-position:center top }
}

/* ── shell ───────────────────────────────────────────────── */
.wrap{
  width:min(1180px,100%);
  margin:0 auto;
  padding:clamp(14px,2.4vw,26px) clamp(16px,3vw,32px) clamp(28px,4vw,48px);
  display:grid;
  gap:clamp(16px,2.4vh,26px);
}

/* ── top strip ───────────────────────────────────────────── */
.top{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
  font-size:10px;letter-spacing:.3em;text-transform:uppercase;
  color:rgba(185,169,214,.55);
}
.dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--violet-hot);
  box-shadow:0 0 10px 2px rgba(168,85,255,.75);
  display:inline-block;vertical-align:middle;margin-right:.6em;
}

/* ── banner ──────────────────────────────────────────────── */
.banner{
  position:relative;
  width:100%;
  border-radius:3px;
  overflow:hidden;
  box-shadow:0 0 70px -18px rgba(139,61,255,.75);
}
.banner img{
  width:100%;height:auto;display:block;
  -webkit-mask-image:radial-gradient(ellipse 74% 94% at 50% 50%,#000 52%,rgba(0,0,0,.72) 74%,transparent 99%);
  mask-image:radial-gradient(ellipse 74% 94% at 50% 50%,#000 52%,rgba(0,0,0,.72) 74%,transparent 99%);
}

/* ── two-column body ─────────────────────────────────────── */
.cols{ display:grid;gap:clamp(18px,3vw,44px) }
@media (min-width:900px){
  .cols{ grid-template-columns:minmax(0,1fr) minmax(0,360px);align-items:start }
}

.bio p{ margin:0 0 .85em;max-width:56ch;color:rgba(185,169,214,.8) }
.bio strong{ color:var(--violet-pale);font-weight:600 }

h2.eyebrow{
  margin:0 0 10px;
  font-size:10px;font-weight:500;letter-spacing:.3em;text-transform:uppercase;
  color:rgba(185,169,214,.5);
}

/* ── channel links ───────────────────────────────────────── */
.links{ display:grid;gap:9px;margin-top:clamp(14px,2vh,22px) }
.link{
  position:relative;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;gap:14px;
  padding:11px clamp(13px,2vw,18px);
  text-decoration:none;color:inherit;
  border:1px solid var(--edge);
  background:linear-gradient(100deg,rgba(139,61,255,.13),rgba(13,8,28,.82) 62%);
  clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
  transition:border-color .25s var(--ease),transform .25s var(--ease),background .25s var(--ease);
}
.link::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:2px;
  background:var(--violet-hot);opacity:.5;
}
.link:hover,.link:focus-visible{
  outline:none;
  border-color:rgba(205,160,255,.8);
  transform:translateY(-2px);
  background:linear-gradient(100deg,rgba(168,85,255,.28),rgba(20,9,44,.85) 66%);
}
.link:hover::before,.link:focus-visible::before{ opacity:1 }

.link .ico{
  width:34px;height:34px;display:grid;place-items:center;
  color:var(--violet-pale);
  border:1px solid rgba(168,85,255,.24);
  background:rgba(139,61,255,.1);
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
}
.link .ico svg{ width:18px;height:18px;fill:currentColor;display:block }
.link:hover .ico,.link:focus-visible .ico{ color:#fff;background:rgba(168,85,255,.3) }

.link .txt{ min-width:0 }
.link b{
  display:block;
  font-family:var(--display);font-weight:800;
  font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#efe6ff;
}
.link i{
  display:block;font-style:normal;
  font-size:11px;letter-spacing:.1em;color:rgba(185,169,214,.6);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.link .go{ color:rgba(200,150,255,.6);transition:transform .25s var(--ease),color .25s var(--ease) }
.link .go svg{ width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2 }
.link:hover .go,.link:focus-visible .go{ transform:translate(3px,-3px);color:#fff }

/* live state */
.link.live{
  border-color:rgba(255,90,120,.6);
  background:linear-gradient(100deg,rgba(255,59,92,.2),rgba(24,7,26,.82) 62%);
}
.link.live::before{ background:#ff3b5c;opacity:1 }
.link.live .ico{ color:#fff;background:rgba(255,59,92,.28);border-color:rgba(255,120,145,.5) }
.chip{
  margin-left:.6em;font-size:.8em;letter-spacing:.18em;color:#ff6b86;
}
.chip::before{
  content:"";display:inline-block;width:6px;height:6px;border-radius:50%;
  background:#ff3b5c;margin-right:.45em;
  box-shadow:0 0 8px 2px rgba(255,59,92,.85);
}

/* ── clips ───────────────────────────────────────────────── */
.clips{ display:grid;gap:12px;width:min(100%,420px) }
.clip{
  margin:0;position:relative;overflow:hidden;
  border:1px solid var(--edge);
  background:rgba(11,6,24,.65);
  clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
  transition:border-color .25s var(--ease),transform .25s var(--ease);
}
.clip:hover,.clip:focus-within{ border-color:rgba(205,160,255,.75);transform:translateY(-2px) }

/* the poster is a button until it's asked to play — no video bytes up front */
.clip .play{
  display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;
  position:relative;line-height:0;
}
.clip .play img{ width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;opacity:.9 }
.clip .play:hover img{ opacity:1 }
.clip .play::after{
  content:"";position:absolute;left:50%;top:50%;
  width:62px;height:62px;margin:-31px 0 0 -31px;border-radius:50%;
  background:rgba(15,8,32,.72) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23efe6ff'><path d='M8 5v14l11-7z'/></svg>") no-repeat 55% 50%/22px 22px;
  border:1px solid rgba(205,160,255,.55);
  box-shadow:0 0 26px -4px rgba(139,61,255,.9);
  transition:transform .25s var(--ease),background-color .25s var(--ease);
}
.clip .play:hover::after,.clip .play:focus-visible::after{ transform:scale(1.08);background-color:rgba(139,61,255,.5) }
.clip video{ width:100%;aspect-ratio:16/9;display:block;background:#000 }
.clip figcaption{
  display:flex;align-items:center;gap:.6em;
  padding:8px 11px 9px;
  font-size:10px;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(200,180,235,.85);
}
.clip figcaption::before{
  content:"";width:5px;height:5px;flex:none;
  background:var(--violet-hot);transform:rotate(45deg);
}

/* recent-on-twitch strip */
.vods{ display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px }
.vods a{
  display:block;text-decoration:none;overflow:hidden;
  border:1px solid var(--edge);background:rgba(11,6,24,.6);
  clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
  transition:border-color .25s var(--ease),transform .25s var(--ease);
}
.vods a:hover{ border-color:rgba(205,160,255,.75);transform:translateY(-2px) }
.vods img{ width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;opacity:.85;background:#150a2e }
.vods span{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  padding:6px 8px 7px;font-size:10px;line-height:1.35;color:rgba(200,180,235,.8);
}

/* ── theatre modal ───────────────────────────────────────── */
.modal{
  position:fixed;inset:0;z-index:60;display:none;
  place-items:center;padding:clamp(12px,3vw,32px);
  background:rgba(4,2,10,.9);
}
.modal.on{ display:grid }
.modal-box{ position:relative;width:min(1100px,100%) }
.modal-box video{
  width:100%;aspect-ratio:16/9;display:block;background:#000;
  border:1px solid rgba(168,85,255,.4);
  box-shadow:0 24px 70px -28px rgba(139,61,255,.9);
}
.modal-close{
  position:absolute;top:-40px;right:0;
  background:none;border:1px solid var(--edge);color:var(--violet-pale);
  font:inherit;font-size:10px;letter-spacing:.26em;text-transform:uppercase;
  padding:8px 14px;cursor:pointer;
  clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
}
.modal-close:hover,.modal-close:focus-visible{ color:#fff;border-color:rgba(205,160,255,.85);outline:none }
.modal-cap{ margin:10px 2px 0;font-size:11px;color:rgba(200,180,235,.7) }

/* ── footer ──────────────────────────────────────────────── */
.foot{
  border-top:1px solid rgba(168,85,255,.16);
  padding-top:14px;margin-top:6px;
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;flex-wrap:wrap;
  font-size:10px;letter-spacing:.24em;text-transform:uppercase;
  color:rgba(185,169,214,.4);
}
.foot .marq{
  width:100%;text-align:center;
  color:rgba(185,169,214,.3);letter-spacing:.3em;
}

/* screen-reader only */
.vh{
  position:absolute!important;width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}

/* ── the only motion on the page ─────────────────────────── */
@media (prefers-reduced-motion:no-preference){
  .fade{ opacity:0;transform:translateY(14px);animation:fade .7s var(--ease) forwards }
  .d1{animation-delay:.05s}.d2{animation-delay:.15s}.d3{animation-delay:.25s}.d4{animation-delay:.35s}
  @keyframes fade{ to{opacity:1;transform:none} }
}
