@font-face {
  font-family: 'OnAcid';
  src: url('fonts/on acid.woff') format('woff'),
       url('fonts/on_acid.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text: #f0ede6;
  --accent: #c8712a;
  --muted: rgba(240, 237, 230, 0.4);
  --font: Arial, Helvetica, sans-serif;
  --font-display: 'OnAcid', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: #080808;
  overflow-x: hidden;
}

/* background video — fixed behind everything */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}

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

/* main content above overlay */
main {
  position: relative;
  z-index: 10;
}

/* each product section fills the viewport */
.item {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* scroll reveal */
.item .item-info,
.site-footer .footer-inner {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.item.visible .item-info,
.site-footer.visible .footer-inner {
  opacity: 1;
  transform: none;
}

/* product image — left */
.item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 3rem 2rem;
}

.item-image img {
  max-height: 70vh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* product info — right, vertically centered */
.item-info {
  padding: 3rem 4rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  min-height: 100vh;
}

.overline {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.item-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: normal;
  line-height: 1.05;
  color: var(--text);
}

.item--hero .item-name {
  font-size: clamp(4rem, 10vw, 8rem);
}

.item-desc {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 38ch;
}

.item-type {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--muted);
}

.item-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
  margin-top: 0.25rem;
}

/* buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  text-decoration: none;
  background: var(--accent);
  color: #080808;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.btn:hover {
  opacity: 0.78;
}

.btn--discord {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
  align-self: center;
}

/* footer */
.site-footer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-logo {
  width: 220px;
  height: auto;
}

.footer-statement {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.3rem);
  line-height: 1.65;
  color: var(--text);
  opacity: 0.75;
}

/* social icons */
.socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.socials a {
  display: flex;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.socials a:hover {
  color: var(--text);
}

.socials svg {
  width: 22px;
  height: 22px;
}

/* mobile */
@media (max-width: 700px) {
  .site-logo {
    width: 100px;
    top: 1rem;
    left: 1rem;
  }

  .item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
    padding-top: 5rem;
  }

  .item-image {
    height: 55vw;
    min-height: 220px;
    padding: 0 1.5rem;
  }

  .item-image img {
    max-height: 100%;
  }

  .item-info {
    padding: 2rem 1.5rem 3rem;
  }

  .btn {
    align-self: stretch;
    text-align: center;
  }

  .footer-logo {
    width: 160px;
  }
}
