:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --ink: #080806;
  --muted: rgba(8, 8, 6, 0.58);
  --line: rgba(8, 8, 6, 0.18);
  --acid: #c8ff22;
  --cold: #e9f4f1;
  --mx: 0;
  --my: 0;
  --scroll: 0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at calc(50% + var(--mx) * 12%) calc(20% + var(--my) * 8%), #ffffff 0 10rem, transparent 28rem),
    linear-gradient(180deg, #f8f8f4 0%, #ecebe6 48%, #f7f6f1 100%);
  color: var(--ink);
  cursor: none;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-shaking .can {
  animation: shake 380ms linear;
}

body.scan-mode {
  background:
    repeating-linear-gradient(90deg, rgba(8, 8, 6, 0.92) 0 3px, #f4f3ef 3px 8px),
    #f4f3ef;
}

#grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.cursor {
  position: fixed;
  z-index: 30;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(calc(var(--cursor-x, -40) * 1px), calc(var(--cursor-y, -40) * 1px), 0);
  transition:
    width 160ms ease,
    height 160ms ease,
    background 160ms ease;
}

body.is-hovering .cursor {
  width: 42px;
  height: 42px;
  background: rgba(200, 255, 34, 0.36);
}

a,
button {
  color: inherit;
  cursor: none;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.wordmark,
.pill-button,
.bottom-nav,
.receipt,
.sticker,
.section-label,
.facts-title,
.info-grid span {
  text-transform: uppercase;
}

.wordmark {
  font-size: 14px;
  font-weight: 900;
  pointer-events: auto;
}

.site-header .pill-button {
  margin-left: auto;
}

.pill-button,
.bottom-nav,
.dialog-close {
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: rgba(244, 243, 239, 0.72);
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 800;
  pointer-events: auto;
  backdrop-filter: blur(14px);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.pill-button:hover,
.dialog-close:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.panel {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: clamp(92px, 10vw, 132px) clamp(18px, 5vw, 74px);
}

.hero {
  display: grid;
  min-height: 118vh;
  grid-template-columns: minmax(260px, 0.84fr) minmax(300px, 1.16fr) minmax(240px, 0.64fr);
  align-items: center;
  gap: 24px;
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.ticker-top {
  top: 76px;
}

.ticker span {
  display: inline-block;
  min-width: 100%;
  animation: marquee 18s linear infinite;
}

.hero-copy {
  align-self: end;
  padding-bottom: 18vh;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(56px, 8.8vw, 148px);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy p:last-child,
.info-grid p,
.final-card p {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.08;
}

.product-stage {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100vh;
  place-items: center;
  perspective: 900px;
  transform: translate3d(calc(var(--mx) * -16px), calc(var(--my) * -18px), 0);
}

.can {
  position: relative;
  z-index: 3;
  width: clamp(150px, 24vw, 280px);
  aspect-ratio: 0.43;
  transform:
    rotateX(calc(var(--my) * -9deg))
    rotateY(calc(var(--mx) * 18deg + var(--scroll) * 180deg))
    rotateZ(calc(var(--mx) * -4deg))
    translateY(calc(var(--scroll) * 110px));
  transform-style: preserve-3d;
  transition: transform 80ms linear;
}

.can-body {
  position: absolute;
  inset: 5% 0;
  overflow: hidden;
  border: 1px solid rgba(8, 8, 6, 0.18);
  border-radius: 34px / 52px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 18%, rgba(255, 255, 255, 0.96) 44%, transparent 68%, rgba(0, 0, 0, 0.22)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(8, 8, 6, 0.035) 18px 19px),
    #f9faf4;
  box-shadow:
    inset -26px 0 44px rgba(0, 0, 0, 0.12),
    inset 24px 0 40px rgba(255, 255, 255, 0.9),
    0 44px 70px rgba(0, 0, 0, 0.24);
}

.can-top,
.can-bottom {
  position: absolute;
  left: 7%;
  z-index: 5;
  width: 86%;
  height: 9.4%;
  border: 1px solid rgba(8, 8, 6, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, #ffffff 0 28%, #e5e5df 48%, #c8c8c0 100%);
}

.can-top {
  top: 0;
}

.can-bottom {
  bottom: 0;
}

.claw-mark {
  position: absolute;
  top: 17%;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%) skewX(-11deg);
}

.claw-mark i {
  display: block;
  width: 15px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4ff29, #0c0d09);
  transform: rotate(9deg);
}

.claw-mark i:nth-child(2) {
  height: 104px;
  transform: translateY(-11px) rotate(5deg);
}

.claw-mark i:nth-child(3) {
  transform: rotate(1deg);
}

.can-body strong {
  position: absolute;
  top: 51%;
  left: 50%;
  font-size: clamp(31px, 4.5vw, 58px);
  font-weight: 950;
  letter-spacing: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.can-body span {
  position: absolute;
  left: 50%;
  width: 80%;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.can-kicker {
  top: 8%;
}

.can-body span:last-of-type {
  bottom: 13%;
}

.can-barcode {
  position: absolute;
  right: 16px;
  bottom: 18%;
  width: 32px;
  height: 76px;
  background: repeating-linear-gradient(90deg, #0b0b09 0 2px, transparent 2px 5px, #0b0b09 5px 6px, transparent 6px 9px);
}

.can-shadow {
  position: absolute;
  bottom: 17%;
  width: 320px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(8, 8, 6, 0.22), transparent 70%);
  filter: blur(8px);
  transform: translate3d(calc(var(--mx) * 28px), 0, 0);
}

.sticker {
  position: absolute;
  z-index: 4;
  border: 1px solid var(--ink);
  border-radius: 50%;
  padding: 28px 24px;
  background: rgba(244, 243, 239, 0.78);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  backdrop-filter: blur(10px);
}

.sticker-left {
  left: 8%;
  top: 22%;
  transform: translate3d(calc(var(--mx) * -34px), calc(var(--my) * -20px), 0) rotate(-16deg);
}

.sticker-right {
  right: 5%;
  bottom: 25%;
  transform: translate3d(calc(var(--mx) * 42px), calc(var(--my) * 26px), 0) rotate(14deg);
}

.receipt {
  align-self: end;
  max-width: 300px;
  margin-bottom: 10vh;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.32;
  transform: rotate(calc(var(--mx) * 3deg)) translateY(calc(var(--my) * -18px));
  backdrop-filter: blur(14px);
}

.receipt span {
  display: inline-block;
  width: 49%;
  font-weight: 800;
}

.receipt span + span {
  text-align: right;
}

.receipt p {
  margin: 0 0 7px;
}

.receipt hr {
  border: 0;
  border-top: 1px dashed var(--ink);
  margin: 13px 0;
}

.barcode {
  height: 54px;
  margin-top: 14px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 8px, transparent 8px 12px);
}

.product-info {
  display: grid;
  align-content: center;
  gap: 54px;
}

.section-label {
  width: max-content;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 900;
}

h2 {
  max-width: 1100px;
  margin-bottom: 0;
  font-size: clamp(44px, 8vw, 136px);
  font-weight: 950;
  line-height: 0.82;
  text-transform: uppercase;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
}

.info-grid article {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.info-grid span {
  font-size: 12px;
  font-weight: 950;
}

.info-grid h3 {
  max-width: 360px;
  margin: 18px 0 14px;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.88;
  text-transform: uppercase;
}

.nutrition {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(300px, 1fr);
  align-items: center;
  gap: 7vw;
}

.facts-card {
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
}

.facts-title {
  padding: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: 18px;
  font-weight: 950;
}

dl {
  margin: 0;
}

.facts-card div:not(.facts-title) {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--ink);
  padding: 14px 16px;
  gap: 12px;
}

.facts-card div:last-child {
  border-bottom: 0;
}

dt,
dd {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.big-copy p {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.final {
  display: grid;
  align-content: center;
  gap: 46px;
  padding-bottom: 140px;
}

.final-card {
  width: min(460px, 100%);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 22px 28px;
  background: var(--ink);
  color: var(--paper);
}

.final-card p {
  margin-bottom: 6px;
  color: rgba(244, 243, 239, 0.64);
  font-size: 13px;
  text-transform: uppercase;
}

.final-card a {
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 950;
}

.bottom-nav {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  pointer-events: auto;
}

.bottom-nav button {
  background: transparent;
  color: inherit;
  text-transform: inherit;
}

.info-dialog {
  width: min(560px, calc(100vw - 36px));
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 28px;
  background: #f8f8f4;
  color: var(--ink);
}

.info-dialog::backdrop {
  background: rgba(8, 8, 6, 0.44);
  backdrop-filter: blur(4px);
}

.info-dialog h2 {
  margin-top: 36px;
  font-size: clamp(38px, 8vw, 72px);
}

.dialog-close {
  float: right;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

@keyframes shake {
  0%,
  100% {
    filter: blur(0);
  }
  25% {
    filter: blur(1px);
  }
  50% {
    filter: blur(0);
  }
  75% {
    filter: blur(1px);
  }
}

@media (max-width: 980px) {
  .hero,
  .nutrition {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 138vh;
  }

  .hero-copy {
    align-self: start;
    padding-top: 80px;
    padding-bottom: 0;
    position: relative;
    z-index: 6;
  }

  .product-stage {
    min-height: 76vh;
    margin-top: -12vh;
  }

  .receipt {
    margin-bottom: 24px;
    position: relative;
    z-index: 7;
  }
}

@media (max-width: 640px) {
  body {
    cursor: auto;
  }

  a,
  button {
    cursor: pointer;
  }

  .cursor {
    display: none;
  }

  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .pill-button {
    padding: 10px 16px;
  }

  .site-header .pill-button[href="#product"] {
    display: none;
  }

  .panel {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    min-height: 132vh;
    padding-top: 82px;
  }

  .ticker-top {
    top: 62px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 84px);
  }

  h2 {
    font-size: clamp(42px, 14vw, 82px);
  }

  .product-stage {
    min-height: 70vh;
    margin-top: -18vh;
  }

  .sticker {
    padding: 18px 16px;
    font-size: 10px;
  }

  .sticker-left {
    left: 0;
  }

  .sticker-right {
    right: 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 12px 16px;
    white-space: nowrap;
  }
}
