/* The logo's finishes (owner-approved 20 Nov 2026). Finish 3 (plum enamel and rose gold, the real foil photo) is an <img>.
   Finishes 1, 2 and 4 are the master vector as a mask over a real foil photo or plum paper, so the word mark stays crisp at phone and 4K.
   Chosen per backdrop in src/fronts/b/parts.js (finishFor): 3 lake / ivory / garden, 2 plum, 1 night, 4 ballroom. */
.b-logo .lg-photo { width: clamp(150px, 11vw, 240px); height: auto; }
.lg { position: relative; display: block; aspect-ratio: 3663 / 2700; }
.b-logo .lg { width: clamp(125px, 9.17vw, 200px); } /* the same visual size as the photo (its paper margins are about 17% of its width) */
.lg > i { position: absolute; inset: 0; -webkit-mask: url("/media/logo/mark.svg") center / contain no-repeat; mask: url("/media/logo/mark.svg") center / contain no-repeat; }
.lg-sheen { background: linear-gradient(112deg, rgba(255, 246, 238, 0) 34%, rgba(255, 246, 238, 0.42) 47%, rgba(255, 246, 238, 0) 60%); mix-blend-mode: screen; }
/* 2 rose-gold foil, a fine plum edge */
.lg-f2 { filter: drop-shadow(0 0.6px 0.5px rgba(32, 10, 22, 0.8)) drop-shadow(0 2px 5px rgba(32, 10, 22, 0.35)); }
.lg-f2 .lg-fill { background: linear-gradient(160deg, rgba(255, 236, 226, 0.3), rgba(255, 236, 226, 0) 42%, rgba(70, 24, 36, 0.28) 100%), url("/media/logo/rose-foil.jpg") 34% 40% / 230% auto; }
/* 1 pearl ivory foil (the same real foil, turned pale pearl), a thin plum edge */
.lg-f1 { filter: drop-shadow(0 0.6px 0.5px rgba(32, 10, 22, 0.8)) drop-shadow(0 2px 6px rgba(32, 10, 22, 0.4)); }
.lg-f1 .lg-fill { background: url("/media/logo/rose-foil.jpg") 34% 40% / 230% auto; filter: saturate(0.22) brightness(1.62) contrast(0.92); }
/* 4 plum, pressed: real plum paper, light on the lower edge */
.lg-f4 { filter: drop-shadow(0 1px 0 rgba(255, 250, 246, 0.75)) drop-shadow(0 -1px 0 rgba(24, 8, 16, 0.28)); }
.lg-f4 .lg-fill { background: #3A172C url("/media/img/paper-plum.jpg") center / 300px; }

/* the strip logo: emblem left, word right, one line (owner 20 Nov) */
.lg-row { display: flex; align-items: center; gap: clamp(8px, 0.7vw, 16px); }
.lg-emb, .lg-word { position: relative; display: block; }
.lg-emb { height: clamp(44px, 3.6vw, 80px); aspect-ratio: 2956 / 1801; }
.lg-word { height: clamp(30px, 2.6vw, 56px); aspect-ratio: 3644 / 1054; margin-top: clamp(4px, 0.35vw, 8px); }
.lg-emb > i, .lg-word > i { position: absolute; inset: 0; }
.lg-emb > i { -webkit-mask: url("/media/logo/emblem.svg") center / contain no-repeat; mask: url("/media/logo/emblem.svg") center / contain no-repeat; }
.lg-word > i { -webkit-mask: url("/media/logo/word.svg") center / contain no-repeat; mask: url("/media/logo/word.svg") center / contain no-repeat; }
