.anim-pidx { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: calc(100svh - var(--anim-header-h, 110px)); min-height: max(560px, calc(100svh - var(--anim-header-h, 110px))); overflow: hidden; background: #000; color: #fff; }
.anim-pidx__bg, .anim-pidx__img { position: absolute; inset: 0; }
.anim-pidx__bg { z-index: -1; }
.anim-pidx__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, calc(var(--overlay) + .25)) 0%, rgba(0, 0, 0, var(--overlay)) 55%, rgba(0, 0, 0, calc(var(--overlay) - .15)) 100%); }
.anim-pidx__img { opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 6s cubic-bezier(.2, .7, .2, 1); }
.anim-pidx__img.is-active { opacity: 1; transform: scale(1); }
.anim-pidx__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.anim-pidx__top { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.anim-pidx__body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: 40px; align-items: end; padding-block: 40px 44px; }
.anim-pidx__list { margin: 0; padding: 0; list-style: none; }
.anim-pidx__list li { margin: 0; }
.anim-pidx__name { display: flex; align-items: flex-start; gap: 14px; padding: 2px 0; color: rgba(255, 255, 255, .28); text-decoration: none; transition: color .35s ease; }
.anim-pidx__name:hover, .anim-pidx__name:focus-visible, .anim-pidx__name.is-active { color: #fff; }
.anim-pidx__num { min-width: 2.2em; padding-top: .9em; font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .7; }
.anim-pidx__word { font-family: var(--wd-title-font); font-weight: 800; font-size: clamp(34px, min(5.6vw, 8.6svh), 112px); line-height: .98; white-space: nowrap; letter-spacing: -.045em; text-transform: uppercase; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.anim-pidx__name.is-active .anim-pidx__word { transform: translateX(14px); }
.anim-pidx__details { position: relative; display: grid; padding-bottom: 6px; }
.anim-pidx__detail { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.anim-pidx__detail.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: .1s, .1s, 0s; }
.anim-pidx__sub { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.anim-pidx__text { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.anim-pidx__meta { margin: 0 0 22px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.anim-pidx__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; background: #fff; color: #000; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .25s, color .25s; }
.anim-pidx__cta:hover { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.anim-pidx__progress { position: absolute; left: 0; right: 0; bottom: -20px; height: 2px; background: rgba(255, 255, 255, .2); }
.anim-pidx__progress span { display: block; width: 0; height: 100%; background: #fff; }
.anim-pidx.is-cycling .anim-pidx__progress span { animation: anim-pidx-progress var(--cycle, 5s) linear forwards; }
@keyframes anim-pidx-progress { to { width: 100%; } }
.anim-pidx__stories { display: none; }

/* Phones: "stories". One pillar per screen, segments on top fill up, tap right / left or swipe to move. */
@media (max-width: 900px) {
	.anim-pidx { min-height: calc(100svh - 62px); -webkit-user-select: none; user-select: none; touch-action: pan-y; }
	.anim-pidx__bg::after { background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .45) 48%, rgba(0, 0, 0, .15) 72%, rgba(0, 0, 0, .45) 100%); }
	.anim-pidx__img img { object-position: center 22%; }
	.anim-pidx__stories { position: absolute; z-index: 2; top: 12px; left: 16px; right: 16px; display: flex; gap: 4px; }
	.anim-pidx__stories span { position: relative; flex: 1; height: 2.5px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .32); }
	.anim-pidx__stories span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
	.anim-pidx__stories span.is-done::after { transform: none; }
	.anim-pidx__stories span.is-now::after { animation: anim-story var(--cycle, 5s) linear forwards; }
	.anim-pidx:not(.is-cycling) .anim-pidx__stories span.is-now::after { animation: none; transform: none; }
	@keyframes anim-story { to { transform: none; } }
	.anim-pidx__top { padding-top: 28px; font-size: 10.5px; letter-spacing: .16em; }
	.anim-pidx__top span + span { display: none; }
	.anim-pidx__body { grid-template-columns: minmax(0, 1fr); align-content: end; gap: 18px; padding-block: 24px 30px; }
	.anim-pidx__name:not(.is-active) { display: none; }
	.anim-pidx__name { flex-direction: column; gap: 8px; color: #fff; }
	.anim-pidx__num { min-width: 0; padding: 0; font-size: 11px; letter-spacing: .16em; opacity: .75; }
	.anim-pidx__num::after { content: " / " attr(data-total); opacity: .6; }
	.anim-pidx__word { font-size: clamp(44px, 15vw, 76px); line-height: .88; white-space: normal; letter-spacing: -.05em; animation: anim-word-in .7s cubic-bezier(.2, .7, .2, 1) both; }
	.anim-pidx__name.is-active .anim-pidx__word { transform: none; }
	@keyframes anim-word-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
	.anim-pidx__sub { font-size: 11px; letter-spacing: .16em; margin-bottom: 8px; }
	.anim-pidx__text { font-size: 15px; margin-bottom: 8px; }
	.anim-pidx__meta { font-size: 12.5px; margin-bottom: 18px; }
	.anim-pidx__cta { display: flex; justify-content: space-between; width: 100%; min-height: 54px; padding: 0 20px; font-size: 14px; font-weight: 800; }
	.anim-pidx__progress { display: none; }

	/* v2: less text, bigger type, living photo, photo cards. */
	.anim-pidx__img.is-active img { animation: anim-kenburns 9s ease-out both; }
	@keyframes anim-kenburns { from { transform: scale(1.14) translate3d(0, 2%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
	.anim-pidx__text, .anim-pidx__meta { display: none; }
	.anim-pidx__top { justify-content: center; text-align: center; font-size: 10px; letter-spacing: .3em; }
	.anim-pidx__body { gap: 14px; }
	/* Sized so the longest word ("PROMOTIONAL", 11 letters) fits a 360px-wide phone. */
	.anim-pidx__word { display: block; font-size: clamp(38px, 12.6vw, 80px); line-height: .86; letter-spacing: -.055em; }
	.anim-pidx__w2 { display: block; color: transparent; -webkit-text-stroke: 1.6px #fff; }
	.anim-pidx__num { font-size: 11px; letter-spacing: .22em; }
	.anim-pidx__sub { margin: 4px 0 18px; font-size: 11.5px; letter-spacing: .2em; line-height: 1.5; color: rgba(255, 255, 255, .85); }
	.anim-pidx__cta { min-height: 56px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
	/* Photo cards: all 4 pillars at a glance, the current one lit. */
	.anim-pidx__thumbs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
	.anim-pidx__thumb { position: relative; display: block; width: 100%; min-height: 0; height: auto; aspect-ratio: 4 / 5; padding: 0 !important; margin: 0; overflow: hidden; border: 0 !important; border-radius: 0 !important; background: #1a1a1a !important; box-shadow: none !important; cursor: pointer; -webkit-tap-highlight-color: transparent; }
	.anim-pidx__thumb img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; filter: grayscale(1) brightness(.55); transition: filter .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
	.anim-pidx__thumb span { position: absolute; left: 6px; top: 5px; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
	.anim-pidx__thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: box-shadow .35s ease; }
	.anim-pidx__thumb.is-active img { filter: none; transform: scale(1.06); }
	.anim-pidx__thumb.is-active span { color: #fff; }
	.anim-pidx__thumb.is-active::after { box-shadow: inset 0 0 0 2px #fff; }
}
.anim-pidx__thumbs { display: none; }
@media (max-width: 900px) { .anim-pidx__thumbs { display: grid; } }
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
	.anim-pidx__img.is-active img { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
	.anim-pidx__img, .anim-pidx__word, .anim-pidx__detail { transition: opacity .2s; transform: none !important; }
}
