@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  src: url("./assets/inter-regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  src: url("./assets/inter-medium.ttf") format("truetype");
  font-display: swap;
}

:root {
  --black: #050505;
  --white: #f7f7f3;
  --muted: rgba(247, 247, 243, 0.72);
  --dark-muted: rgba(5, 5, 5, 0.6);
  --logo-color: var(--white);
  --chip-bg: var(--white);
  --chip-text: var(--black);
}

* {
  box-sizing: border-box;
  letter-spacing: -0.04em;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--black);
  color: var(--white);
  font-family: Inter;
  font-weight: 400;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter;
  font-weight: 400;
}

body.logo-dark {
  --logo-color: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.site-logo {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  width: min(312px, calc(100vw - 40px));
  height: 66px;
  transform: translate3d(-50%, var(--logo-y, 0px), 0);
  pointer-events: auto;
}

.site-logo::before,
.site-logo::after,
.site-logo span {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--logo-color);
  -webkit-mask: url("./assets/merchfolio.svg") center / contain no-repeat;
  mask: url("./assets/merchfolio.svg") center / contain no-repeat;
}

.site-logo::before {
  opacity: 0.24;
  transform: translate3d(0, 5px, 0) scale(1.025);
  filter: blur(9px);
}

.site-logo::after {
  opacity: 0.2;
  transform: translate3d(var(--logo-glass-x, 0px), var(--logo-glass-y, 0px), 0);
  filter: blur(1.4px);
}

.site-logo span {
  opacity: 0.96;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.16));
}

.slide {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  isolation: isolate;
}

.copy {
  position: relative;
  z-index: 8;
  max-width: min(820px, calc(100vw - 44px));
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.is-active .copy {
  opacity: 1;
  transform: translateY(0);
}

.copy h1,
.copy h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 500;
  line-height: 0.92;
}

.copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.04;
}

.copy .kicker,
.copy .year {
  margin: 0 0 14px;
  color: currentColor;
  font-size: clamp(18px, 2.2vw, 34px);
  line-height: 0.96;
}

.description {
  max-width: 760px;
}

.extra {
  max-width: 640px;
  opacity: 0.72;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 820px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  border-radius: 999px;
  padding: 8px 13px 9px;
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.theme-cold,
.theme-light,
.theme-smoke,
.theme-violet {
  --chip-bg: var(--black);
  --chip-text: var(--white);
}

.theme-dark {
  --chip-bg: var(--white);
  --chip-text: var(--black);
}

.slide-intro {
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding: 112px 22px 40px;
  background: var(--black);
}

.slide-intro .copy {
  align-self: center;
  max-width: min(940px, calc(100vw - 44px));
}

.note {
  position: relative;
  z-index: 8;
  max-width: 580px;
  margin: 42px 0 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 1.08;
  text-align: right;
}

.intro-wall {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.68;
  transform: scale(calc(1.01 + var(--section-shift, 0) * 0.01));
  transition: transform 700ms ease;
}

.intro-wall::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.2) 54%, rgba(5, 5, 5, 0.88));
}

.wall-photo {
  position: absolute;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
}

.wall-photo-a {
  top: 10svh;
  right: 8vw;
  width: min(50vw, 720px);
  height: 46svh;
}

.wall-photo-b {
  right: 14vw;
  bottom: 6svh;
  width: min(46vw, 720px);
  height: 42svh;
}

.wall-photo-c {
  display: none;
}

.merch-slide {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 100svh;
  padding: 102px 22px 34px;
}

.theme-dark {
  background: radial-gradient(circle at 70% 20%, rgba(255, 230, 0, 0.18), transparent 30%), var(--black);
}

.theme-cold {
  color: var(--black);
  background: radial-gradient(circle at 12% 20%, rgba(154, 255, 212, 0.42), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(168, 158, 255, 0.54), transparent 32%),
    #edf4f6;
}

.theme-violet {
  background: radial-gradient(circle at 22% 22%, rgba(202, 89, 255, 0.44), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(148, 128, 255, 0.34), transparent 30%),
    #4b155f;
}

.theme-smoke {
  color: var(--black);
  background: radial-gradient(circle at 78% 18%, rgba(168, 158, 255, 0.46), transparent 28%),
    radial-gradient(circle at 20% 82%, rgba(196, 255, 221, 0.42), transparent 30%),
    #edf0ed;
}

.theme-light {
  color: var(--black);
  background: radial-gradient(circle at 74% 24%, rgba(168, 158, 255, 0.48), transparent 30%),
    radial-gradient(circle at 18% 76%, rgba(196, 255, 221, 0.44), transparent 34%),
    #f3f1e8;
}

.theme-cold .copy p,
.theme-light .copy p,
.theme-smoke .copy p {
  color: var(--dark-muted);
}

.theme-violet .copy p,
.theme-dark .copy p {
  color: var(--muted);
}

.product-stage {
  position: relative;
  z-index: 4;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 0;
  transform: translate3d(0, calc(var(--section-shift, 0) * -14px), 0);
  transition: transform 120ms linear;
}

.product-stage-pair {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(8px, 2vw, 28px);
}

.product-stage-single,
.product-stage-left {
  grid-template-columns: 1fr;
}

.product {
  width: min(42vw, 620px);
  max-width: 100%;
  max-height: 66svh;
  object-fit: contain;
  opacity: 0.12;
  transform: translateY(18px) scale(0.985);
  filter: drop-shadow(0 28px 80px rgba(0, 0, 0, 0.22));
  transition: opacity 500ms ease, transform 500ms ease;
}

.product-large {
  width: min(76vw, 820px);
}

.is-active .product {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 780px) {
  .site-logo {
    top: 14px;
    width: min(238px, calc(100vw - 36px));
    height: 52px;
  }

  .slide-intro {
    padding: 92px 22px 34px;
  }

  .slide-intro .copy {
    align-self: end;
  }

  .slide-intro .copy h1 {
    font-size: clamp(42px, 11vw, 68px);
  }

  .note {
    margin-top: 26px;
    margin-left: 0;
    text-align: left;
  }

  .intro-wall {
    opacity: 0.62;
  }

  .intro-wall::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.56), rgba(5, 5, 5, 0.2) 38%, rgba(5, 5, 5, 0.9));
  }

  .wall-photo-a {
    top: 86px;
    right: -18vw;
    width: 82vw;
    height: 42svh;
  }

  .wall-photo-b {
    right: -10vw;
    bottom: 8svh;
    width: 86vw;
    height: 36svh;
  }

  .merch-slide {
    padding: 88px 18px 28px;
    gap: 12px;
  }

  .copy h2 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .copy p {
    font-size: clamp(17px, 5vw, 22px);
  }

  .chips {
    gap: 6px;
    margin-top: 14px;
  }

  .chips li {
    padding: 7px 10px 8px;
    font-size: 13px;
  }

  .product-stage-pair {
    gap: 4px;
  }

  .product {
    width: 48vw;
    max-height: 56svh;
  }

  .product-large {
    width: min(94vw, 620px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .copy,
  .product,
  .intro-wall {
    transition: none;
  }
}
