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

@font-face {
  font-family: 'Marcellus';
  src: url('fonts/marcellus.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #F6F5F4;
  background-image: url('onepage.gif');
  background-repeat: repeat;
  background-size: 400px auto;
  font-family: Optima, -apple-system, 'Marcellus', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  color: #7D7C7B;
}

.page {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 2000px;
  margin: 0 auto;
  padding: 2rem;
}

.copy {
  flex: 0 0 33.333%;
  position: sticky;
  top: 2rem;
}

.copy h1 {
  font-weight: normal;
  font-size: 1.92rem;
  letter-spacing: -0.02em;
  line-height: 0.91;
  margin-bottom: 1rem;
}

.copy p {
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.copy a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
}

.copy a:hover {
  text-decoration-thickness: 1px;
}

.buy {
  margin-top: 1.5rem;
}

.buy {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.buy-btn {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: #7D7C7B;
  text-decoration: none;
  border: 1px solid #7D7C7B;
  border-radius: 2px;
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  background: rgba(246, 245, 244, 0.85);
  transition: background .2s, color .2s;
}

.buy-btn span {
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.buy-btn:hover {
  background: #7D7C7B;
  color: #F6F5F4;
}

.gallery {
  flex: 1 1 66.667%;
}

.gallery-item {
  margin-bottom: 6px;
}

.gallery-item a {
  display: block;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  transition: filter .2s;
}

.gallery-item:hover img {
  filter: brightness(.8);
}

@media (max-width: 767px) {
  .page {
    flex-direction: column;
    padding: 1.5rem;
  }

  .copy {
    flex: none;
    position: static;
    width: 100%;
  }

  .gallery {
    flex: none;
    width: 100%;
  }
}
