body[data-series="harry-potter"] {
  --hp-paper: #fcf7eb;
  --hp-envelope: #f2e4c9;
  --hp-ink: #2e2825;
  --hp-wax: #813746;
  --hp-fold: #b08e6a;
  --hp-hairline: #c8b394;
  --world-ground: var(--hp-paper);
  --world-ink: var(--hp-ink);
  --world-accent: var(--hp-wax);
  --field: var(--hp-envelope);
  --on-field: var(--hp-ink);
  --on-field-2: var(--hp-wax);
  --ui-action: var(--hp-wax);
  --ui-line: var(--hp-hairline);
  background: var(--hp-paper);
  color: var(--hp-ink);
}

body[data-series="harry-potter"] .world-hero {
  background-color: var(--hp-envelope);
  background-image: repeating-linear-gradient(4deg, #71493007 0 1px, transparent 1px 7px);
  color: var(--hp-ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-series="harry-potter"] :is(.hero-copy h1, :is(.world-section, .look-block, .styling-steps, .wear-it-to, .read-listen, .faq) > h2, #book, .world-card h3, .piece-card .lp-name, .make-it-read .recipe-title) {
  color: var(--hp-ink);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
}

body[data-series="harry-potter"] .hero-copy h1 {
  letter-spacing: -.04em;
  text-wrap: balance;
}

body[data-series="harry-potter"] .hero-copy h1 em {
  color: var(--hp-wax);
  font: inherit;
  font-style: italic;
}

body[data-series="harry-potter"] :is(.hero-meta, .hero-kit-label, .emblem-credit) {
  color: var(--hp-wax);
}

body[data-series="harry-potter"] .hero-copy :is(.answer, .scope a, .safe, .hero-kit, .look-hook) {
  color: var(--hp-ink);
}

body[data-series="harry-potter"] .hero-media {
  color: var(--hp-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-series="harry-potter"] .hero-media a { color: inherit; }

body[data-series="harry-potter"] .hero-media:has(.world-emblem) {
  --hp-seal-size: 76px;
  position: relative;
  padding-top: calc(var(--hp-seal-size) + 12px);
}

body[data-series="harry-potter"] .hero-media:has(.world-emblem)::before {
  content: "";
  position: absolute;
  inset: 2px 0 auto;
  height: var(--hp-seal-size);
  background:
    linear-gradient(to bottom left, transparent calc(50% - .6px), var(--hp-fold) 50%, transparent calc(50% + .6px)) left / 50% 100% no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--hp-fold) 50%, transparent calc(50% + .6px)) right / 50% 100% no-repeat;
  pointer-events: none;
}

body[data-series="harry-potter"] .world-emblem {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--hp-seal-size);
  height: var(--hp-seal-size);
  padding: 11px;
  border: 2px solid #a75e63;
  border-radius: 45% 52% 47% 50%;
  transform: translateX(-50%) rotate(-7deg);
  background: radial-gradient(ellipse at 28% 22%, #ab6872, var(--hp-wax) 56%, #622937);
  box-shadow: inset 0 0 0 4px #652c38, 1px 3px 0 #71493033;
  pointer-events: none;
}

body[data-series="harry-potter"] .world-emblem::after { display: none; }

body[data-series="harry-potter"] .world-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(1px 2px 0 #52232c);
}

body[data-series="harry-potter"] .hero-figure > img {
  height: 460px;
  max-height: none;
  object-fit: cover;
  object-position: center 32%;
}

body[data-series="harry-potter"] .hero-figure.is-diy > img {
  object-fit: contain;
}

body[data-series="harry-potter"] .hero-kit {
  border-block: 1px solid var(--hp-fold);
  padding-block: 14px;
}

body[data-series="harry-potter"] .hero-starters {
  background: transparent;
  box-shadow: none;
  border-inline: 0;
  border-radius: 0;
}

body[data-series="harry-potter"] .hero-kit-list li::before {
  width: 5px;
  height: 5px;
  background: var(--hp-wax);
  border: 0;
  border-radius: 50%;
}

body[data-series="harry-potter"] :is(.world-section, .look-block, .styling-steps, .wear-it-to, .read-listen, .faq) > h2 {
  padding-top: 0;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: -.025em;
}

body[data-series="harry-potter"] :is(.world-section, .look-block, .styling-steps, .wear-it-to, .read-listen, .faq) > h2::before {
  content: "";
  position: static;
  display: block;
  width: 100%;
  height: 12px;
  margin-bottom: 16px;
  border: 0;
  background:
    linear-gradient(45deg, transparent 35%, var(--hp-wax) 36% 63%, transparent 64%) left center / 9px 9px no-repeat,
    linear-gradient(var(--hp-fold), var(--hp-fold)) left center / 100% 1px no-repeat;
}

body[data-series="harry-potter"] .world-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fffaf0;
  color: var(--hp-ink);
}


