/* One typographic O, with an orange coin drawn inside its existing advance. */
.wordmark-coin{position:relative;display:inline-block;font:inherit;letter-spacing:inherit;line-height:inherit;vertical-align:baseline}
.brand .wordmark-coin-glyph,.intro-brand .wordmark-coin-glyph{color:transparent}
.wordmark-coin-scene{
  position:absolute;left:50%;top:50%;width:.75em;height:.75em;
  width:1cap;height:1cap;transform:translate(-50%,-50%);
  perspective:5em;pointer-events:none;
}
.wordmark-coin-spin{
  position:absolute;inset:0;transform-style:preserve-3d;
  animation:wordmark-coin-turn 10s linear infinite;
}
.wordmark-coin-edge,.wordmark-coin-face{position:absolute;inset:0;border-radius:50%;background:currentColor}
.wordmark-coin-edge{
  transform:translateZ(var(--coin-depth));
  background-image:linear-gradient(110deg,#ffffff24,#00000070 62%,#ffffff30);
  box-shadow:inset 0 0 0 .025em #00000028;
}
.wordmark-coin-face{
  overflow:hidden;isolation:isolate;backface-visibility:hidden;-webkit-backface-visibility:hidden;
  box-shadow:inset 0 0 0 .018em #ffb261;
}
.wordmark-coin-face::before{
  content:"";position:absolute;inset:0;border-radius:50%;
  background-image:url('/brand/bitcoin-wordmark-ui-96.png');
  background-size:107.4% 104.1%;background-position:27% 43%;background-repeat:no-repeat;
  filter:grayscale(1) contrast(1.45) brightness(1.12);mix-blend-mode:multiply;
}
.wordmark-coin-face::after{
  content:"";position:absolute;inset:0;border-radius:50%;
  background:linear-gradient(125deg,#fff3 0%,transparent 38%,#0002 72%,#fff1);
}
.wordmark-coin-front{transform:translateZ(.052em)}
.wordmark-coin-back{transform:rotateY(180deg) translateZ(.052em)}
@keyframes wordmark-coin-turn{from{transform:rotateX(-8deg) rotateY(0deg)}to{transform:rotateX(-8deg) rotateY(360deg)}}
.logo-page-hidden .wordmark-coin-spin,.logo-motion-paused .wordmark-coin-spin{animation-play-state:paused}
@media(hover:hover){.wordmark-coin:hover .wordmark-coin-spin{animation-play-state:paused}}
@media(prefers-reduced-motion:reduce){.wordmark-coin-spin{animation:none;transform:none}}

/* Four-second holds with a one-second eased turn between the two word faces. */
.wordmark-roll{display:inline-block;vertical-align:baseline;perspective:7em}
.wordmark-roll-stage{
  display:inline-grid;vertical-align:baseline;transform-style:preserve-3d;
  transform-origin:50% 50%;
  animation:wordmark-word-turn 10s cubic-bezier(.65,0,.35,1) infinite;
}
.wordmark-roll-face{
  grid-area:1/1;justify-self:start;white-space:nowrap;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;
}
.wordmark-roll-front{transform:rotateX(0deg)}
.wordmark-roll-back{transform:rotateX(180deg)}
@keyframes wordmark-word-turn{
  0%,40%{transform:rotateX(0deg)}
  50%,90%{transform:rotateX(-180deg)}
  100%{transform:rotateX(-360deg)}
}
.logo-page-hidden .wordmark-roll-stage,.logo-motion-paused .wordmark-roll-stage{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){
  .wordmark-roll-stage{animation:none;transform:none}
  .wordmark-roll-back{visibility:hidden}
}
