/* These three leaves share the pilot's signature, grain and one-link focus treatment. */
.house-promo.hp-weight {
  --hp-mount: #644332; --hp-paper: #f2e8d9; --hp-ink: #322821;
  --hp-accent: #78402e; --hp-link: #563025; --hp-edge: #c8aa90;
  --hp-slip: #e2ccb1; --hp-slip-ink: #563728;
}
.house-promo.hp-care {
  --hp-mount: #789183; --hp-paper: #e5ece2; --hp-ink: #21372f;
  --hp-accent: #3c6652; --hp-link: #264c3a; --hp-edge: #9db0a1;
  --hp-slip: #eaf0df; --hp-slip-ink: #35503f;
}
.house-promo.hp-records {
  --hp-mount: #4f404c; --hp-paper: #efe7e2; --hp-ink: #312831;
  --hp-accent: #694453; --hp-link: #503443; --hp-edge: #bea9b0;
  --hp-slip: #eee2cc; --hp-slip-ink: #5b4149;
}
html[data-theme="dark"] .house-promo.hp-weight {
  --hp-mount: #4f332a; --hp-paper: #332c28; --hp-ink: #faf0e6;
  --hp-accent: #e5b79b; --hp-link: #f5ddca; --hp-edge: #856452;
}
html[data-theme="dark"] .house-promo.hp-care {
  --hp-mount: #3b5446; --hp-paper: #273830; --hp-ink: #eef4e9;
  --hp-accent: #bed7b9; --hp-link: #def1dd; --hp-edge: #63836d;
}
html[data-theme="dark"] .house-promo.hp-records {
  --hp-mount: #3f3541; --hp-paper: #37303a; --hp-ink: #f8efeb;
  --hp-accent: #dfc2ce; --hp-link: #f5e0ea; --hp-edge: #7a6672;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) {
  --hp-pad: clamp(.95rem, 2.6cqw, 1.85rem);
  --hp-art-size: 22%;
  grid-template:
    "art kicker sign" auto
    "art title title" auto
    "art deck deck" auto
    "art foot foot" auto / var(--hp-art-size) minmax(0, 1fr) auto;
  min-height: 0; padding: var(--hp-pad) var(--hp-pad) var(--hp-pad) 0;
  gap: 0 var(--hp-pad); align-content: center;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records)::before {
  background: var(--hp-paper);
  clip-path: polygon(21% 0, 100% 0, 100% 100%, 21.5% 100%, 21.8% 85%, 21% 72%,
    21.35% 53%, 20.9% 40%, 21.3% 22%);
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) :is(.hp-kicker, .hp-signature, .hp-title, .hp-footer) {
  margin: 0; padding: 0;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-kicker { align-self: center; }
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-title {
  align-self: start; margin-block: .48rem .46rem;
  font-size: clamp(1.8rem, 4.45cqw, 2.65rem); line-height: 1.03;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-deck {
  grid-area: deck; margin: 0 0 .65rem; color: var(--hp-ink);
  max-width: 51ch; font: .96rem/1.45 var(--hp-sans); text-wrap: pretty;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-signature {
  align-self: center; justify-self: end;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-signature img { width: 4.8rem; }
html[data-theme="dark"] .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-signature {
  background: var(--hp-slip); padding: .18rem .29rem;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-art {
  display: grid; align-self: stretch; align-items: center; justify-items: center;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-assay-slip {
  justify-self: end; width: 52%; margin: 0 4% 0 0; color: var(--hp-slip-ink); background-color: var(--hp-slip);
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-mark-label {
  color: inherit; font-size: .61rem; letter-spacing: .09em;
}
.house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-watermark {
  grid-area: art; left: 2%; top: 50%; bottom: auto; transform: translateY(-50%);
  width: 38%; filter: invert(1); opacity: .41;
}

/* The printed mass is the largest detail on a small, copper-edged balance ticket. */
.hp-weight .hp-assay-slip { border-bottom: 3px solid #b8825d; transform: rotate(-4deg); }
.hp-weight .hp-mark-number { font-size: clamp(2.5rem, 6.2cqw, 4.8rem); }
.hp-weight .hp-title :is(span, em), .hp-care .hp-title :is(span, em) { display: inline; }

/* Mirroring the ticket leaves the care question at the leading edge of the article. */
.house-promo.hp-care {
  --hp-art-size: 21%;
  grid-template-areas: "kicker sign art" "title title art" "deck deck art" "foot foot art";
  grid-template-columns: minmax(0, 1fr) auto var(--hp-art-size);
  padding-left: var(--hp-pad); padding-right: 0;
}
.house-promo.hp-care::before {
  clip-path: polygon(0 0, 79.6% 0, 79% 18%, 79.5% 34%, 78.9% 56%, 79.2% 79%,
    78.7% 100%, 0 100%);
}
.hp-care .hp-assay-slip { transform: rotate(3deg); }
.hp-care .hp-mark-number {
  font: 400 clamp(1.55rem, 4.3cqw, 3.1rem)/1 var(--hp-serif); letter-spacing: -.065em;
}

/* A ruled index card opens the records feature. Its material stays behind live type. */
.house-promo.hp-records {
  --hp-art-size: 30%; --hp-pad: clamp(1.1rem, 3.9cqw, 2.5rem);
  min-height: clamp(12rem, 32cqw, 19rem);
}
.house-promo.hp-records::before {
  clip-path: polygon(28.8% 0, 100% 0, 100% 100%, 30% 100%, 29.5% 74%,
    29.6% 55%, 29% 39%, 29.3% 21%);
}
.house-promo.hp-records .hp-title { font-size: clamp(2rem, 5.7cqw, 3.5rem); }
.house-promo.hp-records .hp-assay-slip {
  width: 55%; min-height: clamp(6.75rem, 19cqw, 11rem); padding: 1rem .22rem 2.2rem;
  justify-content: center; align-content: center; transform: rotate(-4deg);
  background-image: url("house-paper/paper-grain.svg"),
    repeating-linear-gradient(to bottom, transparent 0 1rem, #90756c60 1rem calc(1rem + 1px));
  background-size: 9rem, auto;
  box-shadow: 1px 2px #73666a, 3px 4px #c0afa6, 5px 6px #74636b, 7px 9px 5px #22102248;
}
.hp-records .hp-mark-number { font-size: clamp(2.1rem, 5.7cqw, 4.3rem); }

@container (max-width: 700px) {
  .house-promo:is(.hp-weight, .hp-care, .hp-records) { --hp-pad: clamp(.75rem, 3.2cqw, 1.25rem); }
  .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-kicker { font-size: .67rem; letter-spacing: .1em; }
  .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-signature img { width: 4.1rem; }
}
@container (max-width: 465px) {
  .house-promo:is(.hp-weight, .hp-care, .hp-records) {
    --hp-art-size: 22%;
    grid-template-areas: "art kicker" "art title" "art deck" "art foot" "art sign";
    grid-template-columns: var(--hp-art-size) minmax(0, 1fr); padding-left: 0; padding-right: var(--hp-pad);
  }
  .house-promo:is(.hp-care, .hp-records)::before {
    clip-path: polygon(21% 0, 100% 0, 100% 100%, 22% 100%, 21.4% 74%, 21.6% 46%, 21% 22%);
  }
  .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-title { font-size: clamp(1.48rem, 6.5cqw, 1.92rem); }
  .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-signature { margin-top: .55rem; justify-self: start; }
  .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-art { min-height: 7.4rem; align-items: end; }
  .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-assay-slip { width: 83%; justify-self: center; margin: 0; }
  .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-watermark { top: 0; left: 18%; width: 60%; max-width: 2.55rem; transform: none; }
  .house-promo:is(.hp-weight, .hp-care, .hp-records) .hp-mark-label { font-size: .54rem; }
  .house-promo.hp-records { min-height: 0; }
  .house-promo.hp-records .hp-assay-slip { min-height: 5.6rem; padding: .75rem .15rem 1.15rem; }
  .house-promo.hp-records .hp-art { min-height: 8.4rem; }
  .house-promo.hp-records .hp-title :is(span, em) { display: inline; }
}