body[data-series="harry-potter"] .world-card-image img {
  object-position: center 34%;
}

body[data-series="harry-potter"] .world-card-detail { color: var(--hp-wax); }

body[data-series="harry-potter"] :is(.wardrobe-plan, .make-it-read, .signature, .world-quote) {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hp-ink);
  box-shadow: none;
}

body[data-series="harry-potter"] .make-it-read {
  border-block: 1px solid var(--hp-fold);
  padding-block: 24px;
}

body[data-series="harry-potter"] .read-listen { --art-hem: 0px; }
body[data-series="harry-potter"] .read-listen::before,
body[data-series="harry-potter"] .read-listen::after { display: none; }

body[data-series="harry-potter"] .styling-steps {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hp-hairline);
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 24px;
}

body[data-series="harry-potter"] .secondary-look .look-photo {
  width: min(100%, 500px);
}

body[data-series="harry-potter"] .secondary-look .look-photo > img {
  border-radius: 0;
  width: 100%;
  height: auto;
  max-height: min(440px, 55svh);
  object-fit: cover;
  object-position: center 32%;
}

body[data-series="harry-potter"] .book-lines li {
  background: transparent;
  border-color: var(--hp-hairline);
}

body[data-series="harry-potter"] .faq-mark {
  background: var(--hp-wax);
  color: #fff6db;
  border-radius: 48% 54% 45% 51%;
}

body[data-series="harry-potter"] .world-section :is(.bridge, .occ-tile > a) {
  background: #fffaf0;
  color: var(--hp-ink);
  box-shadow: none;
}

body[data-series="harry-potter"] .hp-letter {
  padding: clamp(20px, 4vw, 44px);
  background: repeating-linear-gradient(4deg, #71493007 0 1px, transparent 1px 7px), var(--hp-envelope);
  border-block: 1px solid var(--hp-fold);
}

body[data-series="harry-potter"] .hp-letter-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 48px;
}

body[data-series="harry-potter"] .hp-letter-body figure {
  flex: 0 1 240px;
  margin: 0;
}

body[data-series="harry-potter"] .hp-letter-body img {
  display: block;
  width: 100%;
  height: auto;
}

body[data-series="harry-potter"] .hp-letter-body figcaption {
  color: var(--hp-wax);
  font-size: .95rem;
}

body[data-series="harry-potter"] .hp-letter-body > div { flex: 1 1 260px; }

@media (max-width: 899px) {
  body[data-series="harry-potter"] .hero-media:has(.world-emblem) { --hp-seal-size: 57px; }

  body[data-series="harry-potter"] .hero-figure > img {
    height: min(203px, 25svh);
    object-position: center 27%;
  }

  body[data-series="harry-potter"] .world-hero-inner:has(.world-emblem) .hero-copy > .scope { padding-inline-end: 0; }
  body[data-series="harry-potter"] .hero-starters { border-bottom: 0; }
}


