:root {
  --black: #080807;
  --black-soft: #11110f;
  --ivory: #f4efe6;
  --ivory-muted: #d8d0c4;
  --champagne: #c8b99f;
  --line: rgba(244, 239, 230, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  background: var(--champagne);
  color: var(--black);
}

a {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 20;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 5vw, 72px);
}

.wordmark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--ivory-muted);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -1px;
}

.header-link {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--champagne);
}

.hero {
  min-height: 100svh;
  padding: 120px 24px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,185,159,0.13), rgba(8,8,7,0) 68%);
  filter: blur(16px);
  z-index: -1;
}

.hero-logo {
  width: min(410px, 72vw);
  height: auto;
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,.4));
  animation: reveal 1.3s ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 10px;
  font-weight: 500;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

h1 span {
  color: var(--champagne);
  font-style: italic;
}

.hero-copy {
  max-width: 620px;
  color: var(--ivory-muted);
  font-size: clamp(14px, 2vw, 17px);
  margin-bottom: 34px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--ivory-muted);
  padding: 16px 22px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  transition: .25s ease;
}

.primary-button:hover {
  background: var(--ivory);
  color: var(--black);
}

.marketplaces {
  padding: clamp(90px, 12vw, 170px) clamp(22px, 7vw, 110px);
  background: var(--ivory);
  color: var(--black);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading .eyebrow {
  color: #776a56;
}

.section-heading h2,
.story h2,
.closing h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.section-heading > p:last-child {
  color: #5c574f;
  max-width: 560px;
}

.marketplace-grid {
  border-top: 1px solid rgba(8,8,7,.22);
}

.marketplace-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 112px;
  border-bottom: 1px solid rgba(8,8,7,.22);
  text-decoration: none;
  transition: padding .25s ease, background .25s ease;
  cursor: pointer;
}

.marketplace-card:hover {
  padding-inline: 18px;
  background: rgba(8,8,7,.035);
}

.marketplace-number {
  font-family: var(--serif);
  font-size: 18px;
  color: #857965;
}

.marketplace-name {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.marketplace-description {
  color: #6c665d;
  font-size: 12px;
  margin-top: 8px;
}

.marketplace-arrow {
  font-size: 25px;
  transition: transform .25s ease;
}

.marketplace-card:hover .marketplace-arrow {
  transform: translateX(7px);
}

.story {
  padding: clamp(90px, 12vw, 170px) clamp(22px, 7vw, 110px);
  background:
    radial-gradient(circle at 80% 10%, rgba(200,185,159,.09), transparent 35%),
    var(--black-soft);
}

.story-panel {
  max-width: 1160px;
  margin-inline: auto;
}

.story h2 {
  max-width: 830px;
}

.story-lead {
  max-width: 680px;
  color: var(--ivory-muted);
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 70px;
}

.story-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.story-points > div {
  padding: 34px 32px 15px 0;
  border-right: 1px solid var(--line);
}

.story-points > div + div {
  padding-left: 32px;
}

.story-points > div:last-child {
  border-right: 0;
}

.story-points span {
  color: var(--champagne);
  font-size: 11px;
  letter-spacing: .15em;
}

.story-points h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin: 20px 0 8px;
}

.story-points p {
  color: var(--ivory-muted);
  font-size: 13px;
}

.closing {
  padding: 100px 24px 110px;
  text-align: center;
  background: var(--black);
}

.closing-logo {
  width: 126px;
  height: 126px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 28px;
}

.closing > p {
  color: var(--champagne);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.closing h2 {
  max-width: 820px;
  margin: 25px auto 30px;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--champagne);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(22px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  color: #8f897f;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(360px, calc(100vw - 40px));
  background: var(--ivory);
  color: var(--black);
  padding: 18px 42px 18px 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.4);
  transform: translateY(140%);
  transition: transform .3s ease;
}

.notice.visible {
  transform: translateY(0);
}

.notice button {
  position: absolute;
  right: 12px;
  top: 7px;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.notice strong,
.notice span {
  display: block;
}

.notice span {
  color: #5d574f;
  font-size: 12px;
  margin-top: 4px;
}

.notice code {
  font-size: 11px;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 96svh;
  }

  .hero-logo {
    width: min(350px, 84vw);
  }

  .marketplace-card {
    grid-template-columns: 40px 1fr auto;
    min-height: 98px;
  }

  .marketplace-description {
    font-size: 11px;
  }

  .story-points {
    grid-template-columns: 1fr;
  }

  .story-points > div,
  .story-points > div + div {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  footer {
    gap: 14px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
