/* ============================================================
   layout.css  —  Global Structure & Navigation
   ============================================================
   Defines the horizontal scroll container, the base .panel
   class, top nav bar, progress bar, panel counter and the
   scroll/swipe hint overlay.

   DEPENDENCIES: tokens.css

   REUSE NOTES:
   • #scroll-container + .panel = the core horizontal layout
   • #topnav is fully self-contained; swap logo text in HTML
   • #progress-bar width is driven by scroll.js
   • .section-tag and .reveal are utility classes used
     throughout all panels — keep these here.
   ============================================================ */

/* ─── SCROLL CONTAINER ─────────────────────────────── */
#scroll-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.72s cubic-bezier(0.77, 0, 0.175, 1);
}

.panel {
  flex-shrink: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5vw 3rem;
  position: relative;
  overflow: hidden;
}


.nav-divider {
  width: 1px;
  height: 1.4rem;
  background: rgba(255,255,255,0.15);
}


/* ─── PROGRESS BAR ──────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--lime);
  z-index: 200;
  transition: width 0.72s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: 0 0 12px rgba(150,250,0,0.6);
}

/* ─── NAV ───────────────────────────────────────────── */
#topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 3rem;
  background: rgba(10,10,10,0.80);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(150,250,0,0.12);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--lime);
  letter-spacing: 3px;
  text-decoration: none;
  cursor: pointer;
}
.nav-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}
.nav-dot.active {
  background: var(--lime);
  width: 20px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(150,250,0,0.5);
}
.nav-panel-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--grey);
  text-transform: uppercase;
}

/* ─── PANEL COUNTER ─────────────────────────────────── */
#panel-counter {
  position: fixed;
  bottom: 2rem; right: 3rem;
  z-index: 100;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 2px;
}
#panel-counter span { color: var(--lime); }

/* ─── SCROLL HINT (desktop) ─────────────────────────── */
#scroll-hint {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  animation: hintPulse 2.5s ease-in-out infinite;
  transition: opacity 0.5s;
  pointer-events: none;
}
#scroll-hint svg { animation: hintArrow 1.5s ease-in-out infinite; }
@keyframes hintPulse { 0%,100%{opacity:0.3} 50%{opacity:0.7} }
@keyframes hintArrow { 0%,100%{transform:translateX(0)} 50%{transform:translateX(6px)} }

/* ─── SWIPE HINT (mobile only) ──────────────────────── */
#swipe-hint { display: none; }

/* ─── KEYBOARD HINT ─────────────────────────────────── */



/* ═══════════════════════════════════════════════════
   PANEL 0 — HERO
══════════════════════════════════════════════════ */
.panel-hero {
  background: var(--black);
}
.panel-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(150,250,0,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(250,80,220,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg-text {
  position: absolute;
  right: -2vw; bottom: -8vh;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30vw;
  color: rgba(150,250,0,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  width: 100%;
  height: 100%;
}
.hero-left {}
.hero-right {
  position: relative;
  height: 72%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(150,250,0,0.08), 0 0 0 1px rgba(150,250,0,0.1);
}
.hero-insight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-tag {
  background: var(--lime);
  color: var(--black);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
}
.hero-for {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--grey);
  text-transform: uppercase;
}
.hero-client-badge {
  background: rgba(255,115,0,0.1);
  border: 1px solid rgba(255,115,0,0.35);
  color: var(--orange);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 4px;
  padding: 0.15rem 0.8rem;
}
.hero-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 13vw, 13rem);
  line-height: 0.88;
  letter-spacing: -2px;
  margin-bottom: 2.5rem;
}
.hero-h1 em { color: var(--lime); font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 300;
  color: var(--grey);
  max-width: 600px;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 3rem;
  background: var(--lime);
  color: var(--black);
  padding: 0.9rem 2.2rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover { background: var(--yellow); transform: translateX(4px); }

