/* A. Homepage landing film (films/brand.js). Night ground, the site's ink, slate and blues. */
.pm-brand .b-shot { position: absolute; inset: 0; overflow: hidden; }

/* The drawn till (1600 × 899.6, centred on 1340, 520) laid flat on a base plate and taken apart in layers. The world's
   transform and each layer's lift come from brand.js; the perspective here matches its project(). */
.pm-brand .b-a1 { perspective: 2400px; perspective-origin: 1340px 520px; }
.pm-brand .b-world { position: absolute; left: 540px; top: 70.2px; width: 1600px; height: 899.6px; transform-style: preserve-3d; transform-origin: 50% 50%; }
.pm-brand .b-world > * { position: absolute; }
.pm-brand .b-contact { inset: 0; border-radius: 18px; background: rgb(2 6 23 / .7); filter: blur(28px); transform: translate(24px, 34px) translateZ(-16px); }
.pm-brand .b-thick { inset: 0; border-radius: 18px; background: #0b1220; transform: translateZ(-14px); }
.pm-brand .b-plate { inset: 0; border-radius: 18px; background: #1e293b; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .08); }
.pm-brand .b-slotline { position: absolute; border: 2px dashed rgb(147 180 245 / .4); border-radius: 8px; opacity: var(--spread, 0); }
.pm-brand .b-lshadow { border-radius: 10px; background: rgb(2 6 23 / .62); }
.pm-brand .b-ledge { border-radius: 4px; background: #475569; }
.pm-brand .b-lface { overflow: hidden; border-radius: 4px; background: var(--pm-paper); }
.pm-brand .b-lface > .scene { position: absolute; width: 1600px; }
.pm-brand .b-gloss { inset: 0; overflow: hidden; border-radius: 18px; transform: translateZ(4px); pointer-events: none; }
.pm-brand .b-sheen { position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / .34) 50%, rgb(255 255 255 / 0)); }
.pm-brand .b-tag { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 12px; padding: 8px 22px; border: 2px solid var(--pm-on-dark-accent); border-radius: 999px; background: var(--pm-ink); color: var(--pm-paper); font-size: 30px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 10px 28px rgb(2 6 23 / .6); }
.pm-brand .b-tag b { font-family: var(--pm-mono); font-size: 22px; font-weight: 500; color: var(--pm-on-dark-accent); }

/* Portrait cut (phones, 1080 × 1350). The landscape rules above also match this canvas; these override them where the
   tall frame lays things out differently. */
.pm-brand.pm-portrait .b-a1 { perspective-origin: 540px 560px; }
.pm-brand.pm-portrait .b-world { left: -260px; top: 110.2px; }
/* A numbered pin on each layer and the key that names them. */
.pm-brand.pm-portrait .b-pin { position: absolute; left: 0; top: 0; padding: 4px 18px; border: 3px solid var(--pm-on-dark-accent); border-radius: 999px; background: var(--pm-ink); color: var(--pm-on-dark-accent); font-family: var(--pm-mono); font-size: 40px; font-weight: 500; line-height: 1.2; box-shadow: 0 10px 28px rgb(2 6 23 / .6); }
.pm-brand.pm-portrait .b-krow { position: absolute; display: flex; align-items: baseline; gap: 16px; height: 68px; color: var(--pm-paper); font-size: 48px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.pm-brand.pm-portrait .b-krow b { font-family: var(--pm-mono); font-size: 40px; font-weight: 500; color: var(--pm-on-dark-accent); }
