/* Temporary landing page. Shared legal-page styles remain in styles.css. */
.home {
  --paper: #f8f7f3;
  --ink: #292b25;
  --muted: #71736b;
  --line: rgba(41, 43, 37, 0.15);
  --page: min(1320px, calc(100% - 96px));
  background: var(--paper);
}

.home::before {
  content: none;
}

.home .site-header {
  height: 104px;
  border: 0;
}

.home .wordmark {
  gap: 9px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.home .wordmark__mark {
  width: 12px;
  height: 12px;
  background: #c86b49;
}

.home nav {
  gap: 28px;
  color: var(--ink);
  font-size: 13px;
}

.home nav a,
.home .footer__links a {
  padding-block: 10px;
}

.home nav span {
  margin-left: 5px;
}

.home .hero {
  justify-content: center;
  min-height: 0;
  padding: 103px 0 134px;
  text-align: center;
}

.home h1 {
  max-width: none;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(78px, 9.6vw, 148px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.home h1 em {
  letter-spacing: inherit;
}

.home .work {
  padding: 0;
  border: 0;
  scroll-margin-top: 36px;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product__link {
  display: block;
}

.product__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
}

.product__image--harmonimo {
  background: #eeece6;
}

.product__image--kodotone {
  background: #e8ece8;
}

.product__image--rituals {
  background: #efefe4;
}

.product__image img {
  display: block;
  width: auto;
  height: 82%;
  max-width: 86%;
  object-fit: contain;
  filter: drop-shadow(0 14px 15px rgba(30, 33, 25, 0.13));
}

.product__image--rituals img {
  height: 86%;
  border-radius: 14% / 6.5%;
}

.product__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 21px 1px 0;
}

.product__caption h2 {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.product__caption p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.product__arrow {
  font-size: 23px;
  line-height: 1;
  transition: transform 220ms ease;
}

.product__link:focus-visible {
  outline-offset: 8px;
  border-radius: 2px;
}

@media (hover: hover) {
  .product__link:hover .product__arrow,
  .contact-link:hover span {
    transform: translate(2px, -2px);
  }
}

.invitation {
  width: var(--page);
  margin-inline: auto;
  padding: 164px 0 138px;
  text-align: center;
}

.invitation h2 {
  margin: 0 0 29px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(56px, 6.4vw, 94px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.invitation__note {
  margin: 56px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}

.contact-link span {
  display: inline-block;
  transition: transform 220ms ease;
}

.home footer {
  padding: 28px 0 32px;
}

.home footer .wordmark {
  font-size: 13px;
}

@media (max-width: 1000px) {
  .home {
    --page: calc(100% - 64px);
  }

  .products {
    gap: 18px;
  }

  .home .hero {
    padding: 90px 0 110px;
  }

  .product__caption h2 {
    font-size: 18px;
  }

  .invitation {
    padding: 130px 0 110px;
  }
}

@media (max-width: 700px) {
  .home {
    --page: calc(100% - 40px);
  }

  .home .site-header {
    height: 82px;
  }

  .home nav {
    gap: 18px;
    font-size: 12px;
  }

  .home .wordmark {
    font-size: 14px;
  }

  .home .hero {
    padding: 76px 0 90px;
  }

  .home h1 {
    font-size: clamp(50px, 11.8vw, 82px);
    line-height: 0.99;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 470px;
    margin-inline: auto;
  }

  .product__image {
    aspect-ratio: 1 / 1;
  }

  .product__caption {
    padding-top: 18px;
  }

  .product__caption h2 {
    font-size: 20px;
  }

  .invitation {
    padding: 108px 0 94px;
  }

  .invitation h2 {
    font-size: clamp(48px, 10.5vw, 72px);
  }

  .home footer {
    grid-template-columns: 1fr auto;
    gap: 18px;
    font-size: 11px;
  }

  .home .footer__links {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 24px;
  }
}
