/* @import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Figtree:wght@400;600;700;800;900&display=swap"); */
/* @font-face {
  font-family: "Bebas Kai";
  src: url("./assets/fonts/BebasKai.otf");
} */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Figtree:wght@400;600;700;800;900&display=swap");
@font-face {
  font-family: "Bebas Kai";
  src: url("./assets/fonts/bebasKai/BebasKai.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #6fbd32;
  --green-dark: #4e9d24;
  --blue: #079bd8;
  --pink: #e91c70;
  --orange: #f39c16;
  --ink: #050505;
  --muted: #5c6258;
  --panel: #f1f1f1;
  --line: #d5d5d5;
  --white: #ffffff;
  --radius: 12px;
  --max: 1110px;
  --heading:
    "Bebas Kai", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Figtree, Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
div#header,
div#header + hr,
div#footer,
div#footer + hr {
  display: none;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

/* .site-header {
  position: absolute;
  z-index: 20;
  top: 24px;
  left: 50%;
  display: flex;
  width: min(92vw, 860px);
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
  flex-direction: column;
} */
.site-header {
  position: relative;
  margin-top: -120px;
  z-index: 20;
  top: 136px;
  left: 50%;
  display: flex;
  width: min(92vw, 860px);
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
  flex-direction: column;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #242a24;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.brand img.logo-size {
  width: 258px;
  height: auto;
}

.brand-mark {
  display: block;
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark text {
  fill: #1b2b1f;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
}

.brand-name {
  color: #242a24;
  font-family: var(--body);
  font-size: clamp(34px, 2.35vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.brand-name strong,
.brand-name sup {
  color: var(--green-dark);
}

.brand-name strong {
  font-weight: 900;
}

.brand-name sup {
  position: relative;
  top: -0.48em;
  margin-left: 2px;
  font-size: 0.42em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-top: 3px;
}

.primary-nav a {
  display: flex;
  min-height: 28px;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  min-width: 55px;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font-size: clamp(16px, 1.25vw, 14px);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  border-color: rgba(0, 0, 0, 0.85);
  color: var(--green-dark);
}

.primary-nav a:first-child {
  border-color: rgba(0, 0, 0, 0.85);
}

.menu-toggle {
  display: none;
  min-height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 120px 24px 78px;
  isolation: isolate;
}

/* .hero::before {
  content: "NXP";
  position: absolute;
  top: 32px;
  left: 50%;
  z-index: -1;
  width: 72vw;
  transform: translateX(-50%);
  color: rgb(255 255 255 / 22%);
  font-family: var(--heading);

  font-size: min(45vw, 710px);
  line-height: 0.72;
  text-align: center;
} */
.hero::before {
  content: "NXP";
  position: absolute;
  top: 58%;
  left: 49%;
  z-index: -1;
  width: 100%;
  transform: translate(-50%, -50%);
  color: rgb(255 255 255 / 22%);
  font-family: var(--heading);
  font-size: min(70vw, 1040px);
  line-height: 0.72;
  text-align: center;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -3;
  object-fit: cover;
}

.hero-overlay {
  z-index: -2;
  background: linear-gradient(
    180deg,
    rgba(246, 253, 234, 0.54),
    rgba(107, 189, 50, 0.26) 58%,
    rgba(111, 189, 50, 0.84)
  );
}

/* .hero-content {
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  min-height: calc(100vh - 210px);
  align-content: start;
  padding-top: clamp(12px, 6vh, 70px);
  text-align: center;
} */
.hero-content {
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  min-height: calc(100vh - 210px);
  align-content: start;
  padding-top: clamp(136px, 55vh, 70px);
  text-align: center;
}

.hero h1,
.section h2,
.contact h2,
.science-content h2 {
  margin: 0;
  font-family: var(--heading);
  letter-spacing: -0.7px;
  font-weight: 300;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 604px;
  font-size: clamp(85px, 7vw, 175px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 5.5vw;
}
.hero-pouches {
  width: clamp(260px, 38vw, 370px);
  margin: 38px 0px 18px;
  filter: drop-shadow(rgba(0, 0, 0, 0.28) 0px 24px 22px);
}

.hero p {
  width: min(598px, 92vw);
  margin: clamp(24px, 7vh, 34px) 0 0;
  font-family: var(--heading);
  font-size: clamp(38px, 2vw, 57px);
  line-height: 2.8vw;
  text-transform: uppercase;
  letter-spacing: -0.7px;
}

.scroll-link {
  margin-top: 28px;
  color: var(--white);
  font-size: 17px;
  font-weight: 100;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--heading);
}
.section {
  padding: 64px 24px;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.narrow {
  width: min(964px, 100%);
  text-align: center;
}

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.6vw, 46px);
  text-align: center;
}

.section h2 span,
.pouchology h3,
.challenges h2 span {
  color: var(--green);
}
.pouchology h3 {
  font-weight: 300;
}
.pouchology h3 span {
  color: #050505;
}
.platform p,
.categories p,
.pouchology p,
.challenges p,
.contact p {
  margin: 0;
  color: var(--ink);
}
.platform p {
  font-size: 0.879vw;
  max-width: 53vw;
  line-height: 1.1vw;
  margin: auto;
}

.categories {
  padding-top: 28px;
}
.categories .section-inner {
  max-width: 988px;
}
.categories .section-inner .category-tabs {
  margin: 44px auto 0;
}
.category-tabs,
.pill-tabs {
  display: grid;
  gap: 10px;
}
.pill-tabs {
  gap: 20px;
}

.category-tabs {
  grid-template-columns: repeat(4, 1fr);
  margin: 28px auto 0;
}

.pill {
  min-height: 70px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(18px, 2.2vw, 28px);
  text-transform: uppercase;
  cursor: pointer;
}
.category-tab {
  min-height: 92px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(18px, 3.2vw, 38px);
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: -0.6px;
  font-weight: 100;
}
.category-tab {
  border-radius: 12px;
}
.category-panel[data-category="energy"],
.category-tab:nth-child(2) {
  background: var(--pink);
}

.category-panel[data-category="nicotine"],
.category-tab:nth-child(1) {
  background: var(--blue);
}

.category-panel[data-category="nootropics"],
.category-tab:nth-child(3) {
  background: var(--orange);
}

.category-panel[data-category="cbd"],
.category-tab:nth-child(4) {
  background: var(--green);
}

.category-tab.active {
  outline: none;
  position: relative;
}
.category-tab.active::after {
  content: "";
  position: absolute;
  height: 40px;
  width: 100%;
  background: inherit;
  bottom: -20px;
  left: 0;
  display: block;
}

.category-panel {
  min-height: 132px;
  margin: 10px 0 0;
  padding: 24px 34px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  text-align: center;
  align-content: center;
}

.category-panel p {
  color: var(--white);
  font-size: 13px;
  line-height: 17px;
}

.science-tabs {
  padding-top: 70px;
  position: relative;
}

.science-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(var(--max), calc(100% - 48px));
  max-width: calc(100% - 156px);
  width: 100%;
  min-height: 486px;
  margin: 0 auto;
  /* overflow: hidden; */
  border-radius: var(--radius);
  background: var(--green);
}

.hand-pouch {
  align-self: flex-start;
  /* width: min(320px, 100%); */
  width: min(600px, 100%);
  /* margin-left: 0px; */
  margin-left: 0;
  margin-top: 0;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
}
.science-content {
  padding: 42px;
  display: flex;
  flex-direction: column;
  min-height: 60px;
}

.pill-tabs {
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 70px;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 0 76px;
}

.pill {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: var(--white);
  font-size: 18px;
  font-weight: 200;
  line-height: 1;
  height: 36px;
}

.pill.active {
  background: var(--white);
  color: var(--ink);
}
.fold-1 {
  margin: 0 auto;
  max-width: 960px;
  margin-top: -30px;
  height: 62px;
  width: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
section#categories,
section#platform {
  background: #f4f4f4;
}
.poster .fold {
  margin: 0 auto;
  max-width: 960px;
  width: 100%;
  margin-top: -40px;
  height: 80px;
  object-fit: cover;
}

.science-content h2 {
  max-width: 536px;
  font-size: clamp(34px, 2.7vw, 54px);
  padding-top: 92px;
  text-align: left;
  letter-spacing: 0;
}
.science-content h2 span {
  color: var(--white);
  display: block;
}
.science-content p {
  width: min(450px, 100%);
  margin: 22px 0 30px;
  color: var(--white);
  font-size: 15px;
}

.progress-line {
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 20px;
}

.progress-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(100% / var(--pill-count, 6));
  background: #fff;
  transform: translateX(calc(var(--active-index, 0) * 100%));
  transition: transform 0.3s ease;
}
.advantage {
  padding-top: 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.advantage-grid article {
  display: grid;
  grid-template-columns: 100px 1fr;
  min-height: 132px;
  align-items: center;
  gap: 16px;
  padding: 40px 34px;
  border-radius: var(--radius);
  background: var(--panel);
}

.advantage-grid img {
  width: 100px;
  max-height: 100px;
  object-fit: contain;
  border-radius: 70px;
  mix-blend-mode: darken;
}

.advantage-grid h3 {
  display: block;
  min-width: 112px;
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-family: var(--heading);
  letter-spacing: -0.7px;
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
}

.advantage-grid p {
  margin: 0;
  font-size: 14px;
}

.poster {
  text-align: center;
}

.poster img {
  width: min(384px, 72vw);
  margin: 28px auto 0;
}

.pouchology-panel,
.challenges-panel {
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pouchology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 14px;
  align-items: center;
  margin-top: 36px;
}

.pouchology-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.36;
  border-radius: var(--radius);
  object-fit: cover;
}

.pouchology h3 {
  margin: 0 0 12px;
  font-family: var(--heading);
  letter-spacing: -0.7px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.92;
  text-transform: uppercase;
}

.pouchology p {
  font-size: 14px;
  max-width: 72%;
}

.challenges-panel {
  border: 0;
  background: var(--panel);
  text-align: center;
}

.challenges p {
  width: min(830px, 100%);
  margin: 0 auto;
  font-size: 14px;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px 18px;
  margin-top: 44px;
}
.challenge-grid > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.challenge-grid span {
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  font-family: var(--heading);
  letter-spacing: -0.7px;
  text-transform: uppercase;
}

.contact {
  padding-top: 36px;
}

.contact-panel {
  width: calc(100% - 156px);
  margin: 0 auto;
  padding: 0 clamp(24px, 7vw, 95px) 40px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  text-align: center;
}
.contact-panel .blc-text {
  font-family: var(--heading);
  font-size: 1.2vw;
  font-weight: 500;
  color: #050505;
  margin-bottom: 0;
}
.contact-panel img {
  width: min(275px, 58vw);
  margin: 0 auto -12px;
  transform: translateY(-20px);
}

.contact h2 {
  margin-bottom: 6px;
  margin-top: 30px;
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 48px);
}

.contact p {
  width: min(730px, 100%);
  margin: 0 auto 36px;
  color: var(--white);
  font-size: 13px;
}

form {
  display: grid;
  width: min(390px, 100%);
  margin: 0 auto;
  gap: 8px;
}

form label span,
legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  background: transparent;
  color: var(--white);
  text-align: center;
  outline-offset: 3px;
  font-family: var(--heading);
  font-weight: 200;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

fieldset label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--white);
    border-radius: 4px;
    background: transparent;
    margin: 0;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
