/* ============================================================
   THE NEXT LEVEL — Main Stylesheet
   Mobile-first | BEM-style scoping | No frameworks
   ============================================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESET
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   VARIABLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  /* Colors */
  --nl-gold: #c8a96a;
  --nl-gold-light: #dfc08a;
  --nl-white: #f5f3ef;
  --nl-white-dim: rgba(245, 243, 239, 0.52);
  --nl-black: #080808;

  /* Typography */
  --nl-font-display: "Cormorant Garamond", Georgia, serif;
  --nl-font-body: "Raleway", sans-serif;

  /* Motion */
  --nl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GLOBAL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--nl-black);
  font-family: var(--nl-font-body);
  color: var(--nl-white);
  -webkit-font-smoothing: antialiased;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVIGATION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nextlevel-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
  animation: nl-fade-down 0.8s var(--nl-ease) 0.15s both;
}

/* Scrolled state — added by JS */
.nextlevel-nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(200, 169, 106, 0.08);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  padding: 14px 22px;
}

.nextlevel-nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nextlevel-nav__wordmark {
  font-family: var(--nl-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nl-white);
  line-height: 1;
  transition: opacity 0.22s ease;
}

.nextlevel-nav__wordmark em {
  font-style: italic;
  font-weight: 300;
  color: var(--nl-gold-light);
}

.nextlevel-nav__brand:hover .nextlevel-nav__wordmark {
  opacity: 0.85;
}

/* Hamburger — mobile only */
.nextlevel-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 20;
}

.nextlevel-nav__hamburger span {
  display: block;
  height: 1px;
  background: var(--nl-white);
  transition:
    width 0.28s ease,
    opacity 0.28s ease;
}

.nextlevel-nav__hamburger span:nth-child(1) {
  width: 24px;
}
.nextlevel-nav__hamburger span:nth-child(2) {
  width: 16px;
  opacity: 0.55;
}
.nextlevel-nav__hamburger span:nth-child(3) {
  width: 20px;
}
.nextlevel-nav__hamburger:hover span {
  width: 24px;
  opacity: 1;
}

/* Desktop nav links — hidden on mobile */
.nextlevel-nav__links {
  display: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE DRAWER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nextlevel-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.nextlevel-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nextlevel-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(300px, 82vw);
  background: #0d0d0d;
  border-left: 1px solid rgba(200, 169, 106, 0.1);
  display: flex;
  flex-direction: column;
  padding: 36px 28px 40px;
  transform: translateX(100%);
  transition: transform 0.48s var(--nl-ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nextlevel-drawer__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--nl-white-dim);
  font-size: 20px;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 44px;
  transition: color 0.2s;
}

.nextlevel-drawer__close:hover {
  color: var(--nl-gold);
}

.nextlevel-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nextlevel-drawer__link {
  font-family: var(--nl-font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--nl-white-dim);
  text-decoration: none;
  transition:
    color 0.22s,
    letter-spacing 0.25s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nextlevel-drawer__link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--nl-gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.22s ease;
}

.nextlevel-drawer__link:hover {
  color: var(--nl-gold);
  letter-spacing: 0.14em;
}

.nextlevel-drawer__link--active {
  color: rgba(255, 255, 255, 0.92);
}

.nextlevel-drawer__link--active::before {
  opacity: 0.7;
}

.nextlevel-drawer__cta {
  margin-top: auto;
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid var(--nl-gold);
  color: var(--nl-gold);
  font-family: var(--nl-font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition:
    background 0.28s,
    color 0.28s;
}

.nextlevel-drawer__cta:hover {
  background: var(--nl-gold);
  color: var(--nl-black);
}

.nextlevel-drawer--open {
  pointer-events: all;
}
.nextlevel-drawer--open .nextlevel-drawer__backdrop {
  opacity: 1;
}
.nextlevel-drawer--open .nextlevel-drawer__panel {
  transform: translateX(0);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nextlevel-hero {
  position: relative;
  width: 100%;
  background-color: var(--nl-black);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background image */
.nextlevel-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("./images/hero.webp");
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

/* Overlay: vertical + left-heavy horizontal fade */
.nextlevel-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(8, 8, 8, 0.28) 0%,
      rgba(8, 8, 8, 0.06) 20%,
      rgba(8, 8, 8, 0.12) 48%,
      rgba(8, 8, 8, 0.72) 72%,
      rgba(8, 8, 8, 0.96) 100%
    ),
    linear-gradient(
      to right,
      rgba(8, 8, 8, 0.7) 0%,
      rgba(8, 8, 8, 0.36) 45%,
      rgba(8, 8, 8, 0.04) 100%
    );
}

/* Soft vignette */
.nextlevel-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 80% 100% at 30% 60%,
    transparent 35%,
    rgba(8, 8, 8, 0.48) 100%
  );
}

/* Content block */
.nextlevel-hero__content {
  position: relative;
  z-index: 5;
  padding: 156px 22px 0;
}

/* Gold overline */
.nextlevel-hero__overline {
  font-family: var(--nl-font-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--nl-gold);
  margin-bottom: 10px;
  opacity: 0;
  animation: nl-fade-up 0.75s var(--nl-ease) 0.65s forwards;
}

/* Headline */
.nextlevel-hero__headline {
  font-family: var(--nl-font-display);
  font-size: clamp(52px, 15vw, 72px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--nl-white);
  text-transform: uppercase;
  opacity: 0;
  animation: nl-fade-up 0.95s var(--nl-ease) 0.85s forwards;
}

.nextlevel-hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--nl-gold-light);
}

/* Gold rule */
.nextlevel-hero__rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--nl-gold);
  margin: 14px 0;
  opacity: 0;
  animation: nl-fade-up 0.65s var(--nl-ease) 1.1s forwards;
}

