/* ==== The Political Campaigns page, redesigned 2026-11-29 in the new home page's language. Loaded only by
   src/pages/political-campaigns.html, after hv.css; every class here starts with pl2-, and all of it sits inside the
   page's own .pl2 wrapper. Things that change when a tile is seen (.is-live, from hv.js data-hm-live, or from the step
   cards' tabs) are real elements, not ::before/::after, so Safari restyles them. The finished state is the plain one;
   the starting state is written only for people who have not asked for less motion. ==== */
.pl2 { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.600 10.400l3 3 5.800-6.400' fill='none' stroke='%23fff' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --pl2-ink: #001e61; --pl2-mute: #63708f; --pl2-spring: cubic-bezier(.34, 1.56, .64, 1); --pl2-glide: cubic-bezier(.2, .8, .2, 1); }

/* ---- the top: the flag photo as one tile, the words on its dark side ---- */
.pl2-top { padding-bottom: calc(var(--hv-space) * .5); }
.pl2-hero { position: relative; display: grid; align-items: end; min-height: clamp(560px, 52vw, 680px); border-radius: var(--hv-r); overflow: hidden; background: #0b1230; isolation: isolate; }
.hv .pl2-hero-pic { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.pl2-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 9, 32, .84) 0%, rgba(3, 9, 32, .6) 42%, rgba(3, 9, 32, .08) 78%), linear-gradient(0deg, rgba(3, 9, 32, .5), rgba(3, 9, 32, 0) 50%); }
.pl2-hero-tx { max-width: 40em; padding: clamp(28px, 4.6vw, 64px); }
.hv .pl2-hero .hv-eyebrow { color: rgba(255, 255, 255, .7); }
.hv .pl2-h1 { margin: 0; max-width: 13.5em; font-size: clamp(2.15rem, 4.7vw, 3.75rem); line-height: 1.05; font-weight: 600; letter-spacing: -.026em; color: #fff; text-wrap: balance; }
.hv .pl2-hero-lede { margin: .9em 0 0; max-width: 29em; font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.42; font-weight: 600; color: rgba(255, 255, 255, .8); text-wrap: pretty; }
.hv .pl2-hero-cta { margin: 1.5em 0 0; }
@media (max-width: 699px) {
  .pl2-hero { min-height: 600px; }
  .hv .pl2-hero-pic { object-position: 22% 50%; }
  .pl2-hero-shade { background: linear-gradient(0deg, rgba(3, 9, 32, .9) 0%, rgba(3, 9, 32, .66) 52%, rgba(3, 9, 32, .12) 100%); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .pl2-hero:not(.is-live) .pl2-hero-pic { scale: 1.12; }
  .pl2-hero.is-live .pl2-hero-pic { transition: scale 2.8s var(--pl2-glide); }
}

/* ---- the four products: a bento of white tiles, each with a real sample piece on it ---- */
.pl2-bento { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) {
  .pl2-bento { grid-template-columns: repeat(20, minmax(0, 1fr)); }
  .pl2-pt-card, .pl2-pt-letter { grid-column: span 11; } .pl2-pt-gate, .pl2-pt-hang { grid-column: span 9; }
}
.pl2-pt { position: relative; display: flex; flex-direction: column; min-height: 600px; border-radius: var(--hv-r); background: #fff; overflow: hidden; isolation: isolate; }
.pl2-pt-tx { position: relative; z-index: 3; max-width: 25em; padding: clamp(26px, 3vw, 40px) clamp(26px, 3vw, 40px) 0; }
.hv .pl2-pt h3 { margin: 0; font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
.hv .pl2-pt-tx p { margin: .55em 0 0; font-size: 17px; line-height: 1.42; font-weight: 600; color: var(--hv-gray); text-wrap: pretty; }
.pl2-pt-art { position: relative; flex: 1; min-height: 320px; margin-top: 18px; container-type: inline-size; }
.pl2-pt-art img { -webkit-user-select: none; user-select: none; }

/* Standard Postcards: the sample mailer settles onto the tile, and straightens when pointed at */
.hv .pl2-card { position: absolute; left: 0; right: 0; bottom: 12%; width: min(84cqw, 560px); height: auto; margin-inline: auto; border-radius: 4px; rotate: -4deg; box-shadow: 0 34px 54px -26px rgba(0, 20, 70, .5), 0 3px 8px rgba(0, 20, 70, .14); transition: rotate .6s var(--pl2-spring), translate .6s var(--pl2-spring); }
.pl2-pt-card:hover .pl2-card { rotate: -1.5deg; translate: 0 -8px; }

/* Trifold & Gatefold Brochures: a real gatefold opens in 3D, its two flaps turning out from the middle; pointing at it
   folds them in a little */
.pl2-gate { position: absolute; left: 0; right: 0; bottom: 13%; width: min(86cqw, 460px); aspect-ratio: 3400 / 2200; margin-inline: auto; perspective: 1500px; }
.pl2-gate > span { position: absolute; top: 0; bottom: 0; }
.pl2-gate-mid { left: 25%; width: 50%; overflow: hidden; box-shadow: 0 34px 50px -26px rgba(0, 20, 70, .45), 0 2px 6px rgba(0, 20, 70, .1); }
.hv .pl2-gate-mid img { position: absolute; top: 0; left: -50%; width: 200%; max-width: none; height: 100%; }
.pl2-gate-flap { width: 25%; transform-style: preserve-3d; transition: transform .7s var(--pl2-glide); }
.pl2-gate-flap.l { left: 0; transform-origin: 100% 50%; } .pl2-gate-flap.r { right: 0; transform-origin: 0 50%; }
.pl2-gate-flap .f, .pl2-gate-flap .b { position: absolute; inset: 0; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 34px 50px -26px rgba(0, 20, 70, .4); }
.pl2-gate-flap .b { transform: rotateY(180deg); background: linear-gradient(90deg, #0a1833, #13295a); }
.hv .pl2-gate-flap img { position: absolute; top: 0; width: 400%; max-width: none; height: 100%; }
.hv .pl2-gate-flap.l img { left: 0; } .hv .pl2-gate-flap.r img { right: 0; }
.pl2-pt-gate:hover .pl2-gate-flap.l { transform: rotateY(32deg); } .pl2-pt-gate:hover .pl2-gate-flap.r { transform: rotateY(-32deg); }

/* Palm Cards & Door Hangers: a real door hanger, swinging once from its hole (and again when pointed at) */
.pl2-hang-w { position: absolute; left: 0; right: 0; top: 4%; width: clamp(150px, 38cqw, 210px); margin-inline: auto; transform-origin: 50% 12%; }
.hv .pl2-hanger { width: 100%; height: auto; border-radius: 8px; transform-origin: 50% 12%; box-shadow: 0 30px 50px -24px rgba(0, 20, 70, .5), 0 3px 8px rgba(0, 20, 70, .14); }
@keyframes pl2-swing { 0% { rotate: -10deg; } 28% { rotate: 7deg; } 52% { rotate: -3.5deg; } 76% { rotate: 1.4deg; } 100% { rotate: 0deg; } }
@keyframes pl2-swing2 { 0% { rotate: 0deg; } 22% { rotate: -6deg; } 48% { rotate: 4deg; } 74% { rotate: -1.5deg; } 100% { rotate: 0deg; } }

/* Official Letter Packages: a real letter rising out of its window envelope (sizes in tile widths, so it keeps its
   shape on any screen) */
.hv .pl2-env { position: absolute; z-index: 2; left: 0; right: 0; bottom: 9%; width: 80cqw; max-width: 500px; height: auto; margin-inline: auto; border-radius: 3px; box-shadow: 0 30px 48px -24px rgba(0, 20, 70, .45), 0 2px 6px rgba(0, 20, 70, .12); }
.hv .pl2-letter { position: absolute; z-index: 1; left: 0; right: 0; bottom: calc(9% + 1cqw); width: 42cqw; max-width: 262px; height: auto; margin-inline: auto; box-shadow: 0 10px 30px -14px rgba(0, 20, 70, .35), 0 1px 4px rgba(0, 20, 70, .1); transition: translate .6s var(--pl2-spring); }
.pl2-pt-letter:hover .pl2-letter { translate: 0 -5cqw; }
@container (min-width: 625px) { .hv .pl2-letter { bottom: calc(9% + 6px); } }

@media (prefers-reduced-motion: no-preference) {
  .js .pl2-pt-card:not(.is-live) .pl2-card { opacity: 0; translate: 0 30%; rotate: 5deg; }
  .pl2-pt-card.is-live .pl2-card { transition: opacity .5s ease .25s, translate 1.2s var(--pl2-glide) .25s, rotate 1.2s var(--pl2-glide) .25s; }
  .pl2-pt-card.is-live:hover .pl2-card { transition: rotate .6s var(--pl2-spring), translate .6s var(--pl2-spring); }
  .js .pl2-pt-gate:not(.is-live) .pl2-gate-flap.l { transform: rotateY(178deg); }
  .js .pl2-pt-gate:not(.is-live) .pl2-gate-flap.r { transform: rotateY(-178deg); }
  .pl2-pt-gate.is-live .pl2-gate-flap.l { transition: transform 1.5s cubic-bezier(.45, .05, .2, 1) .45s; }
  .pl2-pt-gate.is-live .pl2-gate-flap.r { transition: transform 1.5s cubic-bezier(.45, .05, .2, 1) .75s; }
  .pl2-pt-gate.is-live:hover .pl2-gate-flap { transition: transform .7s var(--pl2-glide); }
  .pl2-pt-hang.is-live .pl2-hanger { animation: pl2-swing 2.6s cubic-bezier(.3, .1, .3, 1) .2s backwards; }
  .pl2-pt-hang.is-live:hover .pl2-hang-w { animation: pl2-swing2 1.6s cubic-bezier(.3, .1, .3, 1); }
  .js .pl2-pt-letter:not(.is-live) .pl2-letter { translate: 0 30cqw; }
  .pl2-pt-letter.is-live .pl2-letter { transition: translate 1.3s var(--pl2-glide) .5s; }
  .pl2-pt-letter.is-live:hover .pl2-letter { transition: translate .6s var(--pl2-spring); }
  .js .pl2-pt-letter:not(.is-live) .pl2-env { opacity: 0; translate: 0 24px; }
  .pl2-pt-letter.is-live .pl2-env { transition: opacity .5s ease .1s, translate .9s var(--pl2-glide) .1s; }
}
@media (max-width: 899px) { .pl2-pt { min-height: 0; } .pl2-pt-art { flex: none; min-height: 0; height: max(250px, 64vw); } .pl2-pt-hang .pl2-pt-art { height: 360px; } }

/* ---- the workflow: the home page's step cards (hv.css .hm-flow), grey here on the white section ---- */
.pl2-steps .hm-fc { background: #f5f5f7; }
.pl2-steps .hm-fc:not(.is-on) > button:hover { background: rgba(0, 0, 0, .025); }
@media (min-width: 1000px) {
  .pl2-steps .hm-flow { height: 500px; }
  .pl2-steps .hm-fc-tx { top: 138px; width: 360px; }
  .pl2-steps .hm-fc-art { bottom: 28px; }
}
.pl2-steps .lg { --ink: #001e61; --mute: #63708f; gap: 16px; }
.pl2-steps .lg-head span { white-space: nowrap; }
.pl2-steps .hm-fc > button > strong { text-wrap: balance; }

/* small parts shared by the drawings */
.pl2 .pl2-rows, .pl2 .pl2-vrows, .pl2 .pl2-chk, .pl2 .pl2-levels, .pl2 .pl2-fmt, .pl2 .pl2-tagpills { margin: 0; padding: 0; list-style: none; }
.pl2-rows em, .pl2-chk em, .pl2-levels em { position: relative; flex: none; display: block; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c3cbdc; }
.pl2-rows em u, .pl2-chk em u, .pl2-levels em u { position: absolute; inset: 0; border-radius: 50%; background: #34c759 var(--tick) center / 100% no-repeat; }
.pl2-rows i, .pl2-vrows i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--tint) 16%, transparent); color: color-mix(in srgb, var(--tint) 76%, #001e61); font: normal 600 10.5px/1 ui-rounded, "SF Pro Rounded", system-ui, sans-serif; letter-spacing: 0; }
.pl2-rows span, .pl2-vrows span { display: grid; gap: 5px; }
.pl2-rows b, .pl2-rows s, .pl2-vrows b, .pl2-vrows s { display: block; width: var(--w); height: 7px; border-radius: 300px; background: #24407f; text-decoration: none; }
.pl2-rows s, .pl2-vrows s { background: #cfd7e6; }

/* step 1: the format chosen, then the voters on the list ticked one by one */
.pl2-fmt { display: flex; flex-wrap: wrap; gap: 6px; }
.pl2-fmt li { padding: 4px 10px; border-radius: 300px; box-shadow: inset 0 0 0 1.5px #dfe3ec; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--mute); transition: background .4s, color .4s, box-shadow .4s; }
.pl2-fmt li.on { background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--tint); color: #fff; }
.pl2-rows { display: grid; gap: 8px; }
.pl2-rows li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; align-items: center; gap: 10px; }

/* step 2: the art uploads and is marked print ready, or a conversation about designing it */
.pl2-file { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.pl2-file > i { display: grid; place-items: center; width: 36px; height: 44px; border-radius: 7px 13px 7px 7px; background: var(--tint); color: #fff; font: normal 700 10px/1 ui-rounded, "SF Pro Rounded", system-ui, sans-serif; letter-spacing: .05em; }
.pl2-file > span { display: grid; gap: 9px; }
.pl2-file b { display: block; width: var(--w); height: 8px; border-radius: 300px; background: #24407f; }
.pl2-prog { display: block; height: 7px; border-radius: 300px; background: color-mix(in srgb, var(--tint) 16%, transparent); overflow: hidden; text-decoration: none; }
.pl2-prog u { display: block; height: 100%; border-radius: inherit; background: var(--tint); transform-origin: 0 50%; }
.pl2-file em, .pl2-ok span, .pl2-fast { flex: none; padding: 3px 9px; border-radius: 300px; background: color-mix(in srgb, #34c759 18%, transparent); color: #1b7f39; font-style: normal; font-size: 11.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.pl2-or { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--mute); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.pl2-or::before, .pl2-or::after { content: ""; flex: 1; height: 1px; background: #dde1ea; }
.pl2-chat { display: grid; gap: 8px; }
.pl2-chat p { display: grid; gap: 5px; width: 58%; margin: 0; padding: 10px 12px; border-radius: 16px 16px 16px 5px; background: color-mix(in srgb, var(--tint) 14%, transparent); transform-origin: 0 100%; }
.pl2-chat p.us { justify-self: end; border-radius: 16px 16px 5px 16px; background: var(--tint); transform-origin: 100% 100%; }
.pl2-chat b { display: block; width: var(--w); height: 6px; border-radius: 300px; background: color-mix(in srgb, var(--tint) 60%, #001e61); }
.pl2-chat .us b { background: rgba(255, 255, 255, .85); }

/* step 3: a proof drawn in lines, its alignment guide and disclaimer zone checked, then approved */
.pl2-proof-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 16px; }
.pl2-pc { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 9px; aspect-ratio: 11 / 6; padding: 10px 10px 22px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1.5px #e1e5ee; }
.pl2-pc .pc-l { display: flex; flex-direction: column; gap: 4px; }
.pl2-pc .pc-l b, .pl2-pc .pc-l s, .pl2-pc .pc-dz s { display: block; width: var(--w); height: 4px; border-radius: 300px; background: #cfd7e6; text-decoration: none; }
.pl2-pc .pc-l b { background: #e5252f; } .pl2-pc .pc-l b.big { height: 8px; background: #24407f; }
.pl2-pc .pc-r { position: relative; border-radius: 5px; background: linear-gradient(160deg, #2b4a92, #13265e); overflow: hidden; }
.pl2-pc .pc-r i { position: absolute; right: -18%; top: -10%; width: 70%; height: 80%; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.pl2-pc .pc-r em { position: absolute; left: 10%; right: 10%; bottom: 12%; height: 9px; border-radius: 2px; background: #e5252f; }
.pl2-pc .pc-dz { position: absolute; left: 7px; bottom: 6px; width: 48%; height: 12px; display: grid; align-items: center; padding: 0 4px; border: 1.5px dashed var(--tint); border-radius: 3px; background: color-mix(in srgb, var(--tint) 10%, transparent); }
.pl2-pc .pc-dz s { --w: 100%; height: 3px; background: #9aa6bf; }
.pl2-pc .pc-gd { position: absolute; left: 9px; top: 4px; bottom: 26px; width: 0; border-left: 1.5px dashed var(--tint); transform-origin: 50% 0; }
.pl2-chk { display: grid; gap: 10px; }
.pl2-chk li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.pl2-ok { display: flex; justify-content: flex-end; margin: 0; }
.pl2-ok span { display: inline-flex; align-items: center; gap: 5px; }

/* step 4: printed, tagged, into the mail stream */
.pl2-rail { position: relative; }
.pl2-rail .rail { position: absolute; left: 11px; right: 11px; top: 8.5px; height: 5px; border-radius: 300px; background: #e1e6f0; overflow: hidden; }
.pl2-rail .rail i { position: absolute; inset: 0; background: linear-gradient(90deg, #0a84ff, #e5252f 50%, #34c759); transform-origin: 0 50%; }
.pl2-rail ol { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 0 0 22px; list-style: none; }
.pl2-rail li { position: relative; width: 22px; height: 22px; }
.pl2-rail li i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c) var(--tick) center / 100% no-repeat; box-shadow: 0 0 0 3px #f5f5f7; }
.pl2-rail li b { position: absolute; top: 31px; left: 50%; translate: -50% 0; font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--mute); }
.pl2-rail li:first-child b { left: 0; translate: none; } .pl2-rail li:last-child b { left: auto; right: 0; translate: none; color: #1b7f39; }
.pl2-mail-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pl2-redtag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 9px; border-radius: 6px; background: linear-gradient(180deg, #ef3340, #d71f2b); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 20px -12px rgba(170, 20, 30, .7); transform-origin: 6px 50%; }
.pl2-redtag i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #f5f5f7; }

@media (prefers-reduced-motion: no-preference) {
  /* (only the open card starts from nothing, so the small closed cards show the finished drawing) */
  .js .hm-fc.is-on .pl2-aud:not(.is-live) .pl2-rows li { opacity: 0; translate: 0 10px; }
  .pl2-aud.is-live .pl2-rows li { transition: opacity .4s ease calc(.35s + var(--k) * .12s), translate .6s var(--pl2-glide) calc(.35s + var(--k) * .12s); }
  .js .hm-fc.is-on .pl2-aud:not(.is-live) .pl2-rows u { scale: 0; }
  .pl2-aud.is-live .pl2-rows u { transition: scale .45s var(--pl2-spring) calc(1.1s + var(--k) * .24s); }
  .js .hm-fc.is-on .pl2-aud:not(.is-live) .pl2-fmt li.on { background: transparent; box-shadow: inset 0 0 0 1.5px #dfe3ec; color: var(--mute); }
  .pl2-aud.is-live .pl2-fmt li.on { transition: background .35s ease .15s, color .35s ease .15s, box-shadow .35s ease .15s; }

  .js .hm-fc.is-on .pl2-up:not(.is-live) .pl2-prog u { scale: 0 1; }
  .pl2-up.is-live .pl2-prog u { transition: scale 1.2s cubic-bezier(.4, 0, .2, 1) .3s; }
  .js .hm-fc.is-on .pl2-up:not(.is-live) .pl2-file em { opacity: 0; scale: .6; }
  .pl2-up.is-live .pl2-file em { transition: opacity .3s ease 1.5s, scale .45s var(--pl2-spring) 1.5s; }
  .js .hm-fc.is-on .pl2-up:not(.is-live) .pl2-chat p { opacity: 0; scale: .7; }
  .pl2-up.is-live .pl2-chat .me { transition: opacity .3s ease 1.9s, scale .45s var(--pl2-spring) 1.9s; }
  .pl2-up.is-live .pl2-chat .us { transition: opacity .3s ease 2.4s, scale .45s var(--pl2-spring) 2.4s; }

  .js .hm-fc.is-on .pl2-proof:not(.is-live) .pl2-pc .pc-gd { scale: 1 0; }
  .pl2-proof.is-live .pl2-pc .pc-gd { transition: scale .6s cubic-bezier(.4, 0, .2, 1) .3s; }
  .js .hm-fc.is-on .pl2-proof:not(.is-live) .pl2-pc .pc-dz { opacity: 0; scale: 1.3; }
  .pl2-proof.is-live .pl2-pc .pc-dz { transition: opacity .3s ease .8s, scale .5s var(--pl2-spring) .8s; }
  .js .hm-fc.is-on .pl2-proof:not(.is-live) .pl2-chk u { scale: 0; }
  .pl2-proof.is-live .pl2-chk u { transition: scale .45s var(--pl2-spring) calc(1.2s + var(--k) * .35s); }
  .js .hm-fc.is-on .pl2-proof:not(.is-live) .pl2-ok span { opacity: 0; scale: .6; }
  .pl2-proof.is-live .pl2-ok span { transition: opacity .3s ease 2.1s, scale .45s var(--pl2-spring) 2.1s; }

  .js .hm-fc.is-on .pl2-mail:not(.is-live) .pl2-rail .rail i { scale: 0 1; }
  .pl2-mail.is-live .pl2-rail .rail i { transition: scale 1.8s cubic-bezier(.45, 0, .3, 1) .3s; }
  .js .hm-fc.is-on .pl2-mail:not(.is-live) .pl2-rail li i { scale: 0; }
  .pl2-mail.is-live .pl2-rail li i { transition: scale .45s var(--pl2-spring) calc(.3s + var(--k) * .85s); }
  .js .hm-fc.is-on .pl2-mail:not(.is-live) .pl2-redtag { opacity: 0; rotate: -14deg; }
  .pl2-mail.is-live .pl2-redtag { transition: opacity .3s ease 1s, rotate 1s var(--pl2-spring) 1s; }
  .js .hm-fc.is-on .pl2-mail:not(.is-live) .pl2-fast { opacity: 0; scale: .6; }
  .pl2-mail.is-live .pl2-fast { transition: opacity .3s ease 2.2s, scale .45s var(--pl2-spring) 2.2s; }
}

/* ---- how political mail differs: the heading beside its line, then three white tiles, each with its drawing ---- */
.pl2-diff-head { display: grid; gap: 18px; }
@media (min-width: 1000px) { .pl2-diff-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 60px; align-items: end; } }
.hv .pl2-diff-head h2 { text-align: left; }
.hv .pl2-diff-lede { margin: 0; font-size: clamp(1.06rem, 1.9vw, 1.31rem); line-height: 1.38; font-weight: 600; color: var(--hv-gray); text-wrap: pretty; }
.pl2-pts { display: grid; gap: 14px; margin-top: clamp(32px, 4.4vw, 56px); }
@media (min-width: 900px) { .pl2-pts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pl2-dt { --tint: #0a84ff; --ink: #001e61; --mute: #63708f; display: flex; flex-direction: column; border-radius: var(--hv-r); background: #fff; overflow: hidden; }
.pl2-dt-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 290px; padding: 30px 24px 0; color: var(--ink); }
.pl2-dt-tx { padding: 22px 28px 32px; }
@media (min-width: 900px) { .pl2-dt-art { height: 300px; min-height: 0; } }
.hv .pl2-dt h3 { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.15; font-weight: 600; letter-spacing: -.018em; text-wrap: balance; }
.hv .pl2-dt-tx p { margin: .55em 0 0; font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--hv-gray); text-wrap: pretty; }

/* the red tag on its cord, and what it gets the mail */
.pl2-dt-tag .pl2-dt-art { flex-direction: row; flex-wrap: wrap; gap: 18px 22px; }
.pl2-tagdraw { position: relative; flex: none; width: 108px; height: 168px; }
.pl2-tagdraw .cord { position: absolute; left: 50%; top: -30px; width: 2px; height: 58px; margin-left: -1px; border-radius: 2px; background: linear-gradient(#d2d7e2, #a9b1c2); }
.pl2-tagdraw .tag { position: absolute; left: 0; right: 0; top: 14px; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 38px 12px 16px; border-radius: 14px 14px 12px 12px; background: linear-gradient(180deg, #ef3340, #d41d29); box-shadow: 0 24px 34px -18px rgba(170, 20, 30, .6); transform-origin: 50% 21px; }
.pl2-tagdraw .hole { position: absolute; left: 50%; top: 13px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .28); }
.pl2-tagdraw .tag b { margin-bottom: 4px; font-size: 15px; line-height: 1.08; font-weight: 800; letter-spacing: .07em; text-align: center; text-transform: uppercase; color: #fff; }
.pl2-tagdraw .tag s { display: block; width: var(--w); height: 6px; border-radius: 300px; background: rgba(255, 255, 255, .42); text-decoration: none; }
.pl2-tagpills { display: grid; gap: 10px; }
.pl2-tagpills li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 300px; background: color-mix(in srgb, #e5252f 11%, transparent); color: #b3141f; font-size: 12.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.pl2-tagpills li i { flex: none; width: 15px; height: 15px; border-radius: 50%; background: #e5252f var(--tick) center / 100% no-repeat; }

/* a corner of the sample mailer, close up: its "Paid for by" zone outlined and checked against each level */
.pl2-zoom { position: relative; width: 100%; max-width: 330px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #13265e; }
.pl2-zoom-in { position: absolute; left: -9%; bottom: 3.2%; width: 230%; aspect-ratio: 2200 / 1200; }
.hv .pl2-zoom-in img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.pl2-zone { position: absolute; left: 4.6%; top: 90.2%; width: 27.4%; height: 6.4%; border: 2px dashed #64d2ff; border-radius: 5px; background: rgba(100, 210, 255, .16); }
.pl2-zone-tag { position: absolute; left: 4.6%; bottom: 10.6%; padding: 3px 9px; border-radius: 300px; background: #64d2ff; color: #002a55; font-size: 11.5px; font-weight: 700; line-height: 1.35; white-space: nowrap; transform-origin: 0 100%; }
.pl2-levels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.pl2-levels li { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); }

/* the voter list narrowing as filters are chosen (checkboxes; the rows a filter leaves out fade back) */
.pl2-vt { --tint: #5856d6; align-items: stretch; justify-content: flex-start; }
.pl2-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pl2-filters label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pl2-filters input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.pl2-filters span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 7px; border-radius: 300px; background: #f0f1f6; color: #3a4766; font-size: 12.5px; font-weight: 600; line-height: 1.2; transition: background .25s, color .25s; }
.pl2-filters span i { flex: none; width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #b6bfd3; transition: background-color .25s, box-shadow .25s; }
.pl2-filters label:hover span { background: #e6e8f1; }
.pl2-filters input:checked + span { background: var(--tint); color: #fff; }
.pl2-filters input:checked + span i { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.600 10.400l3 3 5.800-6.400' fill='none' stroke='%235856d6' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: none; }
.pl2-filters input:focus-visible + span { outline: 2px solid var(--tint); outline-offset: 2px; }
.pl2-vrows { display: grid; gap: 7px; }
.pl2-vrows li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 10px; transition: opacity .4s ease, filter .4s ease; }
.pl2-vrows i { width: 26px; height: 26px; }
.pl2-vt:has(#pl2-f-party:checked) .x-party, .pl2-vt:has(#pl2-f-hist:checked) .x-hist,
.pl2-vt:has(#pl2-f-geo:checked) .x-geo, .pl2-vt:has(#pl2-f-age:checked) .x-age { opacity: .18; filter: grayscale(1); }

@media (prefers-reduced-motion: no-preference) {
  .js .pl2-dt-tag .pl2-dt-art:not(.is-live) .tag { rotate: -16deg; }
  .pl2-dt-tag .pl2-dt-art.is-live .tag { animation: pl2-tagswing 2.2s cubic-bezier(.3, .1, .3, 1) .25s backwards; }
  .js .pl2-dt-tag .pl2-dt-art:not(.is-live) .pl2-tagpills li { opacity: 0; translate: -10px 0; }
  .pl2-dt-tag .pl2-dt-art.is-live .pl2-tagpills li { transition: opacity .4s ease calc(1.2s + var(--k) * .3s), translate .6s var(--pl2-spring) calc(1.2s + var(--k) * .3s); }
  .js .pl2-dt-disc .pl2-dt-art:not(.is-live) .pl2-zoom-in { scale: 1.12; }
  .pl2-dt-disc .pl2-dt-art .pl2-zoom-in { transform-origin: 18% 92%; }
  .pl2-dt-disc .pl2-dt-art.is-live .pl2-zoom-in { transition: scale 1.6s var(--pl2-glide) .1s; }
  .js .pl2-dt-disc .pl2-dt-art:not(.is-live) .pl2-zone { opacity: 0; scale: 1.35; }
  .pl2-dt-disc .pl2-dt-art.is-live .pl2-zone { transition: opacity .3s ease .9s, scale .5s var(--pl2-spring) .9s; }
  .js .pl2-dt-disc .pl2-dt-art:not(.is-live) .pl2-zone-tag { opacity: 0; scale: .6; }
  .pl2-dt-disc .pl2-dt-art.is-live .pl2-zone-tag { transition: opacity .3s ease 1.3s, scale .45s var(--pl2-spring) 1.3s; }
  .js .pl2-dt-disc .pl2-dt-art:not(.is-live) .pl2-levels u { scale: 0; }
  .pl2-dt-disc .pl2-dt-art.is-live .pl2-levels u { transition: scale .45s var(--pl2-spring) calc(1.7s + var(--k) * .3s); }
  .js .pl2-vt:not(.is-live) .pl2-vrows li { opacity: 0; translate: 0 8px; }
  .pl2-vt.is-live .pl2-vrows li { transition: opacity .4s ease, filter .4s ease, translate .6s var(--pl2-glide); }
  .pl2-vt.is-live .pl2-vrows li { transition-delay: calc(.2s + var(--k) * .09s), 0s, calc(.2s + var(--k) * .09s); }
}
@keyframes pl2-tagswing { 0% { rotate: -16deg; } 30% { rotate: 9deg; } 55% { rotate: -4deg; } 78% { rotate: 1.5deg; } 100% { rotate: 0deg; } }

/* ---- the two statements as two tiles ---- */
.pl2-exp-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .pl2-exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pl2-st { position: relative; display: flex; flex-direction: column; min-height: 540px; padding: clamp(30px, 3.6vw, 52px); border-radius: var(--hv-r); overflow: hidden; isolation: isolate; }
.hv .pl2-st h2 { margin: 0; font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.12; font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
.pl2-st-years { justify-content: space-between; gap: 30px; background: #001e61; color: #fff; }
.hv .pl2-st-years h2 { color: #fff; }
.hv .pl2-years.hm-bil { margin: 0; font-size: clamp(6.5rem, 16vw, 12rem); line-height: .86; letter-spacing: -.05em; background: linear-gradient(100deg, #64d2ff, #9db8ff 55%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl2-st-scale { background: #f5f5f7; }
.pl2-pile { position: relative; flex: 1; min-height: 250px; margin-top: 24px; container-type: inline-size; }
.hv .pl2-pile img { position: absolute; left: 0; right: 0; bottom: 8%; width: min(78cqw, 440px); height: auto; margin-inline: auto; border-radius: 3px; rotate: var(--r); translate: var(--x) var(--y); box-shadow: 0 22px 34px -18px rgba(0, 20, 70, .45), 0 2px 5px rgba(0, 20, 70, .12); }
@media (prefers-reduced-motion: no-preference) {
  .js .pl2-st-scale:not(.is-live) .pl2-pile img { opacity: 0; translate: var(--x) calc(var(--y) - 70%); rotate: calc(var(--r) * 3); }
  .pl2-st-scale.is-live .pl2-pile img { transition: opacity .35s ease calc(.3s + var(--k) * .2s), translate .8s cubic-bezier(.3, 1.25, .5, 1) calc(.3s + var(--k) * .2s), rotate .8s cubic-bezier(.3, 1.25, .5, 1) calc(.3s + var(--k) * .2s); }
}
@media (max-width: 899px) { .pl2-st { min-height: 0; } .pl2-st-years { min-height: 420px; } }

/* ---- the questions: one white tile, the heading beside the answers on a wide window ---- */
.pl2-faq-tile { display: grid; gap: 22px 64px; padding: clamp(28px, 4.2vw, 60px); border-radius: var(--hv-r); background: #fff; }
@media (min-width: 900px) { .pl2-faq-tile { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; } .pl2-faq-h { position: sticky; top: calc(var(--header-h, 80px) + 30px); } }
.hv .pl2-faq-h { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.07; font-weight: 600; letter-spacing: -.024em; text-wrap: balance; }
.pl2-faq-tile .hv-faq { margin-top: 0; border-top: 0; }
.pl2-faq-tile .hv-faq details:last-child { border-bottom: 0; }
.pl2-faq-tile .hv-faq details:first-child summary { padding-top: 6px; }
.pl2-faq-tile .hv-faq summary { font-size: clamp(1.12rem, 1.7vw, 1.31rem); }
@media (max-width: 899px) { .pl2-faq-tile .hv-faq details:first-child summary { padding-top: 22px; } .pl2-faq-tile .hv-faq { border-top: 1px solid var(--hv-line); } }

/* ---- the close: the words on the navy of the "I voted" photo, which fills the right of the tile ---- */
.pl2-end { position: relative; display: grid; align-items: center; min-height: clamp(460px, 44vw, 560px); border-radius: var(--hv-r); overflow: hidden; background: #16205c; isolation: isolate; }
.hv .pl2-end-pic { position: absolute; top: 0; right: 0; bottom: 0; left: 36%; z-index: -1; width: 64%; height: 100%; object-fit: cover; object-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.pl2-end-tx { max-width: 30em; padding: clamp(30px, 4.6vw, 64px); }
@media (min-width: 900px) { .pl2-end-tx { max-width: 58%; } }
.hv .pl2-end h2 { margin: 0; font-size: clamp(1.85rem, 3.5vw, 2.85rem); line-height: 1.08; font-weight: 600; letter-spacing: -.024em; color: #fff; text-wrap: balance; }
.hv .pl2-end-cta { margin: 1.4em 0 0; }
@media (max-width: 899px) {
  .pl2-end { align-items: start; min-height: 640px; }
  .hv .pl2-end-pic { top: 40%; left: 0; width: 100%; height: 60%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .pl2-end:not(.is-live) .pl2-end-pic { scale: 1.1; translate: 3% 0; }
  .pl2-end.is-live .pl2-end-pic { transition: scale 2.2s var(--pl2-glide), translate 2.2s var(--pl2-glide); }
}

/* Confetti in the sticker's red and blue: it falls in from the top edge (behind the grey section above), flutters
   down behind the blue card and is gone (hv.js "Political closing confetti" draws it on a canvas; Andrew, 2026-11-29). */
.pl2-close { position: relative; overflow: hidden; isolation: isolate; }
.pl2-close > .hv-wrap { position: relative; z-index: 1; }
.pl2-confetti { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pl2-confetti { display: none; } }
