@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Italiana&display=swap');

:root {
  --color-ink: #292822;
  --color-cream: #f5f0e7;
  --color-paper: #fbf8f2;
  --color-clay: #bb684b;
  --color-sage: #a8af98;
  --color-line: #d9d1c4;
  --font-display: 'Italiana', Georgia, serif;
  --font-sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; }

* { box-sizing: border-box; }

.site-shell { overflow: hidden; }

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 6.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4.5vw;
  color: white
}

.wordmark {
  width: fit-content;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .28em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.header-brand,
.header-socials {
  display: flex;
  align-items: center;
}

.header-brand {
  gap: 1rem;
}

.header-socials {
  gap: .75rem;
}

.header-socials a {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.header-socials svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-left: 2rem;
}

.nav a {
  color: inherit;
  font-size: .85rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.etsy-wordmark {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.nav a::after,
.footer-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  margin-top: .3rem;
  background: currentColor;
  transition: width .3s ease;
}

.nav a:hover::after,
.footer-links a:hover::after {
  width: 100%;
}

.header-actions {
  justify-self: end;
  display: flex;
  gap: .35rem;
}

.icon-button,
.menu-button {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.icon-button svg { width: 1.25rem; }

.favorite-count { position: relative; }

.favorite-count span {
  position: absolute;
  top: 0;
  right: -.15rem;
  width: 1rem;
  height: 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-ink);
  background: var(--color-cream);
  font-size: .6rem;
}

.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 52rem;
  color: white;
  background: #7d6958;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(31 25 20 / 36%);
}

.hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(52rem, 80vw);
  padding: 14rem 0 7rem 9vw;
}

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--font-display);
  font-weight: 400;
}

h1 {
  margin: 0;
  font-size: clamp(4.4rem, 8vw, 8rem);
  line-height: .88;
  letter-spacing: -.04em;
}

h1 em,
h2 em {
  font-weight: 400;
}

.hero-intro {
  max-width: 31rem;
  margin: 2.4rem 0 2.7rem;
  color: rgb(255 255 255 / 82%);
  font-size: .95rem;
  line-height: 1.8;
}

.primary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: inherit;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-link {
  padding-bottom: .65rem;
  border-bottom: 1px solid currentColor;
}

.primary-link svg,
.text-link svg {
  width: 1.15rem;
  transition: transform .25s ease;
}

.primary-link:hover svg,
.text-link:hover svg {
  transform: translateX(.35rem);
}

.vertical-note {
  position: absolute;
  z-index: 2;
  right: 2.5rem;
  bottom: 4rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .1em;
  writing-mode: vertical-rl;
}

.section-wrap {
  padding: 8.5rem 7vw;
}

.section-heading h2,
.story-copy h2,
.newsletter h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.3rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 4rem;
}

.split-heading > p {
  max-width: 24rem;
  margin: 0 4vw .4rem 2rem;
  color: #69665f;
  font-size: .9rem;
  line-height: 1.8;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.collection-card {
  color: inherit;
  text-decoration: none;
}

.collection-image {
  position: relative;
  height: 32rem;
  overflow: hidden;
  background: var(--color-cream);
}

.collection-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.collection-card:hover img {
  transform: scale(1.035);
}

.card-2 {
  margin-top: 4.5rem;
}

.card-number {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-paper);
  font-family: var(--font-display);
  font-size: .8rem;
}

.card-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem .15rem 0;
}

.card-caption h3 {
  margin: 0 0 .35rem;
  font-size: 1.8rem;
  line-height: 1.2;
}

.card-caption p,
.product-info p {
  margin: 0;
  color: #7a766e;
  font-size: .75rem;
}

.round-arrow {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  transition: color .25s, background .25s;
}

.round-arrow svg {
  width: 1rem;
}

.collection-card:hover .round-arrow {
  color: white;
  background: var(--color-clay);
  border-color: var(--color-clay);
}

.quote-band {
  padding: 8rem 2rem;
  text-align: center;
  color: var(--color-paper);
  background: var(--color-clay);
}

.quote-band .spark {
  margin: 0 0 2rem;
  color: #e6b8a2;
  font-size: 1rem;
}

.quote-band .spark svg {
  display: block;
  width: 1rem;
  height: 1rem;
  margin: 0 auto;
  fill: currentColor;
}

blockquote {
  margin: 0;
  font-size: clamp(2.5rem, 4.3vw, 4.5rem);
  line-height: 1.18;
}

.signature {
  margin: 2.2rem 0 0;
  font-size: .7rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.featured-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.text-link {
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--color-line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.product-image {
  position: relative;
  height: 24rem;
  overflow: hidden;
  background: var(--color-cream);
}

.product-image > img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-image > img {
  transform: scale(1.025);
}

.product-favorite {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--color-ink);
  background: rgb(251 248 242 / 90%);
  cursor: pointer;
}

.product-favorite svg {
  width: 1rem;
}

.product-favorite.selected {
  color: var(--color-clay);
}

.quick-add {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: .85rem;
  border: 0;
  color: white;
  background: var(--color-ink);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(.5rem);
  transition: opacity .25s, transform .25s;
}

.quick-add.added {
  background: var(--color-clay);
}

.product-card:hover .quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 1rem .1rem;
}