body[data-series="harry-potter"] {
  --hp-letter-gutter: clamp(14px, 3vw, 36px);
  --hp-letter-paper: repeating-linear-gradient(4deg, #7149300a 0 1px, transparent 1px 7px), var(--hp-envelope);
}

body[data-series="harry-potter"] :is(.wardrobe-plan, #book, #book + .section-lede, .book-lines) {
  padding-inline: var(--hp-letter-gutter);
  background: var(--hp-letter-paper);
}

body[data-series="harry-potter"] :is(.wardrobe-plan, .make-it-read, #book, .look-block, .read-listen, .faq) {
  border-block-start: 3px double var(--hp-fold);
  padding-block-start: 20px;
}

body[data-series="harry-potter"] :is(.wardrobe-plan, .make-it-read, .book-lines) {
  border-block-end: 1px solid var(--hp-fold);
  padding-block-end: 20px;
}

body[data-series="harry-potter"] :is(.wardrobe-plan .pieces-h, .make-it-read .recipe-title, #book) {
  color: var(--hp-wax);
}

body[data-series="harry-potter"] #book::before {
  content: "";
  position: static;
  display: block;
  width: 100%;
  height: 18px;
  margin-block-end: 12px;
  border: 0;
  background:
    radial-gradient(ellipse at 45% 40%, #a75863, var(--hp-wax) 63%, transparent 69%) 0 50% / 19px 17px no-repeat,
    linear-gradient(var(--hp-fold), var(--hp-fold)) 19px 50% / calc(100% - 19px) 1px no-repeat;
}

body[data-series="harry-potter"] :is(#book, #book + .section-lede, .book-lines) { margin-block-end: 0; }
body[data-series="harry-potter"] :is(#book + .section-lede, .book-lines) { margin-block-start: 0; }
body[data-series="harry-potter"] #book + .section-lede { padding-block: 12px 20px; }
body[data-series="harry-potter"] .piece-card {
  border-block-end: 1px solid var(--hp-hairline);
}
body[data-series="harry-potter"] .book-lines li {
  margin: 0;
  padding-block: 14px;
  border-radius: 0;
  background: transparent;
}
body[data-series="harry-potter"] .faq-item {
  border-radius: 0;
  background-color: var(--hp-envelope);
}

body[data-series="harry-potter"] :is(.book-lines .cite, .wardrobe-plan .shop-note, .look-photo figcaption) {
  font-size: .9375rem;
  color: var(--hp-ink);
}
body[data-series="harry-potter"] .wardrobe-plan .ticket {
  background: transparent;
  color: var(--hp-ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-series="harry-potter"] .wardrobe-plan .ticket-stub {
  border-color: var(--hp-fold);
}
body[data-series="harry-potter"] .wardrobe-plan .ticket-stub::before,
body[data-series="harry-potter"] .wardrobe-plan .ticket-stub::after {
  content: none;
}

body[data-series="harry-potter"] .world-look {
  background-color: var(--hp-paper);
}
body[data-series="harry-potter"] .on-screen {
  margin-block: 28px;
  border: 0;
  border-block: 1px solid var(--hp-fold);
  border-radius: 0;
  background: transparent;
}
body[data-series="harry-potter"] .secondary-look .look-photo > img {
  max-height: min(360px, 48svh);
}
body[data-series="harry-potter"] #look-ron-christmas-maroon .hero-figure > img {
  object-position: center top;
}
body[data-series="harry-potter"] #look-draco-malkins-fitting .hero-figure > img {
  object-position: center 48%;
}
body[data-series="harry-potter"] #look-hagrid-frosty-mornings .hero-figure > img {
  object-position: center 40%;
}

@media (max-width: 899px) {
  body[data-series="harry-potter"] #look-draco-malkins-fitting .hero-figure > img {
    object-position: center 46%;
  }
  body[data-series="harry-potter"] #look-hermione-yule-ball .hero-figure > img { object-position: center 36%; }
}


.hp-uniform-intro {
  padding: clamp(1.25rem, 4vw, 3rem);
  padding-block-end: 1rem;
  background: var(--hp-letter-paper, #f6ecd9);
  border-block: 1px solid var(--hp-ink, #3c2b22);
}
.hp-uniform-intro h1 { margin-block-start: 0; }
.hp-uniform-byline { margin-block-end: 0; }
.hp-uniform-table { width: 100%; border-collapse: collapse; }
.hp-uniform-table :is(th, td) {
  padding: clamp(.4rem, 2vw, 1rem);
  text-align: start;
  vertical-align: top;
  border-block-end: 1px solid currentColor;
}
.hp-uniform .hp-letter-body img { height: auto; max-width: 14rem; margin-inline: auto; }
