* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: var(--paper-green-deep);
}

body {
  overflow: hidden;
  background: var(--paper-green-deep);
  font-family: var(--font-sans);
}

.collab-landing {
  position: relative;
  display: grid;
  height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 30%, rgba(250, 245, 236, 0.05), transparent 27rem),
    linear-gradient(180deg, rgba(21, 41, 15, 0.1), rgba(21, 41, 15, 0.34)),
    url("./assets/collaboration-collage.png") center / cover no-repeat;
}

.collab-landing::before,
.collab-landing::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.collab-landing::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(31, 22, 17, 0.22), transparent 29%, transparent 70%, rgba(31, 22, 17, 0.16)),
    radial-gradient(circle at 50% 32%, rgba(31, 58, 26, 0.58), transparent 25rem);
  mix-blend-mode: multiply;
}

.collab-landing::after {
  z-index: 1;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.brand-stage {
  position: relative;
  z-index: 2;
  align-self: start;
  justify-self: center;
  width: min(54rem, calc(100vw - clamp(2rem, 9vw, 9rem)));
  margin-top: clamp(8.5rem, 17svh, 11rem);
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(1.35rem, 3.5vw, 3.8rem);
}

.brand-logo {
  display: block;
  flex: 0 1 auto;
  max-width: 100%;
  object-fit: contain;
  filter:
    brightness(0)
    saturate(100%)
    invert(96%)
    sepia(11%)
    saturate(420%)
    hue-rotate(344deg)
    brightness(105%)
    contrast(96%)
    drop-shadow(0 12px 18px rgba(12, 19, 8, 0.28));
  transform: translateZ(0);
}

.brand-logo-gzero {
  width: clamp(8.8rem, 16vw, 13.5rem);
}

.brand-logo-natura {
  width: clamp(10.8rem, 19vw, 16rem);
}

.collab-divider {
  display: block;
  flex: 0 0 auto;
  width: 2px;
  height: clamp(4.2rem, 9vw, 6.7rem);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, transparent, rgba(250, 245, 236, 0.48) 15%, var(--natura-orange) 50%, rgba(250, 245, 236, 0.48) 85%, transparent);
  box-shadow:
    0 0 0 1px rgba(213, 87, 26, 0.12),
    0 0 24px rgba(213, 87, 26, 0.34);
}

@media (max-width: 760px) {
  .collab-landing {
    background-position: center;
  }

  .brand-stage {
    width: min(26rem, calc(100vw - 2.25rem));
    margin-top: clamp(7rem, 18svh, 9rem);
  }

  .brand-lockup {
    gap: clamp(0.9rem, 4vw, 1.35rem);
  }

  .brand-logo-gzero {
    width: clamp(6.4rem, 33vw, 9.2rem);
  }

  .brand-logo-natura {
    width: clamp(7.5rem, 38vw, 10.5rem);
  }

  .collab-divider {
    height: clamp(3.4rem, 16vw, 4.8rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-stage {
    animation: arrive 720ms var(--ease-out) both;
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
