/* ------------------------------------------------------------------
   Instant Pulls Vending · black & gold foil
   ------------------------------------------------------------------ */
:root {
  --black: #000;
  --ink: #0a0a0a;
  --ink-2: #121212;
  --ink-3: #1a1a1a;
  --line: rgba(216, 165, 84, 0.18);
  --line-strong: rgba(216, 165, 84, 0.42);
  --gold: #d8a554;
  --gold-2: #e4b96a;
  --gold-3: #b8863a;
  --gold-deep: #7a5622;
  --cream: #f4ead6;
  --muted: #a89c86;
  --dim: #6b6252;
  --gold-foil: linear-gradient(160deg, #f0cd83 0%, #d8a554 28%, #b8863a 55%, #e4b96a 78%, #c4924a 100%);
  --gold-text: linear-gradient(180deg, #f0cd83 0%, #d8a554 45%, #b8863a 100%);
  --display: "Anton", "Impact", sans-serif;
  --body: "Montserrat", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--black); }

/* grain overlay */
.grain {
  pointer-events: none;
  position: fixed; inset: 0; z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
.eyebrow__rule { display: inline-block; width: 36px; height: 1px; background: var(--gold); }
h1 {
  font-family: var(--display);
  font-size: clamp(56px, 9.5vw, 148px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
h1 .line { display: block; }
h1 .line--gold, .gold-text {
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--cream);
}
h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.lede { font-size: clamp(16px, 1.35vw, 20px); font-weight: 300; color: var(--muted); max-width: 54ch; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head__lede { color: var(--muted); font-weight: 300; margin-top: 16px; font-size: clamp(15px, 1.2vw, 18px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  font-family: var(--body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, border-color .3s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn--sm { padding: 12px 20px; font-size: 11px; }
.btn--gold { background: var(--gold-foil); color: var(--black); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(216,165,84,.55); }
.btn--ghost { color: var(--gold); border-color: var(--line-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); background: rgba(216,165,84,.06); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--pad);
  background: linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.75));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: block; height: 58px; width: 150px; overflow: hidden; }
.nav__brand img { width: 150px; height: 150px; object-fit: cover; object-position: center; margin-top: -46px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  color: var(--cream); position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold);
  transition: right .35s var(--ease);
}
.nav__links a:not(.btn):hover::after { right: 0; }
.nav__toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 6px;
}
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--gold); transition: transform .3s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; inset: 64px 0 auto 0; z-index: 39;
  background: var(--ink); border-bottom: 1px solid var(--line-strong);
  padding: 12px var(--pad) 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 28px; text-transform: uppercase; color: var(--cream);
}
.mobile-menu a:last-child { color: var(--gold); border: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(56px, 9vw, 130px) var(--pad) clamp(48px, 7vw, 100px);
  min-height: calc(100vh - 70px);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 78% 50%, rgba(216,165,84,.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(216,165,84,.08), transparent 60%);
}
.hero__glow::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 75%);
  opacity: .45;
}
.hero__copy { position: relative; z-index: 2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__stats li {
  flex: 1 1 140px; padding: 18px 22px 18px 0; margin-right: 22px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.hero__stats li:last-child { border-right: 0; margin-right: 0; }
.hero__stats strong { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--gold); letter-spacing: .02em; }
.hero__stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.hero__art { position: relative; z-index: 1; perspective: 1400px; display: grid; place-items: center; }
.pack {
  width: min(100%, 560px);
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(6deg);
  transition: transform .2s ease-out;
  will-change: transform;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.9)) drop-shadow(0 0 60px rgba(216,165,84,.18));
}
.pack__img { width: 100%; }
.pack__shine {
  position: absolute; inset: 18% 26% 18% 26%;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  mix-blend-mode: screen; pointer-events: none;
  transform: translateZ(40px);
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.hero__tag {
  position: absolute; bottom: 6%; right: 4%;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
  padding: 10px 16px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
}
.hero__tag i { font-style: normal; font-size: 9px; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  background: var(--gold-foil); color: var(--black);
  padding: 12px 0;
}
.marquee__track {
  display: flex; gap: 40px; white-space: nowrap; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display); font-size: 22px; letter-spacing: .18em; text-transform: uppercase;
}
.marquee__track i { font-style: normal; font-size: 14px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- how ---------- */
.how { padding: clamp(72px, 10vw, 140px) var(--pad); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--black); padding: clamp(28px, 3vw, 48px);
  position: relative; overflow: hidden;
  transition: background .4s;
}
.step:hover { background: var(--ink); }
.step__num {
  display: block; font-family: var(--display); font-size: 84px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold-deep);
  margin-bottom: 26px;
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.step:hover .step__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step h3 { margin-bottom: 12px; color: var(--cream); }
.step p { color: var(--muted); font-weight: 300; font-size: 15px; margin: 0; }
.step::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold-foil); transition: width .5s var(--ease);
}
.step:hover::after { width: 100%; }

