.friends-studio__card {
  --fs-ink: #291b46;
  --fs-amount: 23cqi;
  max-inline-size: 345px;
}

.friends-studio__face {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.2;
  margin: 0;
  color: var(--fs-ink);
}

.friends-studio__field,
.friends-studio__art,
.friends-studio__alternate,
.friends-studio__label,
.friends-studio__price {
  position: absolute;
}

.friends-studio__art,
.friends-studio__alternate {
  z-index: 1;
  overflow: hidden;
}

.friends-studio__image {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: var(--fs-position);
}

.friends-studio__card[data-framing='cutout'] .friends-studio__art {
  overflow: visible;
}

.friends-studio__card[data-framing='cutout'] .friends-studio__art .friends-studio__image {
  object-fit: contain;
}

.friends-studio__label {
  z-index: 2;
  font: 850 max(12px, 7cqi) / 1 'Roboto Flex', Arial, sans-serif;
  letter-spacing: -.045em;
}

.friends-studio__price {
  z-index: 3;
  font: 950 var(--fs-amount) / .86 'Roboto Flex', Arial, sans-serif;
  font-variation-settings: 'wght' 950, 'wdth' 98, 'opsz' 117;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.friends-studio__unit { font-size: .54em; }

/* The circular overhead shot reads like the tabletop itself. */
.friends-studio--fisheye { --fs-ink: #222063; --fs-amount: 21cqi; }
.friends-studio--fisheye .friends-studio__face { aspect-ratio: 1.38; }
.friends-studio--fisheye .friends-studio__field {
  inset: 18% 6% 5% 8%;
  border-radius: 44% 50% 46% 48% / 58% 54% 40% 42%;
  background: #c3b9fa;
  rotate: -12deg;
}
.friends-studio--fisheye .friends-studio__art {
  inset: 4% 9% auto auto;
  inline-size: 56%;
  aspect-ratio: 1;
  border: 1.25cqi solid #fffaf2;
  border-radius: 50%;
  box-shadow: 0 1.4cqi 5cqi #20194938;
}
.friends-studio--fisheye .friends-studio__label { inset: 6% auto auto 3%; max-inline-size: 35%; font-size: max(11px, 5.7cqi); line-height: 1.02; }
.friends-studio--fisheye .friends-studio__price {
  inset: auto auto 10% 11%;
  paint-order: stroke fill;
  -webkit-text-stroke: 1.5cqi #c3b9fa;
}

/* Two stepped ink plates act like the deck under the wristbands. */
.friends-studio--step-shadow { --fs-ink: #431638; --fs-amount: 22cqi; }
.friends-studio--step-shadow .friends-studio__face { aspect-ratio: 1.08; }
.friends-studio--step-shadow .friends-studio__field {
  inset: 31% 2% 6% 3%;
  background: #f0a6c1;
  --fs-step: polygon(0 31%, 25% 31%, 25% 18%, 75% 18%, 75% 0, 100% 0, 100% 78%, 76% 78%, 76% 100%, 15% 100%, 15% 90%, 0 90%);
  clip-path: var(--fs-step);
  rotate: -4deg;
}
.friends-studio--step-shadow .friends-studio__field::after {
  position: absolute;
  inset: 64% 0 0;
  background: #ce7096;
  content: '';
}
.friends-studio--step-shadow .friends-studio__art {
  inset: 8% 1% 34% 16%;
  rotate: 11deg;
  filter: drop-shadow(0 1.5cqi 1cqi #491b333b);
}
.friends-studio--step-shadow .friends-studio__label { inset: 9% auto auto 6%; max-inline-size: 36%; font-size: max(10px, 5.5cqi); line-height: 1.04; }
.friends-studio--step-shadow .friends-studio__price {
  inset: auto auto 18% 10%;
  font-variation-settings: 'wght' 1000, 'wdth' 110, 'opsz' 120;
  transform: skewX(-7deg);
}

/* A tall theatrical frame has a separate lower dark lobe for the amount. */
.friends-studio--flash-bleed {
  --fs-ink: #f5f4c4;
  --fs-amount: 25cqi;
  max-inline-size: min(100%, 263px);
}
.friends-studio--flash-bleed .friends-studio__face { aspect-ratio: .76; }
.friends-studio--flash-bleed .friends-studio__field {
  inset: 47% 1% 2%;
  border-radius: 27% 44% 19% 32% / 25% 44% 24% 28%;
  background: #173c32;
}
.friends-studio--flash-bleed .friends-studio__art {
  inset: 2% 5% 24% 3%;
  border-radius: 63% 14% 23% 11% / 34% 14% 16% 16%;
}
.friends-studio--flash-bleed .friends-studio__art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #173c32a9, transparent 39%);
  content: '';
}
.friends-studio--flash-bleed .friends-studio__label {
  inset: 4% 7% auto auto;
  border-radius: 1em;
  padding: .25em .53em;
  color: #173c32;
  background: #f4eba1;
}
.friends-studio--flash-bleed .friends-studio__price {
  inset: auto 9% 10% auto;
  font-variation-settings: 'wght' 900, 'wdth' 58, 'opsz' 144;
}

/* Full-height side prints leave a wide unboxed typographic margin. */
.friends-studio--print-margin { --fs-ink: #20375b; --fs-amount: 20cqi; }
.friends-studio--print-margin .friends-studio__face { aspect-ratio: 1.64; }
.friends-studio--print-margin .friends-studio__field {
  inset: 11% 3% 10% 43%;
  border-radius: 22% 46% 25% 40%;
  background: #d9e58f;
  rotate: 12deg;
}
.friends-studio--print-margin .friends-studio__art {
  inset: 4% 5% 13% 50%;
  border: 1.4cqi solid #fffdfa;
  border-radius: 3%;
  rotate: 8deg;
  box-shadow: 0 1.5cqi 3.7cqi #1521392b;
}
.friends-studio--print-margin .friends-studio__alternate {
  inset: 6% 29% auto auto;
  inline-size: 19%;
  aspect-ratio: 1;
  border: 1.1cqi solid #fffdfa;
  border-radius: 50%;
  rotate: -8deg;
  box-shadow: 0 1cqi 2.6cqi #1521394a;
}
.friends-studio--print-margin .friends-studio__label { inset: 18% auto auto 5%; max-inline-size: 42%; font-size: max(10px, 5.4cqi); line-height: 1.04; }
.friends-studio--print-margin .friends-studio__price {
  inset: auto auto 20% 4%;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  letter-spacing: -.065em;
  paint-order: stroke fill;
  -webkit-text-stroke: .9cqi #f4f1eb;
}
