/* =========================================
   RESET & VARIABLES
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-display: 'NeueHaasDisplay';
  --font-body: 'TimesNow';

  --color-white: #f5f0e8;
  --color-black: #1A1A1A;
  --color-panel-bg: #F5F0E8;
  
  --panel-width: 100vw;
  --header-height: 56px;
  --footer-height: auto;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --z-video: 0;
  --z-panel: 30;
  --z-header: 1;
  --z-footer: 20;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--color-white);
  color: var(--color-white);
  font-family: var(--font-body);
  overflow: hidden;
  height: 100dvh;
  width: 100vw;
  cursor: default;
}

/* =========================================
   SCENE — holds video + panels together
========================================= */
#scene {
  position: fixed;
  inset: 0;
  display: flex;
  overflow: hidden;
  z-index: var(--z-video);
}

/* =========================================
   VIDEO
========================================= */
#video-wrapper {
  position: relative;
  flex: 1 0 100%;
  /* will be pushed by GSAP */
  will-change: flex, transform;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.0) 40%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
}
