:root {
  --yellow: #f3c308;
  --yellow-bright: #ffcc00;

  --black: #0d0e0d;
  --charcoal: #2a2b29;

  --white: #ffffff;
  --off-white: #f4f4f1;

  --grey: #9a9a96;

  --border: rgba(255, 255, 255, 0.12);

  --font-main: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--off-white);

  color: var(--charcoal);

  font-family: var(--font-main);

  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1400px, calc(100% - 80px));

  margin: auto;
}

.section-label {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.18em;

  color: var(--grey);
}

.section-label::before {
  content: "";

  width: 28px;

  height: 2px;

  background: var(--yellow);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 18px;

  min-height: 54px;

  padding: 0 28px;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  transition: 0.3s ease;
}

.btn span {
  font-size: 18px;
}

.btn-primary {
  background: var(--yellow);

  color: var(--black);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);

  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);

  color: var(--black);
}

.text-link {
  display: inline-flex;

  align-items: center;

  gap: 14px;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.text-link span {
  font-size: 18px;

  transition: transform 0.3s ease;
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

/* MULTIPLE VIDEO SLIDER */

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.2s ease,
    visibility 1.2s ease;
}

.hero-video-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Keep overlay and text above the videos */

.hero-overlay {
  z-index: 1;
}

.hero-content,
.hero-bottom,
.hero-media-nav {
  position: relative;
  z-index: 2;
}

.hero-content,
.hero-bottom {
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.hero-media.hero-text-hidden .hero-content,
.hero-media.hero-text-hidden .hero-bottom {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
