/* Homepage only. Scoped to body.ops-halloween-home so archives stay Atelier. */

body.ops-halloween-home {
  background: #fff;
}

.ops-hw-promo {
  background: #ff6a00;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 16px;
  line-height: 1.4;
}

.ops-hw-promo a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ops-hw-promo a:hover {
  color: #fff;
}

body.ops-halloween-home .site-header {
  background: #111;
}

body.ops-halloween-home .ops-hw-wordmark {
  font-family: Cinzel, "Times New Roman", Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}

body.ops-halloween-home .ops-hw-wordmark span {
  color: #ff7800;
}

body.ops-halloween-home .atelier-brand small {
  color: rgba(255, 255, 255, .75);
  letter-spacing: .06em;
  opacity: 1;
}

body.ops-halloween-home .atelier-head .main-navigation a:hover,
body.ops-halloween-home .atelier-head .main-navigation .current-menu-item > a {
  color: #ff7800;
  opacity: 1;
}

body.ops-halloween-home .site-search form {
  max-width: 420px;
  background: #fff;
  border-radius: 999px;
}

body.ops-halloween-home .ops-hw-account {
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}

body.ops-halloween-home .ops-hw-account:hover {
  color: #ff7800;
}

.ops-hw-hero {
  position: relative;
  background: #050810;
  overflow: hidden;
}

.ops-hw-hero__title {
  margin: 0;
  padding: 22px 20px 8px;
  text-align: center;
  color: #fff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.ops-hw-hero__picture {
  display: block;
}

.ops-hw-hero__img {
  width: 100%;
  height: min(48vw, 560px);
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ops-hw-hero__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.ops-hw-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff7800;
  color: #111;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.ops-hw-cta:hover {
  background: #ff8f2a;
  color: #111;
}

body.ops-halloween-home .ops-hw-crew {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 36px 0 28px;
}

body.ops-halloween-home .ops-hw-crew a {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1a1a1a;
  gap: 10px;
}

body.ops-halloween-home .ops-hw-crew a:hover {
  color: #e85d04;
}

body.ops-halloween-home .ops-hw-crew img {
  width: 92px;
  height: 92px;
  border: 3px solid #111;
  box-shadow: 0 0 0 3px #ff7800;
  background: #f3f3f3;
}

/* Phone sources sit in <picture>. contents keeps desktop flex/absolute layout on the img. */
body.ops-halloween-home .ops-hw-crew picture,
body.ops-halloween-home .product-card__media picture,
.ops-hw-tile picture {
  display: contents;
}

.ops-hw-rail {
  padding: 48px 0 12px;
  background: #fff;
}

.ops-hw-head {
  text-align: center;
  margin-bottom: 28px;
}

.ops-hw-head h2 {
  font-family: Cinzel, "Times New Roman", Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(90deg, #ff8a1a, #e63900 50%, #ff6a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ops-hw-head p {
  margin: 8px 0 0;
  color: #6b6b6b;
  font-size: 15px;
}

body.ops-halloween-home .ops-hw-rail .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

body.ops-halloween-home .ops-hw-rail--haunted .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.ops-halloween-home .ops-hw-rail .product-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 0 0 14px;
  box-shadow: none;
}

body.ops-halloween-home .ops-hw-rail .product-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

body.ops-halloween-home .ops-hw-rail .product-card__media,
body.ops-halloween-home .ops-hw-rail .product-card__media img {
  border-radius: 6px 6px 0 0;
  background: #f5f5f5;
}

body.ops-halloween-home .ops-hw-rail .product-card__title {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 12px 12px 8px;
  min-height: 2.6em;
}

body.ops-halloween-home .ops-hw-rail .product-card__title a {
  color: #1a1a1a !important;
}

body.ops-halloween-home .ops-hw-rail .product-card__price {
  color: #ff6a00;
  font-size: 16px;
  margin: 0 12px;
}

.ops-hw-shop {
  padding: 36px 0 48px;
  background: #fafafa;
}

.ops-hw-shop h2 {
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: #1a1a1a;
}

.ops-hw-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.ops-hw-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 15px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.ops-hw-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ops-hw-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .65) 100%);
}

.ops-hw-tile span {
  position: relative;
  z-index: 1;
}

.ops-hw-tile:hover {
  color: #fff;
}

.ops-hw-tile--tee { background: linear-gradient(145deg, #1a1a2e, #ff6a00); }
.ops-hw-tile--hoodie { background: linear-gradient(145deg, #0d1b2a, #e63946); }
.ops-hw-tile--poster { background: linear-gradient(145deg, #2d1b00, #f4a261); }
.ops-hw-tile--acc { background: linear-gradient(145deg, #1b4332, #ff9f1c); }
.ops-hw-tile--fig { background: linear-gradient(145deg, #240046, #ff6a00); }

.ops-hw-trust {
  background: #0f0f0f;
  color: #fff;
  padding: 36px 0;
}

.ops-hw-trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.ops-hw-trust li span {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.ops-hw-trust strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.ops-hw-trust p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
}

@media (max-width: 1100px) {
  body.ops-halloween-home .ops-hw-rail .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.ops-halloween-home .ops-hw-rail--haunted .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ops-hw-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ops-hw-promo {
    font-size: 11px;
    letter-spacing: .03em;
  }
  .ops-hw-hero__img {
    height: 280px;
    object-position: 62% center;
  }
  .ops-hw-cta {
    font-size: 13px;
    padding: 12px 18px;
  }
  body.ops-halloween-home .ops-hw-crew ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
  body.ops-halloween-home .ops-hw-crew img {
    width: 64px;
    height: 64px;
  }
  body.ops-halloween-home .ops-hw-rail .product-grid,
  body.ops-halloween-home .ops-hw-rail--haunted .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ops-hw-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ops-hw-tile--fig {
    grid-column: 1 / -1;
    aspect-ratio: 2.2 / 1;
  }
  .ops-hw-trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.ops-halloween-home .ops-hw-account {
    display: none;
  }
}