.product-info h3 {
  margin: 0 0 .35rem;
  font-size: 1.3rem;
}

.product-info .price {
  color: var(--color-ink);
  font-size: .8rem;
}

.story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 46rem;
  background: var(--color-sage);
}

.story-image {
  position: relative;
  margin: 4.5rem 0 4.5rem 6vw;
}

.story-image img {
  height: 100%;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 6.5rem;
  height: 6.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--color-clay);
  font-family: var(--font-display);
  font-size: .85rem;
  line-height: 1.15;
  text-align: center;
  transform: rotate(8deg);
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 9vw;
}

.story-copy h2 {
  margin-bottom: 2.2rem;
}

.story-copy > p:not(.eyebrow) {
  max-width: 29rem;
  margin: 0 0 1.2rem;
  color: #474b3e;
  font-size: .9rem;
  line-height: 1.85;
}

.story-copy .dark-link {
  margin-top: 1.3rem;
  align-self: flex-start;
}

.newsletter {
  padding: 9rem 2rem;
  text-align: center;
  background: var(--color-cream);
}

.newsletter > p:not(.eyebrow) {
  margin: 2rem 0;
  color: #6d6961;
  font-size: .86rem;
  line-height: 1.8;
}

.newsletter form {
  width: min(30rem, 90vw);
  display: flex;
  margin: 2.5rem auto 0;
  border-bottom: 1px solid #928d83;
}

.newsletter input {
  flex: 1;
  padding: 1rem .2rem;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .8rem;
}

.newsletter form button {
  width: 3rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.newsletter form svg {
  width: 1.2rem;
}

.success-message {
  width: fit-content;
  margin: 2.5rem auto 0;
  padding: 1rem 1.4rem;
  border: 1px solid var(--color-sage);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr .6fr;
  gap: 3rem;
  padding: 5rem 7vw 3.5rem;
  color: var(--color-cream);
  background: var(--color-ink);
}

.footer-brand p {
  margin: 1.4rem 0 0;
  color: #a9a59c;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}

.footer-links p {
  margin: 0 0 .5rem;
  color: #817e77;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-links a {
  color: inherit;
  font-size: .75rem;
  text-decoration: none;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  color: #9f9b92;
}

.footer-social a {
  color: var(--color-cream);
}

.footer-social svg {
  width: 1.2rem;
}

.footer-social .etsy-wordmark {
  font-size: 1.2rem;
}

.footer-social p {
  margin: 0;
  font-size: .65rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
}

.copyright {
  margin: 0;
  color: #ffffff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
    height: 5rem;
    padding: 0 1.5rem;
  }

  .menu-button {
    display: grid;
    position: relative;
  }

  .menu-button span {
    position: absolute;
    width: 1.25rem;
    height: 1px;
    background: currentColor;
    transition: transform .25s;
  }

  .menu-button span:first-child {
    transform: translateY(-.25rem);
  }

  .menu-button span:last-child {
    transform: translateY(.25rem);
  }

  .menu-button.active span:first-child {
    transform: rotate(45deg);
  }

  .menu-button.active span:last-child {
    transform: rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 0;
    color: var(--color-cream);
    background: var(--color-ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
  }

  .nav a {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: none;
  }

  .nav-open {
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: 46rem;
  }

  .hero-copy {
    width: 90vw;
    padding: 13rem 1.5rem 5rem;
  }

  h1 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .vertical-note {
    display: none;
  }

  .section-wrap {
    padding: 6rem 1.5rem;
  }

  .split-heading {
    align-items: start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .split-heading > p {
    margin: 0;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .collection-image {
    height: min(31rem, 120vw);
  }

  .card-2 {
    margin-top: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-image {
    height: 56vw;
  }

  .quick-add {
    opacity: 1;
    transform: none;
  }

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

  .story-image {
    height: 34rem;
    margin: 3rem 1.5rem 0;
  }

  .story-copy {
    padding: 5rem 1.5rem;
  }

  .story-badge {
    right: -1rem;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .header-brand {
    gap: .5rem;
  }

  .header .wordmark {
    font-size: 1.1rem;
    letter-spacing: .15em;
  }

  .header-socials {
    gap: .45rem;
  }

  .header-socials .etsy-wordmark {
    font-size: .9rem;
  }

  .header-socials svg {
    width: .9rem;
    height: .9rem;
  }

  .header-actions {
    gap: 0;
  }

  .hero-image img {
    object-position: 58% center;
  }

  .hero-copy {
    padding-top: 11rem;
  }

  .hero-intro {
    font-size: .85rem;
  }

  .quote-band {
    padding: 6rem 1.5rem;
  }

  .featured-heading {
    align-items: start;
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .product-image {
    height: 115vw;
  }

  .story-image {
    height: 25rem;
  }

  .story-badge {
    width: 5.8rem;
    height: 5.8rem;
  }

  .newsletter {
    padding: 7rem 1.5rem;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-column: 1;
  }

  .footer-social {
    align-items: start;
    gap: 2rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}