/* Body copy */
.nextlevel-hero__body {
  font-family: var(--nl-font-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: 0.04em;
  color: rgba(245, 243, 239, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  max-width: 290px;
  opacity: 0;
  animation: nl-fade-up 0.75s var(--nl-ease) 1.25s forwards;
}

/* CTA wrap */
.nextlevel-hero__cta-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  opacity: 0;
  animation: nl-fade-up 0.75s var(--nl-ease) 1.42s forwards;
}

/* CTA button */
.nextlevel-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 26px;
  border: 1px solid var(--nl-gold);
  background: transparent;
  color: var(--nl-gold);
  font-family: var(--nl-font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.38s ease;
}

/* Sweep fill */
.nextlevel-hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nl-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s var(--nl-ease);
  z-index: 0;
}

.nextlevel-hero__cta span,
.nextlevel-hero__cta svg {
  position: relative;
  z-index: 1;
}

.nextlevel-hero__cta:hover {
  color: var(--nl-black);
}
.nextlevel-hero__cta:hover::before {
  transform: scaleX(1);
}

.nextlevel-hero__cta-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Service tags row */
.nextlevel-hero__tags {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 28px 22px 32px;
  opacity: 0;
  animation: nl-fade-up 0.65s var(--nl-ease) 1.65s forwards;
}

.nextlevel-hero__tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--nl-white-dim);
}

.nextlevel-hero__tag svg {
  width: 13px;
  height: 13px;
  color: var(--nl-gold);
}

.nextlevel-hero__tag-sep {
  width: 1px;
  height: 12px;
  background: rgba(200, 169, 106, 0.28);
  margin: 0 18px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECONDARY CTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--nl-font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nl-gold);
  opacity: 0.8;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    color 0.25s ease;
}

.hero-secondary-cta:hover {
  opacity: 1;
  color: var(--nl-gold-light);
}

.hero-secondary-cta__text {
  border-bottom: 1px solid rgba(200, 169, 106, 0.28);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}

.hero-secondary-cta:hover .hero-secondary-cta__text {
  border-color: rgba(200, 169, 106, 0.65);
}

.hero-secondary-cta__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.hero-secondary-cta:hover .hero-secondary-cta__arrow {
  transform: translateX(4px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   KEYFRAMES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes nl-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nl-fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TABLET  768px+
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 768px) {
  /* Hero — restore full viewport height */
  .nextlevel-hero {
    min-height: 100svh;
    min-height: 100vh;
  }

  /* Background — swap to wide image */
  .nextlevel-hero__bg {
    background-image: url("./images/hero-desktop.webp");
    background-position: 80% center;
  }

  /* Overlay — stronger on the left, open on right for moon */
  .nextlevel-hero__bg::after {
    background:
      linear-gradient(
        to bottom,
        rgba(8, 8, 8, 0.2) 0%,
        rgba(8, 8, 8, 0.05) 20%,
        rgba(8, 8, 8, 0.18) 50%,
        rgba(8, 8, 8, 0.7) 75%,
        rgba(8, 8, 8, 0.92) 100%
      ),
      linear-gradient(
        to right,
        rgba(8, 8, 8, 0.82) 0%,
        rgba(8, 8, 8, 0.48) 38%,
        rgba(8, 8, 8, 0.1) 65%,
        rgba(8, 8, 8, 0) 100%
      );
  }

  .nextlevel-hero__bg::before {
    background: radial-gradient(
      ellipse 60% 100% at 18% 65%,
      transparent 28%,
      rgba(8, 8, 8, 0.4) 100%
    );
  }

  /* Nav */
  .nextlevel-nav {
    padding: 22px 48px;
  }
  .nextlevel-nav.scrolled {
    padding: 14px 48px;
  }
  .nextlevel-nav__hamburger {
    display: none;
  }
  .nextlevel-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
  }

  .nextlevel-nav__link {
    font-family: var(--nl-font-body);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    position: relative;
    transition: color 0.22s;
  }

  .nextlevel-nav__link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--nl-gold);
    transition: width 0.28s ease;
  }

  .nextlevel-nav__link:hover {
    color: rgba(255, 255, 255, 0.95);
  }
  .nextlevel-nav__link:hover::after {
    width: 100%;
  }
  .nextlevel-nav__link--active {
    color: var(--nl-gold);
  }
  .nextlevel-nav__link--active::after {
    width: 100%;
  }

  .nextlevel-nav__cta-desk {
    display: inline-block;
    padding: 9px 20px;
    border: 1px solid var(--nl-gold);
    color: var(--nl-gold);
    font-family: var(--nl-font-body);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
      background 0.28s,
      color 0.28s;
  }

  .nextlevel-nav__cta-desk:hover {
    background: var(--nl-gold);
    color: var(--nl-black);
  }

  /* Hero content */
  .nextlevel-hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 56px 8vh;
    max-width: 640px;
  }

  .nextlevel-hero__headline {
    font-size: clamp(72px, 9.5vw, 108px);
    line-height: 0.88;
  }

  .nextlevel-hero__body {
    font-size: 13.5px;
    max-width: 320px;
  }

  .nextlevel-hero__tags {
    padding: 0 56px 28px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DESKTOP  1200px+
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 1200px) {
  .nextlevel-nav {
    padding: 22px 80px;
  }
  .nextlevel-nav.scrolled {
    padding: 14px 80px;
  }

  .nextlevel-hero__content {
    padding: 0 80px 8vh;
    max-width: 700px;
  }

  .nextlevel-hero__headline {
    font-size: clamp(96px, 8.5vw, 132px);
    line-height: 0.86;
  }

  .nextlevel-hero__tags {
    padding: 0 80px 36px;
  }
}