/* ---------- about ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 100px); align-items: center;
  padding: clamp(48px, 8vw, 120px) var(--pad);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 15% 50%, rgba(216,165,84,.10), transparent 60%);
}
.about__art { position: relative; }
.about__art img { width: 100%; }
.about__art::before {
  content: ""; position: absolute; inset: 10% 8%;
  border: 1px solid var(--line-strong);
  transform: rotate(-3deg);
  pointer-events: none;
}
.about__copy h2 { margin-bottom: 26px; max-width: 14ch; }
.about__copy p { color: var(--muted); font-weight: 300; font-size: clamp(15px, 1.2vw, 18px); max-width: 60ch; }
.about__points { margin-top: 30px; border-top: 1px solid var(--line); }
.about__points li {
  padding: 18px 0 18px 32px; border-bottom: 1px solid var(--line);
  position: relative; color: var(--muted); font-weight: 300; font-size: 15px;
}
.about__points li::before {
  content: "★"; position: absolute; left: 0; top: 19px; color: var(--gold); font-size: 12px;
}
.about__points strong { color: var(--cream); font-weight: 600; }

/* ---------- products ---------- */
.products { padding: clamp(72px, 10vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.products__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px;
  margin-bottom: clamp(40px, 6vw, 90px);
}
.product {
  position: relative; background: var(--ink); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease);
}
.product:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.product__art { background: var(--black); padding: 8%; display: grid; place-items: center; position: relative; }
.product__art img { width: 100%; max-width: 420px; transition: transform .7s var(--ease); }
.product:hover .product__art img { transform: scale(1.04) rotate(-1.5deg); }
.product__art--ghost img { opacity: .28; filter: grayscale(.4); }
.product__art--ghost::after {
  content: "?"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 120px; color: var(--gold-deep);
}
.product__body { padding: 26px 28px 30px; border-top: 1px solid var(--line); flex: 1; }
.product__badge {
  display: inline-block; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700;
  background: var(--gold-foil); color: var(--black); padding: 6px 10px; margin-bottom: 14px;
}
.product__badge--muted { background: var(--ink-3); color: var(--muted); }
.product h3 { color: var(--cream); margin-bottom: 10px; }
.product p { color: var(--muted); font-weight: 300; font-size: 15px; margin: 0; }
.product__meta { display: flex; gap: 28px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.product__meta div { display: flex; flex-direction: column; }
.product__meta dt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.product__meta dd { margin: 4px 0 0; font-family: var(--display); font-size: 22px; color: var(--gold); letter-spacing: .03em; }
.product--feature .product__art { padding: 4%; }

.rarities {
  display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(28px, 5vw, 80px);
  align-items: center; padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--ink) 0%, var(--black) 60%);
}
.rarities__card { perspective: 1200px; }
.rarities__card img {
  width: 100%; border-radius: 4.5% / 3.5%;
  transform: rotateY(14deg) rotateX(4deg);
  box-shadow: -30px 40px 60px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .7s var(--ease);
}
.rarities:hover .rarities__card img { transform: rotateY(-6deg) rotateX(2deg); }
.rarities__copy h3 { color: var(--cream); margin-bottom: 12px; }
.rarities__copy p { color: var(--muted); font-weight: 300; max-width: 52ch; }
.tiers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tier {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border: 1px solid var(--line-strong);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--cream);
}
.tier span { width: 10px; height: 10px; rotate: 45deg; background: var(--t); box-shadow: 0 0 12px var(--t); }
.tier--common { --t: #e8e8e8; }
.tier--uncommon { --t: #62d38a; }
.tier--rare { --t: #4aa8ff; }
.tier--epic { --t: #b46cff; }
.tier--legendary { --t: var(--gold); border-color: var(--gold); }

/* ---------- locations ---------- */
.locations { padding: clamp(72px, 10vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.locations__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.location {
  border: 1px solid var(--line); background: var(--ink); overflow: hidden;
  display: flex; flex-direction: column; min-height: 320px;
  transition: border-color .4s;
}
.location:hover { border-color: var(--line-strong); }
.location__art { aspect-ratio: 16 / 10; background: var(--black); display: grid; place-items: center; overflow: hidden; }
.location__art img { width: 55%; }
.location__body { padding: 24px 26px 28px; flex: 1; }
.location__status {
  display: inline-block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
  color: var(--dim); border: 1px solid var(--line); padding: 5px 9px; margin-bottom: 14px;
}
.location__status--live { color: var(--gold); border-color: var(--gold); }
.location__status--live::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  margin-right: 8px; vertical-align: 1px; animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .3; } }
.location h3 { color: var(--cream); margin-bottom: 8px; }
.location p { color: var(--muted); font-weight: 300; font-size: 15px; margin: 0; }
.location--empty {
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(216,165,84,.035) 14px 15px), var(--black);
  border-style: dashed; justify-content: flex-end;
}
.location--empty a { border-bottom: 1px solid var(--gold); }

/* ---------- apply ---------- */
.apply {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 100px);
  padding: clamp(72px, 10vw, 140px) var(--pad);
  border-top: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(216,165,84,.14), transparent 60%),
    var(--black);
  position: relative; overflow: hidden;
}
.apply__intro { position: relative; }
.apply__intro h2 { margin-bottom: 20px; max-width: 12ch; }
.apply__intro > p { color: var(--muted); font-weight: 300; max-width: 46ch; font-size: clamp(15px, 1.2vw, 18px); }
.apply__pack { width: min(70%, 340px); margin-top: 30px; opacity: .9; transform: rotate(-8deg); }
.apply__pack img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.8)); }

