.site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  padding: 0 9px;
  flex: none;
  color: #fbdaa0;
  background: #302038;
  border: 1px solid #987753;
  border-radius: 8px;
  font: 850 15px/1 var(--site-sans);
  letter-spacing: -0.035em;
}

.model-photo {
  --corner-inset: 12px;
  --brand-size: 25px;
  --domain-size: 15px;
  --type-face: "Avenir Next", var(--site-sans);
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  background: #25172b;
}
.model-photo--article,
.model-photo--avatar {
  border: 1px solid #a68a784f;
  box-shadow: 0 10px 24px #1d12252f;
}
.model-photo--article {
  width: min(100%, 278px);
  aspect-ratio: 1.17;
  margin: 17px auto 24px;
  border-radius: 14px;
}
.model-photo--avatar {
  --corner-inset: 6px;
  --brand-size: 16px;
  --domain-size: 11px;
  width: 126px;
  max-width: 100%;
  aspect-ratio: 1.2;
  border-radius: 10px;
}
.model-photo--article::after,
.model-photo--avatar::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, #160e1fc7, transparent 37%),
    linear-gradient(0deg, #100e17cd, transparent 37%);
}
.model-photo > img {
  position: absolute;
  inset: auto 0 0;
  display: block;
  width: 100%;
  height: 96%;
  border-radius: 0;
  object-fit: contain;
  object-position: 64% bottom;
  filter: drop-shadow(3px 6px 13px #100d18a0);
}
.model-photo__label {
  position: absolute;
  z-index: 2;
  font-family: var(--type-face);
  line-height: 1.12;
  white-space: nowrap;
  pointer-events: none;
}
.model-photo__brand {
  top: var(--corner-inset);
  left: var(--corner-inset);
  color: #fff4dd;
  font-size: var(--brand-size);
  font-weight: 850;
  letter-spacing: -0.058em;
  text-shadow: 0 2px 8px #0c0813da;
}
.model-photo__brand-accent {
  color: #ffce73;
}
.model-photo__domain {
  bottom: var(--corner-inset);
  right: var(--corner-inset);
  padding: 0.26em 0.49em 0.34em;
  color: #fff2d8;
  background: #150f1be8;
  border: 1px solid #e8bb748c;
  border-radius: 0.38em;
  font-size: var(--domain-size);
  font-weight: 700;
  letter-spacing: -0.022em;
}

.site-cover__art.model-photo--cover {
  padding: 0;
  aspect-ratio: 4 / 3;
  background: #1c1425;
  border-color: #977652;
  box-shadow: 0 18px 50px #0d071761;
}
.site-cover__art.model-photo--cover > img {
  position: static;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

/* Keep the original scenery and subject in one clear illustration. */
.model-photo[data-portrait-original] {
  background: #211329;
}
.model-photo[data-portrait-original] > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: none;
}
.model-photo[data-portrait-original]::after {
  background:
    radial-gradient(ellipse at left top, #13091bba 1%, transparent 56%),
    linear-gradient(0deg, #13091bb8, transparent 44%);
}
