:root {
  color-scheme: light;
  --ink: #1d1b2e;
  --paper: #f7f2e8;
  --plum: #5b356d;
  --plum-dark: #35213f;
  --gold: #efc35c;
  --coral: #dc765f;
  --blue: #79b8c7;
  --line: rgba(29, 27, 46, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 28px 36px;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 1.05rem;
  font-weight: 750;
  gap: 12px;
  letter-spacing: -0.02em;
}

.brand-mark {
  align-items: center;
  background: var(--plum);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

nav {
  align-items: center;
  display: flex;
  font-size: 0.92rem;
  font-weight: 650;
  gap: 30px;
}

.nav-action {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 1.05fr 0.95fr;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 660px;
  padding: 64px 36px 100px;
}

.eyebrow {
  color: var(--plum);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7.4vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.89;
  margin: 0;
}

.hero-intro {
  font-size: 1.13rem;
  line-height: 1.7;
  margin: 34px 0;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 14px 22px;
}

.button-primary {
  background: var(--plum);
  color: white;
}

.button-secondary {
  border: 1px solid var(--line);
}

.hero-art {
  aspect-ratio: 0.9;
  background: var(--plum);
  border-radius: 46% 46% 8px 8px;
  max-height: 560px;
  overflow: hidden;
  position: relative;
}

.moon {
  background: var(--gold);
  border-radius: 50%;
  height: 170px;
  position: absolute;
  right: 12%;
  top: 11%;
  width: 170px;
}

.book {
  border-radius: 9px 9px 2px 2px;
  bottom: -5%;
  position: absolute;
  transform-origin: bottom center;
}

.book-one {
  background: var(--blue);
  height: 53%;
  left: 5%;
  transform: rotate(-12deg);
  width: 29%;
}

.book-two {
  background: var(--coral);
  height: 61%;
  left: 36%;
  transform: rotate(4deg);
  width: 28%;
}

.book-three {
  background: var(--paper);
  height: 47%;
  right: 4%;
  transform: rotate(13deg);
  width: 28%;
}

.art-message {
  color: white;
  display: flex;
  flex-direction: column;
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  left: 10%;
  line-height: 1.02;
  position: absolute;
  top: 13%;
}

.art-message strong {
  font-size: 1.55em;
  font-weight: 500;
}

.collections {
  background: white;
  padding: 110px max(36px, calc((100vw - 1168px) / 2));
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 70px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
  max-width: 850px;
}

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

.collections-grid article {
  border-right: 1px solid var(--line);
  padding: 34px 34px 20px 0;
}

.collections-grid article + article {
  padding-left: 34px;
}

.collections-grid article:last-child {
  border-right: 0;
}

.number {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
}

h3 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 42px 0 15px;
}

.collections-grid p {
  color: #565062;
  line-height: 1.65;
  margin: 0;
}

.community {
  background: var(--gold);
  padding: 120px max(36px, calc((100vw - 1168px) / 2));
  text-align: center;
}

.community blockquote {
  font-family: Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 24px auto 34px;
  max-width: 1060px;
}

.signature {
  font-weight: 750;
}

footer {
  background: var(--plum-dark);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 30px max(36px, calc((100vw - 1168px) / 2));
}

@media (max-width: 820px) {
  nav a:not(.nav-action) {
    display: none;
  }

  .hero {
    gap: 52px;
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-art {
    justify-self: center;
    max-width: 560px;
    width: 100%;
  }

  .section-heading,
  .collections-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 12px;
  }

  .collections-grid article,
  .collections-grid article + article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 30px 0;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 3.7rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 72px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