.form {
  background: var(--ink); border: 1px solid var(--line-strong);
  padding: clamp(24px, 3.5vw, 48px);
  position: relative;
}
.form::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(216,165,84,.5), transparent 30%, transparent 70%, rgba(216,165,84,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--cream);
  background: var(--black); border: 1px solid var(--line); padding: 14px 16px;
  border-radius: 0; outline: none; width: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d8a554' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.field select option { background: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,165,84,.15);
}
.field.is-invalid input, .field.is-invalid select { border-color: #e0654a; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form__note { color: var(--dim); font-size: 13px; margin: 0; font-weight: 300; }
.form__status { margin: 18px 0 0; font-size: 14px; color: var(--gold); min-height: 1.4em; }

/* ---------- footer ---------- */
.footer {
  padding: clamp(48px, 7vw, 90px) var(--pad) 40px;
  border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.footer__logo { width: 220px; margin: -30px 0 10px -30px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 700; }
.footer p { color: var(--muted); font-weight: 300; font-size: 14px; max-width: 42ch; }
.footer a { border-bottom: 1px solid var(--line-strong); }
.footer__legal { font-size: 12px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: .05s; }
.hero .reveal:nth-child(2) { transition-delay: .15s; }
.hero .reveal:nth-child(3) { transition-delay: .3s; }
.hero .reveal:nth-child(4) { transition-delay: .42s; }
.hero .reveal:nth-child(5) { transition-delay: .55s; }
.steps .reveal:nth-child(2) { transition-delay: .12s; }
.steps .reveal:nth-child(3) { transition-delay: .24s; }
.products__grid .reveal:nth-child(2) { transition-delay: .12s; }
.products__grid .reveal:nth-child(3) { transition-delay: .24s; }
.locations__grid .reveal:nth-child(2) { transition-delay: .12s; }
.locations__grid .reveal:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .products__grid { grid-template-columns: 1fr 1fr; }
  .product--feature { grid-column: 1 / -1; }
  .product--feature .product__art img { max-width: 360px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__brand { height: 46px; width: 120px; }
  .nav__brand img { width: 120px; height: 120px; margin-top: -37px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero__art { order: -1; }
  .pack { width: min(72%, 380px); }
  .hero__tag { display: none; }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__art { max-width: 380px; margin: 0 auto; }
  .rarities { grid-template-columns: 1fr; }
  .rarities__card { max-width: 260px; margin: 0 auto; }
  .locations__grid { grid-template-columns: 1fr; }
  .location { min-height: 0; }
  .apply { grid-template-columns: 1fr; }
  .apply__pack { display: none; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .products__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .hero__stats li { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; }
  .hero__stats li:last-child { border-bottom: 0; }
}


/* ==================================================================
   DEPTH LAYER · lighting, stage, watermarks, rim-lit cards
   ================================================================== */
body {
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(216,165,84,.10), transparent 60%),
    var(--black);
}
main > section { position: relative; isolation: isolate; }

/* giant outlined watermark words */
.has-wm::before {
  content: attr(data-wm);
  position: absolute; right: -0.05em; top: 0.05em; z-index: -1;
  font-family: var(--display); font-size: clamp(120px, 26vw, 420px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(216,165,84,.10);
  letter-spacing: -0.01em; pointer-events: none; user-select: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%);
}
.about.has-wm::before { right: auto; left: -0.05em; top: auto; bottom: -0.1em; }
.locations.has-wm::before { top: auto; bottom: 0; }

/* ---- hero lighting ---- */
.hero { background: radial-gradient(ellipse 90% 60% at 70% 40%, #0f0b05 0%, var(--black) 70%); }
.hero__spot {
  position: absolute; inset: -20% 0 0 0; pointer-events: none; z-index: 0;
  background: conic-gradient(from 180deg at 74% -5%, transparent 0deg, rgba(216,165,84,.14) 12deg, transparent 32deg);
  filter: blur(18px);
}
.hero__wm {
  position: absolute; left: -0.06em; bottom: -0.16em; z-index: 0;
  font-family: var(--display); font-size: clamp(180px, 34vw, 560px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(216,165,84,.08);
  pointer-events: none; user-select: none;
}
.hero__flecks { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hero__flecks i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px 2px rgba(228,185,106,.55);
  opacity: 0;
  animation: fleck 9s linear infinite;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  animation-delay: calc(var(--d) * -1s);
  scale: var(--s);
}
.hero__flecks i:nth-child(1)  { --x: 62; --y: 80; --d: 0;   --s: .8; }
.hero__flecks i:nth-child(2)  { --x: 70; --y: 90; --d: 1.2; --s: 1.1; }
.hero__flecks i:nth-child(3)  { --x: 78; --y: 85; --d: 2.4; --s: .6; }
.hero__flecks i:nth-child(4)  { --x: 86; --y: 92; --d: 3.1; --s: 1; }
.hero__flecks i:nth-child(5)  { --x: 92; --y: 78; --d: 4.3; --s: .7; }
.hero__flecks i:nth-child(6)  { --x: 58; --y: 95; --d: 5.2; --s: .9; }
.hero__flecks i:nth-child(7)  { --x: 66; --y: 70; --d: 6.4; --s: .5; }
.hero__flecks i:nth-child(8)  { --x: 82; --y: 96; --d: 7.1; --s: 1.2; }
.hero__flecks i:nth-child(9)  { --x: 74; --y: 60; --d: 8.0; --s: .6; }
.hero__flecks i:nth-child(10) { --x: 95; --y: 88; --d: 2.9; --s: .8; }
.hero__flecks i:nth-child(11) { --x: 54; --y: 75; --d: 5.8; --s: .7; }
.hero__flecks i:nth-child(12) { --x: 88; --y: 66; --d: 1.7; --s: .9; }
.hero__flecks i:nth-child(13) { --x: 12; --y: 92; --d: 3.6; --s: .5; }
.hero__flecks i:nth-child(14) { --x: 22; --y: 96; --d: 6.9; --s: .8; }
.hero__flecks i:nth-child(15) { --x: 40; --y: 90; --d: 4.9; --s: .6; }
.hero__flecks i:nth-child(16) { --x: 6;  --y: 84; --d: 7.7; --s: .7; }
@keyframes fleck {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: .9; }
  60%  { opacity: .6; }
  100% { transform: translateY(-70vh) translateX(24px); opacity: 0; }
}

/* stage + reflection under the pack */
.hero__art { position: relative; padding-bottom: 12%; }
.hero__stage {
  position: absolute; left: 50%; bottom: 4%; translate: -50% 0;
  width: 110%; height: 26%;
  background: radial-gradient(ellipse at 50% 50%, rgba(216,165,84,.35) 0%, rgba(216,165,84,.10) 35%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.hero__stage::after {
  content: ""; position: absolute; inset: 42% 8%;
  border-radius: 50%;
  border: 1px solid rgba(216,165,84,.25);
  box-shadow: 0 0 40px rgba(216,165,84,.25) inset;
}
.pack { position: relative; z-index: 2; }
.pack__reflection {
  position: absolute; left: 50%; top: 100%; translate: -50% -30%;
  width: min(100%, 560px); z-index: 1; pointer-events: none;
  transform: scaleY(-1);
  opacity: .32;
  mask-image: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.85) 100%);
  filter: blur(2px) brightness(1.3);
}
.pack__sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,240,200,.35) 50%, transparent 62%);
  mix-blend-mode: screen;
  transform: translateX(-140%) skewX(-8deg);
  animation: sweep 6s var(--ease) 1.2s infinite;
}
@keyframes sweep { 0% { transform: translateX(-140%) skewX(-8deg); } 35%, 100% { transform: translateX(140%) skewX(-8deg); } }
.pack { filter: drop-shadow(0 50px 50px rgba(0,0,0,.95)) drop-shadow(0 0 80px rgba(216,165,84,.28)); }

/* hero stats as gold-edged plates */
.hero__stats { border: 0; gap: 12px; }
.hero__stats li {
  border: 1px solid var(--line-strong); margin: 0; padding: 18px 20px;
  background: linear-gradient(180deg, rgba(216,165,84,.10), rgba(216,165,84,.02));
  box-shadow: inset 0 1px 0 rgba(255,230,170,.18), 0 10px 30px -18px rgba(0,0,0,.9);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

/* ---- marquee as a skewed foil band ---- */
.marquee-wrap { position: relative; padding: 34px 0; overflow: hidden; }
.marquee-wrap .marquee {
  transform: rotate(-1.6deg) scaleX(1.04);
  box-shadow: 0 30px 60px -20px rgba(216,165,84,.45), 0 -10px 40px -20px rgba(216,165,84,.3);
  border: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.35), transparent 30%, transparent 70%, rgba(255,255,255,.25)),
    var(--gold-foil);
}
.marquee-wrap::before {
  content: ""; position: absolute; inset: 40% 0 40% 0;
  background: var(--gold-deep); opacity: .35;
  transform: rotate(-1.6deg) translateY(12px);
}

/* ---- section surfaces ---- */
.how {
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(216,165,84,.10), transparent 60%),
    linear-gradient(180deg, #050403, var(--black));
}
.steps { background: transparent; border: 0; gap: 18px; }
.step {
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(216,165,84,.10), rgba(216,165,84,0) 40%),
    linear-gradient(180deg, #0d0b08, #050403);
  box-shadow: inset 0 1px 0 rgba(255,230,170,.10), 0 30px 50px -30px rgba(0,0,0,1);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,230,170,.2), 0 40px 60px -30px rgba(216,165,84,.35);
  background:
    linear-gradient(160deg, rgba(216,165,84,.16), rgba(216,165,84,0) 45%),
    linear-gradient(180deg, #110d08, #070503);
}
.step__num {
  color: transparent; -webkit-text-stroke: 1px rgba(216,165,84,.45);
  text-shadow: 0 0 30px rgba(216,165,84,.15);
}

.about {
  background:
    radial-gradient(ellipse 50% 60% at 15% 50%, rgba(216,165,84,.16), transparent 60%),
    linear-gradient(180deg, var(--black), #070604 50%, var(--black));
}
.about__art::after {
  content: ""; position: absolute; inset: 20% 15%; z-index: -1;
  background: radial-gradient(circle, rgba(216,165,84,.30), transparent 65%);
  filter: blur(30px);
}
.about__art img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.9)); }

