/* ============================================================
   YELLOW PENCIL — Design System v2
   Liquid Glass · Century Gothic · Pure Black
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --background:     #000000;
  --foreground:     #ffffff;
  --primary:        #FFCC06;
  --primary-dim:    #f1c100;
  --surface:        #0a0a0a;
  --surface-high:   #111111;
  --surface-higher: #1a1a1a;
  --border:         rgba(255,255,255,0.15);
  --radius:         9999px;
  --font-heading:   'Century Gothic', 'CenturyGothic', 'AppleGothic', Futura, 'Trebuchet MS', sans-serif;
  --font-body:      'Century Gothic', 'CenturyGothic', 'AppleGothic', Futura, 'Trebuchet MS', sans-serif;
}

/* ── Base Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: #000000;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #FFCC06; }

/* ── Typography helpers ────────────────────────────────── */
.yp-heading {
  font-family: var(--font-heading);
  font-style: italic;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.yp-body {
  font-family: var(--font-body);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.yp-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.yp-primary { color: #FFCC06; }

/* ── Section Badge ─────────────────────────────────────── */
.yp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

/* ── Liquid Glass (subtle) ─────────────────────────────── */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0)    40%,
    rgba(255,255,255,0)    60%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0.45) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ── Liquid Glass Strong (buttons / cards) ─────────────── */
.liquid-glass-strong {
  background: rgba(255, 255, 255, 0.05);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(50px);
          backdrop-filter: blur(50px);
  border: none;
  box-shadow:
    4px 4px 4px rgba(0,0,0,0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.liquid-glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.5) 0%,
    rgba(255,255,255,0.2) 20%,
    rgba(255,255,255,0)   40%,
    rgba(255,255,255,0)   60%,
    rgba(255,255,255,0.2) 80%,
    rgba(255,255,255,0.5) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ── Nav ───────────────────────────────────────────────── */
.yp-nav {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.yp-nav-pill {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.6rem 1.75rem;
  border-radius: 9999px;
}

.yp-nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.yp-nav-link:hover { color: #fff; }

.yp-nav-link.active {
  color: #FFCC06;
  border-bottom: 1.5px solid #FFCC06;
  padding-bottom: 2px;
}

/* ── Buttons ───────────────────────────────────────────── */
.yp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}

.yp-btn-glass {
  color: #fff;
}

.yp-btn-solid {
  background: #fff;
  color: #000;
}

.yp-btn-solid:hover { background: #f0f0f0; }

.yp-btn-primary {
  background: #FFCC06;
  color: #000;
  font-weight: 600;
}

.yp-btn-primary:hover { background: #f1c100; }

/* ── Cards ─────────────────────────────────────────────── */
.yp-card {
  border-radius: 1rem;
  padding: 1.5rem;
}

/* ── Video fade overlays ───────────────────────────────── */
.yp-fade-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, #000, transparent);
  z-index: 1;
  pointer-events: none;
}

.yp-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, #000, transparent);
  z-index: 1;
  pointer-events: none;
}

/* ── Mobile menu ───────────────────────────────────────── */
.yp-mobile-menu {
  position: fixed;
  top: 5rem;
  left: 1rem;
  right: 1rem;
  z-index: 40;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Stat numbers ──────────────────────────────────────── */
.yp-stat-value {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  line-height: 1;
}

.yp-stat-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}
