/* Authored seasonal page. Reuses the Stationery type, panels and disclosures;
   product listing photographs retain their complete square framing. */
:where(body[data-page-identity='halloween-stationery']) .hero {
  min-height: 600px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: #181518;
}
:where(body[data-page-identity='halloween-stationery']) .hero-copy {
  padding: clamp(40px, 5vw, 72px);
  padding-right: 24px;
}
:where(body[data-page-identity='halloween-stationery']) .hero h1 {
  font-size: clamp(42px, 4.6vw, 64px);
}
:where(body[data-page-identity='halloween-stationery']) .hero .lead {
  max-width: 26ch;
}
/* Five owner-supplied mockups echo the layered Wedding Stationery hero.
   Each card keeps the complete square photograph; positions stay inside the panel. */
:where(body[data-page-identity='halloween-stationery']) .hero-products {
  position: relative;
  align-self: center;
  display: block;
  height: auto;
  aspect-ratio: 1;
  margin: 28px 32px 28px 8px;
}
:where(body[data-page-identity='halloween-stationery']) .hero-card.mockup {
  position: absolute;
  width: 45%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .3);
}
:where(body[data-page-identity='halloween-stationery']) .hero-card.mockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
:where(body[data-page-identity='halloween-stationery']) .hero-card[data-hero-mockup='kawaii-invitation-held'] {
  width: 53%; left: 1%; top: 4%; bottom: auto; z-index: 3;
  transform: rotate(-4deg);
}
:where(body[data-page-identity='halloween-stationery']) .hero-card[data-hero-mockup='black-cat-menu'] {
  right: 1%; top: 1%; z-index: 2; transform: rotate(4deg);
}
:where(body[data-page-identity='halloween-stationery']) .hero-card[data-hero-mockup='retro-food-label'] {
  left: 0; bottom: 1%; z-index: 4; transform: rotate(-3deg);
}
:where(body[data-page-identity='halloween-stationery']) .hero-card[data-hero-mockup='retro-drinks-menu'] {
  right: 0; bottom: 2%; z-index: 5; transform: rotate(3deg);
}
:where(body[data-page-identity='halloween-stationery']) .hero-card[data-hero-mockup='kawaii-invitation-detail'] {
  width: 34%; left: 34%; top: 36%; z-index: 6; transform: rotate(-2deg);
}
:where(body[data-page-identity='halloween-stationery']) .collections {
  background: #f3eef3;
}
:where(body[data-page-identity='halloween-stationery']) .collection {
  border: 1px solid #ded8d7;
  display: flex;
  flex-direction: column;
}
:where(body[data-page-identity='halloween-stationery']) .collection-media {
  aspect-ratio: 1;
  background: #fff;
}
:where(body[data-page-identity='halloween-stationery']) .collection-media img {
  object-fit: contain;
}
:where(body[data-page-identity='halloween-stationery']) .collection-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}
:where(body[data-page-identity='halloween-stationery']) .collection-action {
  display: block;
  padding-top: 16px;
  margin-top: auto;
  color: #38163c;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
:where(body[data-page-identity='halloween-stationery']) .pieces {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
:where(body[data-page-identity='halloween-stationery']) .path.bespoke {
  background: #181518;
}
:where(body[data-page-identity='halloween-stationery']) .path .button {
  align-self: flex-start;
}
body[data-page-identity='halloween-stationery'] .source-document .button {
  text-align: center;
}
:where(body[data-page-identity='halloween-stationery']) .halloween-steps {
  margin: 0;
  padding-left: 22px;
}
:where(body[data-page-identity='halloween-stationery']) .halloween-steps li {
  margin-bottom: 20px;
  padding-left: 6px;
}
:where(body[data-page-identity='halloween-stationery']) .halloween-steps strong {
  display: block;
  font-weight: 500;
}
:where(body[data-page-identity='halloween-stationery']) #collections,
:where(body[data-page-identity='halloween-stationery']) #custom {
  scroll-margin-top: 24px;
}

@media (max-width: 760px) {
  /* Higher specificity than the shared phone styles, limited to the new page. */
  body[data-page-identity='halloween-stationery'] .source-document .collection {
    align-items: center;
  }
  body[data-page-identity='halloween-stationery'] .source-document .collection-media {
    height: auto;
    aspect-ratio: 1;
    border-radius: 8px;
  }
  body[data-page-identity='halloween-stationery'] .source-document .collection-media img {
    height: auto;
    object-fit: contain;
  }
  body[data-page-identity='halloween-stationery'] .source-document .pieces {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page-identity='halloween-stationery'] .source-document .piece:last-child {
    grid-column: auto;
  }
  body[data-page-identity='halloween-stationery'] .source-document .halloween-steps {
    font-size: 14px;
    line-height: 1.55;
  }
  body[data-page-identity='halloween-stationery'] .source-document .path p + p {
    margin-top: 16px;
  }
  body[data-page-identity='halloween-stationery'] .source-document .collection-action {
    padding-top: 10px;
    font-size: 13px;
  }
}