.products {
  background:
    radial-gradient(ellipse 40% 50% at 20% 30%, rgba(216,165,84,.12), transparent 60%),
    linear-gradient(180deg, #050403, var(--black) 40%, #060504);
}
.product {
  background: linear-gradient(180deg, #0f0c08, #050403);
  box-shadow: 0 40px 60px -30px rgba(0,0,0,1), inset 0 1px 0 rgba(255,230,170,.08);
}
.product::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  padding: 1px;
  background: linear-gradient(160deg, rgba(240,205,131,.7), rgba(216,165,84,.05) 35%, rgba(216,165,84,.05) 65%, rgba(240,205,131,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .5; transition: opacity .4s;
}
.product:hover::before { opacity: 1; }
.product:hover { box-shadow: 0 50px 70px -30px rgba(216,165,84,.30), inset 0 1px 0 rgba(255,230,170,.15); transform: translateY(-8px); }
.product__art {
  background:
    radial-gradient(ellipse 60% 55% at 50% 60%, rgba(216,165,84,.22), transparent 70%),
    linear-gradient(180deg, #000, #0a0805);
}
.product__art img { filter: drop-shadow(0 30px 30px rgba(0,0,0,.9)); }
.product--feature .product__art::after {
  content: ""; position: absolute; left: 50%; bottom: 6%; translate: -50% 0;
  width: 70%; height: 14%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(216,165,84,.45), transparent 70%);
  filter: blur(8px); z-index: 0;
}
.product--feature .product__art img { position: relative; z-index: 1; }

.rarities {
  background:
    radial-gradient(ellipse 40% 80% at 15% 50%, rgba(216,165,84,.18), transparent 60%),
    linear-gradient(135deg, #0f0c08 0%, var(--black) 60%);
  box-shadow: 0 50px 80px -40px rgba(0,0,0,1);
  position: relative; overflow: hidden;
}
.rarities__card { position: relative; perspective: 1200px; }
.rarities__card img { position: relative; z-index: 3; }
.rarities__card-back {
  position: absolute !important; inset: 0; z-index: 1 !important;
  transform: rotateY(14deg) rotateX(4deg) rotate(-10deg) translateX(-14%) !important;
  opacity: .55; filter: brightness(.7);
}
.rarities__card-back--2 { z-index: 2 !important; transform: rotateY(14deg) rotateX(4deg) rotate(-5deg) translateX(-7%) !important; opacity: .8; filter: brightness(.85); }
.rarities:hover .rarities__card-back { transform: rotateY(-6deg) rotateX(2deg) rotate(-14deg) translateX(-20%) !important; }
.rarities:hover .rarities__card-back--2 { transform: rotateY(-6deg) rotateX(2deg) rotate(-7deg) translateX(-10%) !important; }
.rarities__card-back, .rarities__card-back--2 { transition: transform .7s var(--ease); }

.locations {
  background:
    radial-gradient(circle at 1px 1px, rgba(216,165,84,.18) 1px, transparent 1.5px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--black), #050403);
}
.locations::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, var(--black) 90%);
}
.location {
  background: linear-gradient(180deg, #0d0b08, #050403);
  box-shadow: 0 30px 50px -30px rgba(0,0,0,1), inset 0 1px 0 rgba(255,230,170,.08);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.location:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -30px rgba(216,165,84,.3); }
.location__art { background: radial-gradient(ellipse at 50% 60%, rgba(216,165,84,.25), transparent 65%), #000; }
.location__art img { filter: drop-shadow(0 20px 20px rgba(0,0,0,.9)); }

.apply {
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(216,165,84,.22), transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(216,165,84,.10), transparent 60%),
    linear-gradient(180deg, #060504, var(--black));
}
.form {
  background: linear-gradient(180deg, #100d09, #070503);
  box-shadow: 0 60px 90px -40px rgba(0,0,0,1), 0 0 0 1px rgba(216,165,84,.15), inset 0 1px 0 rgba(255,230,170,.12);
}
.field input, .field select, .field textarea {
  background: linear-gradient(180deg, #000, #050403);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.8);
}
.apply__pack { filter: drop-shadow(0 0 60px rgba(216,165,84,.25)); }

.footer {
  background: linear-gradient(180deg, var(--black), #070604);
  border-top: 1px solid var(--line-strong);
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@media (max-width: 860px) {
  .hero__wm { font-size: 40vw; bottom: auto; top: 40%; }
  .has-wm::before { font-size: 34vw; }
  .marquee-wrap { padding: 22px 0; }
  .pack__reflection { width: min(72%, 380px); }
}
@media (prefers-reduced-motion: reduce) { .hero__flecks, .pack__sweep { display: none; } }

/* ---- hero headline: dialled back ---- */
h1 { font-size: clamp(44px, 6.6vw, 104px); line-height: 0.94; letter-spacing: 0.01em; margin-bottom: 24px; }
h1 .line--gold { -webkit-text-stroke: 0; }
.hero__copy { max-width: 620px; }
.lede { font-size: clamp(16px, 1.25vw, 19px); }

/* ==================================================================
   PRODUCT-FIRST REWORK · vending machine hero, brand cards, facts
   ================================================================== */
.hero__art { padding-bottom: 4%; }

/* ---- brand cards ---- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(40px, 6vw, 90px); }
.brand {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0f0c08, #050403);
  box-shadow: 0 40px 60px -30px rgba(0,0,0,1), inset 0 1px 0 rgba(255,230,170,.08);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.brand:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 50px 70px -30px rgba(216,165,84,.30); }
.brand::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; padding: 1px;
  background: linear-gradient(160deg, rgba(240,205,131,.7), rgba(216,165,84,.05) 35%, rgba(216,165,84,.05) 65%, rgba(240,205,131,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .5; transition: opacity .4s;
}
.brand:hover::before { opacity: 1; }
.brand__art {
  display: grid; place-items: center; padding: 34px 28px 26px;
  background: radial-gradient(ellipse 70% 60% at 50% 70%, var(--glow), transparent 70%), linear-gradient(180deg, #000, #0a0805);
  border-bottom: 1px solid var(--line);
}
.brand__pack {
  width: 62%; aspect-ratio: 5 / 7; border-radius: 6px;
  background: var(--pk);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -20px 30px rgba(0,0,0,.35), 0 30px 40px -18px rgba(0,0,0,1);
  transform: rotate(-4deg);
  transition: transform .6s var(--ease);
  position: relative; overflow: hidden;
}
.brand__pack::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 3px, transparent 3px 6px); opacity: .5;
}
.brand__pack::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.3) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.brand:hover .brand__pack { transform: rotate(0deg) scale(1.04); }
.brand:hover .brand__pack::after { transform: translateX(120%); }
.brand__pack b { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1; text-transform: uppercase; color: var(--pt); text-shadow: 0 2px 0 rgba(0,0,0,.35); letter-spacing: .02em; }
.brand__pack i { font-style: normal; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: var(--pt); opacity: .85; margin-top: 6px; font-weight: 700; }
.brand--pokemon  { --pk: linear-gradient(160deg, #ffd84a, #f0a400 55%, #2a5bd7 56%, #1c3f9e); --pt: #fff; --glow: rgba(255,200,60,.28); }
.brand--onepiece { --pk: linear-gradient(160deg, #ff5a3c, #c8161d 55%, #1a1a1a 56%, #000); --pt: #fff; --glow: rgba(220,40,40,.30); }
.brand--topps    { --pk: linear-gradient(160deg, #ffffff, #dfe7f5 55%, #1450c8 56%, #0a2e7a); --pt: #0a2e7a; --glow: rgba(60,120,255,.28); }
.brand--topps .brand__pack i { color: #0a2e7a; }
.brand--mtg      { --pk: linear-gradient(160deg, #3a2a1a, #171310 55%, #ff8a1f 56%, #b8500a); --pt: #f4ead6; --glow: rgba(255,138,31,.26); }
.brand__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.brand h3 { color: var(--cream); margin-bottom: 10px; font-size: clamp(20px, 1.6vw, 24px); }
.brand p { color: var(--muted); font-weight: 300; font-size: 14px; margin: 0 0 18px; flex: 1; }
.brand__meta { display: flex; gap: 22px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.brand__meta div { display: flex; flex-direction: column; }
.brand__meta dt { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.brand__meta dd { margin: 3px 0 0; font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: .04em; }

/* ---- machine facts ---- */
.facts {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px);
  align-items: start; padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 40% 80% at 10% 50%, rgba(216,165,84,.16), transparent 60%),
    linear-gradient(135deg, #0f0c08 0%, var(--black) 60%);
  box-shadow: 0 50px 80px -40px rgba(0,0,0,1);
}
.facts__copy h3 { color: var(--cream); margin-bottom: 12px; }
.facts__copy p { color: var(--muted); font-weight: 300; max-width: 40ch; margin: 0; }
.facts__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts__list li {
  padding: 18px 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(216,165,84,.06), rgba(216,165,84,0));
  display: flex; flex-direction: column; gap: 6px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.facts__list strong { font-family: var(--display); font-size: 18px; letter-spacing: .03em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.facts__list span { font-size: 13px; color: var(--muted); font-weight: 300; }

.apply__pack { width: min(50%, 220px); opacity: .6; }

@media (max-width: 1100px) { .brands { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brands { grid-template-columns: 1fr; }
  .facts__list { grid-template-columns: 1fr; }
}

/* ---- hero mark ---- */
.hero__art { padding-bottom: 0; }
.pack--mark { width: min(100%, 520px); animation: float 9s ease-in-out infinite; }
.pack--mark .pack__img { filter: drop-shadow(0 0 40px rgba(216,165,84,.35)); }
.pack--mark .pack__shine { inset: 25% 30%; }
.hero__stage { bottom: 14%; height: 22%; }
@media (max-width: 860px) { .pack--mark { width: min(60%, 320px); } }
