:root {
  color-scheme: dark;
  --ink: #070706;
  --ivory: #eee0c4;
  --ash: #a7a093;
  --brass: #b58a45;
  --brass-hot: #d3a958;
  --brass-dark: #7d5a2b;
  --rust: #9f3f24;
  --line: rgba(238, 224, 196, 0.16);
  --max: 1328px;
  --display: "Big Shoulders Display", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --text: "Barlow Condensed", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(238, 224, 196, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 224, 196, 0.018) 1px, transparent 1px),
    var(--ink);
  background-size: 100% 5.5rem, 5.5rem 100%, auto;
  color: var(--ivory);
  font-family: var(--text);
  letter-spacing: 0;
}

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

.site-header,
main {
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.9rem;
  border-bottom: 1px solid var(--line);
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--brass);
  border-radius: 50%;
}

.nav-links {
  gap: 1rem;
}

.nav-links a {
  color: var(--ash);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 3.2rem;
}

.hero-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.7rem;
}

h1 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(5.8rem, 11.8vw, 11.75rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero-actions {
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.5rem;
  min-height: 4.6rem;
  padding: 1rem 1.8rem;
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button-primary {
  border-color: var(--brass-hot);
  background: var(--brass-hot);
  box-shadow: inset 0 0 0 1px rgba(7, 7, 6, 0.32);
  color: #120f09;
}

.featured-grid {
  display: grid;
  gap: 0.85rem;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nft-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #111;
}

.nft-frame {
  overflow: hidden;
}

.hero-nft {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-nft-rivet {
  transform: scale(1.02) translateY(0.2%);
}

.hero-nft-quench {
  transform: scale(1.02) translateY(0.2%);
}

.hero-nft-anchorite {
  transform: scale(1.03) translateY(0.2%);
}

.caption-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.caption-row p {
  margin: 0;
  color: var(--brass);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.carousel-section {
  padding: 1.2rem 0 0;
}

.carousel-label {
  margin-bottom: 0.85rem;
  color: var(--brass);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.carousel {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.carousel-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: drift 72s linear infinite;
}

.carousel:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-track img {
  display: block;
  width: clamp(8.5rem, 13vw, 12rem);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #111;
}

@media (max-width: 900px) {
  .hero-topline,
  .caption-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .site-header,
  main {
    width: min(100% - 1.2rem, var(--max));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    height: 6.8rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(4.4rem, 22vw, 6rem);
  }

  .button {
    min-width: 0;
    flex: 1 1 auto;
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
