/* SIMULATE — rebuilt from scratch. Two pages: / (lab) and /nuggs. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

:root {
  --red: #ff1a1a;
  --grey: #eae9ee;
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); background: #fff; }
a { color: inherit; }

/* ---------- Home: the lab ---------- */
.lab {
  display: flex;
  width: 100%;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: url('assets/lab.jpg') center / cover no-repeat;
}
.nugget-link {
  display: block;
  width: 2vw;
  height: 10vh;
  min-width: 10px;
  min-height: 30px;
  background: url('assets/nugget_normal.png') center / contain no-repeat;
}
.nugget-link:hover {
  background-image: url('assets/nugget_hover.png');
}

/* ---------- NUGGS: hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  background: url('assets/shelf.jpg') center / cover no-repeat;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  padding: 14px 16px 14px 20px;
  color: #fff;
  font-size: 24px;
  line-height: 1.2em;
  font-weight: 500;
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
}
.nav-pills {
  display: flex;
  align-items: stretch;
  margin-right: -26px;
  padding-right: 40px;
  border-radius: 60px 0 0 60px;
  background: #fff;
}
.nav-link {
  display: flex;
  align-items: stretch;
  margin-right: -52px;
  padding: 12px 56px 12px 20px;
  border: 3px solid #fff;
  border-radius: 60px;
  color: var(--red);
  font-size: 16px;
  line-height: 1.2em;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-link:hover { border-color: var(--red); }
.nav-link.nonshift {
  margin-right: -11px;
  padding-right: 20px;
}
.button {
  position: relative;
  z-index: 999;
  padding: 10px 20px;
  border: 4px solid var(--red);
  border-radius: 60px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  line-height: 1.2em;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { transform: scale(1.1); }

.arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrow img { opacity: 0.35; }

/* ---------- NUGGS: body ---------- */
.body {
  width: 100%;
  background: var(--grey);
}
.shipping {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 0;
}
.big {
  display: block;
  margin-top: 1%;
  padding: 0.5% 4% 2%;
  background: #fff;
  color: var(--red);
  font-size: 13vh;
  line-height: 1em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.big:hover { transform: rotate(-3deg); }
.big.alt:hover { transform: rotate(3deg); }

.product {
  display: flex;
  flex-direction: column;
}
.product-visual {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  padding: 140px 0 100px;
}
.pile {
  position: relative;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  width: 80vh;
  height: 60vh;
  margin-right: -231px;
  margin-bottom: -39px;
  background: url('assets/nugg-pile.png') 50% 100% / contain no-repeat;
}
.box {
  position: relative;
  z-index: 100;
  width: 80vh;
  height: 80vh;
  background: url('assets/dtc-box.png') center / contain no-repeat;
}
.badge-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 31%;
  margin-left: 12%;
}
.badge {
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 14vh;
  height: 14vh;
  border-radius: 800px;
  background: var(--red);
  color: #fff;
  font-size: 3vh;
  line-height: 1em;
  font-weight: 600;
  transform: rotate(-14deg);
}
.badge:hover { transform: rotate(9deg); }
.badge-stem {
  width: 4px;
  height: 8vh;
  margin-top: -3px;
  background: var(--red);
}

.product-buy {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 100px;
}
.buy-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 450px;
  max-width: 100%;
  height: 500px;
}
.flavors {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.flavor {
  position: relative;
  z-index: 20;
  display: flex;
  flex: 1;
  justify-content: center;
  padding: 12px 20px;
  border: 3px solid var(--red);
  border-radius: 60px;
  background: var(--red);
  color: #fff;
  font-size: 32px;
  line-height: 1em;
  font-weight: 700;
  text-decoration: none;
}
.flavor.off {
  z-index: 10;
  margin-left: -52px;
  background: #fff;
  color: var(--red);
}
.sizes {
  display: flex;
  margin-bottom: 30px;
}
.size {
  position: relative;
  z-index: 20;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 20px 20px;
  border: 3px solid var(--red);
  border-radius: 20px;
  background: var(--red);
  color: #fff;
  text-align: center;
  text-decoration: none;
}
.size.off {
  z-index: 10;
  margin-left: -52px;
  background: #fff;
  color: var(--red);
}
.price {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1em;
  font-weight: 700;
}
.weight {
  display: block;
  padding-bottom: 12px;
  font-size: 22px;
  line-height: 1em;
  font-weight: 700;
}
.detail {
  display: block;
  font-size: 18px;
  line-height: 1.2em;
  font-weight: 500;
}
.checkout {
  position: relative;
  z-index: 20;
  display: flex;
  flex: 0 auto;
  align-items: center;
  margin-top: 20px;
  padding: 20px 20px 20px 24px;
  border: 3px solid var(--red);
  border-radius: 400px;
  background: var(--red) url('assets/white-arrow.svg') 96% 50% no-repeat;
  color: #fff;
  font-size: 18px;
  line-height: 1em;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
  .pile { width: 80vw; height: 60vw; margin-right: -30vw; margin-bottom: -5vw; }
  .box { width: 80vw; height: 80vw; }
  .big { font-size: 14vw; }
  .nav-pills { display: none; }
}
@media (max-width: 479px) {
  .hero { background-position: 70% 50%; }
}
