
:root { --bg:#161826; --surface:#232532; --edge:#3f424d; --rule:#292b31; --text:#e9e9ed; --accent:#ffe000; }
*,*::before,*::after { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font-family:"Inter",system-ui,sans-serif; font-size:15px; line-height:1.55; -webkit-font-smoothing:antialiased; }
img { display:block; max-width:100%; }
a { color:var(--accent); text-underline-offset:3px; text-decoration:none; }
a:hover { color:#fff28a; text-decoration:underline; }
::selection { background:rgba(255,224,0,0.28); }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
h1,h2,h4,h6 { font-weight:500; letter-spacing:-0.015em; line-height:1.12; margin:0; }

@keyframes fc-bloom { 0%,100%{opacity:.55;transform:scale(1)} 50%{opacity:.95;transform:scale(1.06)} }
@keyframes fc-clipin { from{opacity:0} to{opacity:1} }
@keyframes fc-spark { 0%{opacity:0;transform:translateY(6px) scale(.6)} 35%{opacity:1} 100%{opacity:0;transform:translateY(-22px) scale(.35)} }

/* hero clips */
/* Right edge tracks the 1080px content container rather than the viewport, so
   the clip stops where every other section stops instead of bleeding to the
   glass on a wide monitor. Below 1080px both terms collapse to the old
   right:0 / 56% behaviour. */
#clip-stage { position:absolute; top:0; bottom:0;
  right:max(0px, calc((100% - 1080px) / 2));
  width:min(56%, 605px);
  overflow:hidden; pointer-events:none; }
/* Stops are percentages, not a fixed 150px: the stage is a percentage of the
   viewport, so a pixel stop drifts - the headline reaches ~20% into the stage
   at 1440px but ~33% at 1000px. Held near-opaque to 40% so the copy stays
   readable over a uniformly bright clip, not just dark footage with bursts. */
.clip-scrim-x { position:absolute; inset:0;
  background:linear-gradient(90deg, #161826 0%, rgba(22,24,38,0.97) 40%,
    rgba(22,24,38,0.42) 72%, transparent 100%); }
.clip-scrim-y { position:absolute; inset:0;
  background:linear-gradient(180deg, #161826 0%, transparent 22%, transparent 74%, #161826 100%); }
/* Feathered edges, so the clip dissolves into the panel rather than ending on
   a hard line. Lives here rather than in site.js so the media query below can
   switch it off. */
.hero-clip { mask-image:
    radial-gradient(150% 120% at 88% 50%, #000 52%, rgba(0,0,0,0.55) 78%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 14%, #000 42%, #000 86%, transparent 99%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-image:
    radial-gradient(150% 120% at 88% 50%, #000 52%, rgba(0,0,0,0.55) 78%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.3) 14%, #000 42%, #000 86%, transparent 99%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite:intersect; -webkit-mask-composite:source-in; }
.hero-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

@media (max-width:767px) {
  /* The 56% column is 210px wide on a phone against 1080p footage - only ~20%
     of each frame survived the crop. A full-width 16:9 band shows the whole
     frame. position:relative keeps it in flow, above the headline, while still
     containing the absolutely-positioned clips. */
  #clip-stage { position:relative; right:auto; width:100%; max-width:none; aspect-ratio:16/9; }
  .hero-clip { mask-image:none; -webkit-mask-image:none; }
  .clip-scrim-x { background:none; }
  .clip-scrim-y { background:linear-gradient(180deg, rgba(22,24,38,0.5) 0%, transparent 24%,
    transparent 78%, #161826 100%); }
}

/* nav tabs */
.tab { padding:8px 14px; border-radius:8px; font-size:14px; font-weight:500; color:rgba(233,233,237,0.66); text-decoration:none; }
.tab:hover { color:var(--accent); background:rgba(255,224,0,0.07); text-decoration:none; }
.tab[aria-current="page"] { color:var(--accent); background:rgba(255,224,0,0.09); font-weight:600; }

/* buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:13px 24px; border-radius:8px; font-size:15px; text-decoration:none; }
.btn:hover { text-decoration:none; }
.btn-primary { border:1px solid var(--accent); color:var(--accent); font-weight:600; background:transparent; }
.btn-primary:hover { background:rgba(255,224,0,0.12); color:var(--accent); }
.btn-ghost { border:1px solid var(--edge); color:var(--text); font-weight:500; }
.btn-ghost:hover { border-color:#75798c; color:#fff; }

/* cards */
.card { background:var(--surface); border-radius:14px; box-shadow:0 0 0 1px var(--edge); }
.video-card { display:block; overflow:hidden; text-decoration:none; color:var(--text); }
.video-card:hover { box-shadow:0 0 0 1px rgba(255,224,0,0.5); text-decoration:none; }
.video-poster { position:relative; aspect-ratio:16/9; overflow:hidden; background:radial-gradient(60% 70% at 50% 78%, rgba(255,224,0,0.12), transparent 70%), #1b1d2b; }
.video-poster img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* Gear-page covers, built in site.js from the card's data-cover-* copy.
   Typographic rather than pictorial, so the two cards read as a set and the
   logo sits in a real lockup instead of floating over artwork. Showcase
   keeps YouTube's own thumbnails untouched. */
.cover-plate { position:absolute; inset:0; z-index:1; padding:16px 18px;
  display:flex; flex-direction:column; justify-content:space-between;
  background:radial-gradient(120% 90% at 88% 8%, rgba(255,224,0,0.15), transparent 62%),
             linear-gradient(160deg, #1d1f2e 0%, #141622 100%); }
.cp-kicker { font-size:9.5px; letter-spacing:0.2em; text-transform:uppercase; color:var(--accent); font-weight:600; }
.cp-head { font-size:clamp(24px,3.4vw,31px); font-weight:800; letter-spacing:-0.035em; line-height:0.94;
  text-transform:uppercase; color:var(--text); }
.cp-head em { font-style:normal; color:var(--accent); display:block; }
.cp-rule { height:3px; width:44px; background:var(--accent); border-radius:2px; }
.cp-lock { display:flex; align-items:center; gap:7px; font-size:9.5px; letter-spacing:0.16em;
  text-transform:uppercase; color:rgba(233,233,237,0.4); font-weight:500; }
.cp-lock img { width:18px; height:18px; object-fit:contain; }
.video-poster.has-cover::after { content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(180deg, rgba(22,24,38,0) 62%, rgba(22,24,38,0.32) 100%); }
.video-card:hover .cp-rule { width:66px; transition:width .3s ease; }
.video-badge { position:absolute; z-index:3; right:10px; bottom:10px; padding:4px 9px; border-radius:4px; background:rgba(19,21,33,0.82); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent); font-weight:600; }

/* link rows */
.link-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:12px 4px; text-decoration:none; color:var(--text); }
.link-row:hover { color:var(--accent); text-decoration:none; }
.link-row + .link-row { border-top:1px solid var(--rule); }
.plain-link { color:var(--text); text-decoration:none; font-size:15px; }
.plain-link:hover { color:var(--accent); text-decoration:none; }
.foot-link { font-size:13px; color:rgba(233,233,237,0.6); text-decoration:none; }
.foot-link:hover { color:var(--accent); text-decoration:none; }

/* shared blocks */
.kicker { font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--accent); font-weight:600; }
.kicker-muted { font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:rgba(233,233,237,0.55); font-weight:600; }
.page { max-width:1080px; margin:0 auto; padding:76px clamp(20px,3vw,32px) 96px; }
.lede { font-size:18px; line-height:1.55; color:rgba(233,233,237,0.72); }
.grid-auto { display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
[hidden] { display:none !important; }