fieldset {
    border: 0;
    display: flex;
    margin: 6px auto;
    align-items: center;
}
fieldset label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 14px;
    font-size: 12px;
}

fieldset label input[type="checkbox"]:checked {
    background: var(--white);
}

fieldset label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid var(--green, #6cb648);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

form button {
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  background: var(--white);
  color: #e71969;
  font-family: var(--heading);
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
}

small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 9px;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 0 24px 70px;
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    justify-content: space-between;
    width: calc(100% - 24px);
    min-height: 40px;
    flex-direction: row;
    margin-top: 0;
  }
  .platform p {
    font-size: 15px;
    max-width: 100%;
    line-height: 17px;
    margin: auto;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
  }

  .primary-nav {
    position: absolute;
    top: 48px;
    right: 0;
    display: none;
    width: min(260px, 84vw);
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 9px 4px;
    min-height: auto;
    border: 0;
    border-radius: 0;
    font-size: 13px;
  }

  .primary-nav a:first-child {
    border: 0;
  }

  .hero {
    min-height: 720px;
    padding-top: 86px;
  }

  .hero::before {
    top: 86px;
    width: 94vw;
    font-size: min(54vw, 330px);
  }

  .hero-content {
    min-height: 610px;
    padding-top: 80px;
  }

  .hero p {
    margin-top: 26px;
  }

  .advantage-grid,
  .challenge-grid,
  .pouchology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-tab {
    min-height: 56px;
  }
  .science-card {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .hand-pouch {
    /* width: 92%; */
    width: 0;
    margin: -20px auto 0;
  }

  .science-content {
    padding: 0 24px 32px;
  }

  .pill-tabs {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0;
    padding: 40px 0;
    position: unset;
  }
  .science-content h2 {
    padding-top: 0;
    margin-bottom: 0;
  }
  .science-content p {
    padding: 10px 0;
  }
  .pouchology-grid {
    align-items: start;
  }
  .contact-panel {
    width: 100%;
  }
  .pouchology-grid div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .brand-name {
    font-size: 19px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 7px;
  }
  .category-tab.active::after {
    content: none;
  }
  .science-card {
    width: 100%;
    max-width: 100%;
  }
  .hand-pouch {
    margin-top: 0;
  }

  .hero {
    min-height: 660px;
    padding-inline: 16px;
  }

  .section {
    padding: 46px 16px;
  }

  .advantage-grid,
  .pouchology-grid {
    grid-template-columns: 1fr;
  }
  .challenge-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-panel .blc-text {
    font-size: 18px;
  }
  .category-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
  .category-tab {
    min-height: 40px;
    font-size: clamp(16px, 3.2vw, 38px);
    border-radius: 10px;
  }

  .category-panel {
    padding: 20px;
  }

  .pill-tabs {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 307px;
    padding-inline: 20px;
  }
  .science-content h2 {
    padding-top: 512px;
  }
  .pouchology p {
    font-size: 14px;
    max-width: 100%;
  }

  .advantage-grid article {
    grid-template-columns: 74px 1fr;
    padding: 18px;
  }

  .contact-panel {
    width: calc(100% - 32px);
  }

  fieldset {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}
