/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root{
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: #2a2a2e;
  --text: #f2f2f0;
  --muted: #97979d;
  --chrome-1: #ffffff;
  --chrome-2: #b9b9bd;
  --chrome-3: #6f6f74;
  --accent: #c8262c;

  --font: "Poppins", sans-serif;
  --radius: clamp(10px, 1.4vw, 16px);
  --radius-sm: clamp(8px, 1vw, 12px);
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
  margin: 0;
  overflow: hidden;           /* hard lock: no page scroll */
  overscroll-behavior: none;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.muted{ color: var(--muted); }

h1{
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0;
}

/* film-grain texture, nods to the low-fi handheld footage
   look of the channel's own banner */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ---------------------------------------------
   Full-page background (fixed behind everything)
--------------------------------------------- */
.page-bg{
  position: fixed;
  inset: 0;
  z-index: 0;
}
.page-bg img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.05) brightness(.55);
}
.page-bg-overlay{
  position: absolute; inset: 0;
  background:
    radial-gradient(65% 70% at 50% 45%, rgba(10,10,11,.35) 0%, rgba(10,10,11,.88) 100%),
    linear-gradient(180deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,.92) 100%);
}

/* ---------------------------------------------
   Page shell — everything fits in 100vh, no scroll
--------------------------------------------- */
.page-shell{
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------
   Navbar
--------------------------------------------- */
.navbar{
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(10px, 2vh, 18px) clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: rgba(10,10,11,.35);
  backdrop-filter: blur(6px);
}
.brand{
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
}
.brand-logo{
  width: clamp(26px, 2.4vw, 34px);
  height: clamp(26px, 2.4vw, 34px);
  border-radius: 50%;
}
.brand-mark{
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--chrome-1) 0%, var(--chrome-2) 45%, var(--chrome-3) 55%, var(--chrome-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(12px, .95vw, 14px);
  padding: clamp(8px, 1.2vh, 11px) clamp(14px, 1.6vw, 20px);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }

.btn-subscribe{ background: var(--text); color: #0a0a0b; }
.btn-subscribe:hover{ background: var(--chrome-2); }

.btn-primary{ background: var(--accent); color: #fff; }
.btn-primary:hover{ background: #e12c33; }

/* ---------------------------------------------
   Stage — the one visible view
--------------------------------------------- */
.stage{
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(16px, 2.4vw, 40px);
  padding: clamp(16px, 2.4vh, 32px) clamp(16px, 3vw, 36px);
}

/* ---- Hero pane (left) ---- */
.hero-pane{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
}

.hero-copy{
  position: relative;
  z-index: 2;
  padding: clamp(20px, 4vw, 56px);
  max-width: 480px;
}
.hero-title{
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: .95;
  margin: 0 0 clamp(8px, 1.4vh, 16px);
  background: linear-gradient(135deg, var(--chrome-1) 0%, var(--chrome-2) 30%, #e4e4e6 45%, var(--chrome-3) 58%, var(--chrome-1) 78%, var(--chrome-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.6));
}
.hero-sub{
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--chrome-2);
  margin: 0 0 clamp(14px, 2.2vh, 24px);
}

/* ---- Side pane (right) ---- */
.side-pane{
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vh, 20px);
}

.video-card{
  background: rgba(20,20,22,.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(8px, 1vw, 12px);
  transition: border-color .2s ease, transform .2s ease;
}
.video-card:hover{ border-color: var(--chrome-3); transform: translateY(-2px); }

.video-frame{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}
.video-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption{
  font-size: clamp(11px, .85vw, 12.5px);
  color: var(--muted);
  margin: clamp(8px, 1vh, 10px) 4px 2px;
}

.social-bar{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 12px);
}
.social-pill{
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  background: rgba(20,20,22,.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: clamp(9px, 1.3vh, 13px) clamp(6px, 1vw, 10px);
  font-size: clamp(11px, .9vw, 13px);
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.social-pill:hover{
  border-color: var(--chrome-3);
  background: rgba(27,27,30,.85);
  transform: translateY(-2px);
}
.social-icon{ display: flex; align-items: center; }
.social-icon.yt{ color: #ff2d2d; }
.social-icon.dc{ color: #8ea1ff; }
.social-icon.dn{ color: #ffce54; }

/* ---------------------------------------------
   Responsive — still fits one screen, stacked
--------------------------------------------- */
@media (max-width: 820px){
  .stage{
    grid-template-columns: 1fr;
    grid-template-rows: 1.3fr 1fr;
  }
  .hero-copy{ padding: clamp(18px, 5vw, 32px); max-width: 100%; }
  .hero-sub{ display: none; }
}

@media (max-height: 640px){
  .hero-sub{ display: none; }
  .navbar{ padding-top: 8px; padding-bottom: 8px; }
}