/* Rouge campaign kit: the campaign print unfolds into type, ink and the finished package. */
[data-brand-kit] {
  --kit-p:1;
  --kit-open-1:1;
  --kit-open-2:1;
  --kit-detail:1;
  --kit-hero-width:36%;
  position:absolute;
  inset:0;
  overflow:hidden;
  container-type:size;
  background:#430306 url(./campaign-rouge.webp) center/cover no-repeat;
  color:#3f090b;
  font-family:var(--font-body,Arial,sans-serif);
}

.brand-kit { position:absolute; inset:0; overflow:hidden; perspective:130cqw; background:#e8d7ca; }
.brand-kit__spread { position:absolute; inset:0; background:#f0e2d7; transform-style:preserve-3d; }
.brand-kit__panel { position:absolute; top:0; bottom:0; overflow:hidden; backface-visibility:hidden; }
.brand-kit__hero {
  z-index:3;
  left:0;
  width:var(--kit-hero-width);
  min-width:36%;
  background:#430306;
  box-shadow:calc(var(--kit-open-1) * .8cqw) 0 1.6cqw #3b0b0b36;
  margin:0;
}
.brand-kit__hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:84% center; }
.brand-kit__hero::after { content:""; position:absolute; inset:0; box-shadow:inset -.18cqw 0 #f6ede577; pointer-events:none; }

.brand-kit__type {
  z-index:2;
  left:36%;
  width:27%;
  padding:10cqh 2.5cqw 4.5cqh;
  box-sizing:border-box;
  background:#efe0d4;
  transform-origin:left center;
  transform:rotateY(calc((1 - var(--kit-open-1)) * -88deg));

  box-shadow:inset -.12cqw 0 #57111426;
}
.brand-kit__type::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.22; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); mix-blend-mode:multiply; }
.brand-kit__aa { display:block; margin:0 0 -1cqh; font:400 17cqw/.8 Didot,"Bodoni 72","Bodoni MT","Times New Roman",serif; letter-spacing:-.08em; }
.brand-kit__word { margin:3cqh 0 0; font:400 4.4cqw/.95 Didot,"Bodoni 72","Times New Roman",serif; letter-spacing:-.055em; }
.brand-kit__system {
  z-index:1;
  left:63%;
  width:37%;
  box-sizing:border-box;
  background:#f5e9df;
  transform-origin:left center;
  transform:rotateY(calc((1 - var(--kit-open-2)) * -88deg));

}
.brand-kit__swatches { position:absolute; inset:auto 2.5cqw 6cqh; display:flex; gap:1cqw; margin:0; padding:0; list-style:none; }
.brand-kit__swatches li { width:3.35cqw; }
.brand-kit__chip { display:block; width:100%; aspect-ratio:1; border-radius:50%; border:1px solid #3f090b29; background:var(--chip); }
.brand-kit__packshot { display:block; width:100%; height:100%; object-fit:cover; object-position:51% center; }
.brand-kit__system::after { content:""; position:absolute; inset:0; pointer-events:none; background:#33221c; opacity:calc((1 - var(--kit-open-2)) * .35); }

@media (prefers-reduced-motion:reduce) {
  [data-brand-kit] { --kit-p:1!important; --kit-open-1:1!important; --kit-open-2:1!important; --kit-detail:1!important; --kit-hero-width:36%!important; }
}

/* Keep the final specimen legible when the projection is physically phone-sized. */
@container (max-width:420px) { .brand-kit__swatches { gap:.8cqw; } }
