/* Licensed artwork refresh. The original grid, window system and palette live in style.css. */
.wordmark-computer {
  flex-shrink: 0;
  image-rendering: pixelated;
}

.city-banner {
  background-image: url('../art/witches-glitches/city-pastel.png');
  background-position: center;
  image-rendering: pixelated;
}

.hero-copy {
  margin: 22px;
  max-width: 510px;
  padding: 19px 25px 22px;
  border: 1px solid var(--line);
  background: #fff9fff0;
  box-shadow: 3px 3px 0 #79678e70;
}

.hero-copy h1 {
  margin: 14px 0 10px;
  font-size: 34px;
}

.hero-label {
  padding: 0;
  background: none;
  font-size: 9px;
}

.city-coordinate {
  padding: 5px 8px;
  background: #584864db;
}

.floating-note { top: 48px; }
.note-bow { position: absolute; top: -34px; left: calc(50% - 32px); }
.hero-heart { position: absolute; right: 17px; bottom: 14px; }

.stock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.stock-icon img {
  display: block;
  flex-shrink: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
}

.profile-computer {
  position: relative;
  width: 112px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}

.profile-computer > img {
  width: 84px;
  height: 72px;
  image-rendering: pixelated;
}

.computer-heart { position: absolute; right: 0; top: 0; }

.stock-sticker {
  display: inline-block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-image: url('../art/zeeenaab/pastel-stickers.png');
  background-size: 640px 320px;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  vertical-align: middle;
  pointer-events: none;
}

/* Sprite windows display the artist's unchanged 320 × 160 transparent PNG at 2×. */
.sticker-heart { background-position: -224px 0; }
.sticker-flower { background-size: 320px 160px; background-position: -128px -112px; }
.sticker-bow { width: 64px; height: 64px; background-position: -384px -96px; }
.sticker-cat { width: 64px; height: 64px; background-size: 1280px 640px; background-position: -768px 0; }
.sticker-music { width: 64px; height: 64px; background-position: -544px -224px; }

.project-art .stock-icon { width: 84px; height: 72px; }
.project-art .stock-icon img { max-width: none; max-height: none; transform: scale(3); }
.project-art .stock-disk img { transform: scale(2); }
.sticker-icon { display: inline-flex; align-items: center; justify-content: center; }
.project-art .sticker-icon > .stock-sticker { transform: scale(2); }
.journal-window .section-heading .stock-icon { height: 32px; }

.album-art {
  background-image: linear-gradient(#49315766, #49315766), url('../art/witches-glitches/city-neon.png');
  background-position: center;
  background-size: cover;
}

.album-art > .stock-sticker { margin: 0 4px; }
.album-art > span:last-child { position: relative; }
.memo-sticker { position: absolute; right: 14px; bottom: 15px; }

.little-pixel-garden {
  margin: 21px auto -17px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.little-pixel-garden .sticker-flower:first-child { transform: rotate(-8deg); }
.little-pixel-garden .sticker-flower:last-child { transform: rotate(8deg); }
.art-credits { border-top: 1px dashed #c7b6d6; padding-top: 24px; margin-top: 28px; }
.art-credits h3 { margin: 8px 0 14px; }
.art-credits a { color: var(--accent); }
.art-credits p:last-child { font-size: 13px; margin-bottom: 0; }

html[data-theme=night] .city-banner {
  background-image: url('../art/witches-glitches/city-neon.png');
  background-blend-mode: normal;
}

html[data-theme=night] .hero-copy { background: #30283fee; }
html[data-theme=night] .hero-label { color: var(--muted); }

@media (max-width: 1050px) {
  .hero-copy { max-width: 470px; }
  .hero-copy h1 { font-size: 31px; }
}

@media (max-width: 600px) {
  .wordmark { gap: 10px; font-size: 23px; }
  .wordmark-computer { width: 42px; height: 36px; }
  .city-banner { height: 300px; background-position: 64% center; }
  .hero-copy { max-width: calc(100% - 28px); margin: 14px; padding: 15px 14px 17px; }
  .hero-label { font-size: 7px; letter-spacing: 0; max-width: none; }
  .hero-copy h1 { font-size: 26px; line-height: 1.4; letter-spacing: -1.6px; margin: 13px 0 8px; }
  .hero-copy p { font-size: 12px; max-width: 225px; }
  .hero-heart { right: 10px; bottom: 10px; }
  .floating-note { top: auto; bottom: 15px; right: 14px; padding: 5px 8px; }
  .note-bow { width: 32px; height: 32px; background-size: 320px 160px; background-position: -192px -48px; top: -19px; left: calc(50% - 16px); }
  .city-coordinate { bottom: 11px; right: auto; left: 11px; font-size: 7px; }
  .profile-computer { width: 100%; }
  .album-art > .sticker-music { width: 32px; height: 32px; background-size: 320px 160px; background-position: -272px -112px; }
  .little-pixel-garden { gap: 8px; margin-top: 0; }
  footer { align-items: center; }
  footer a { font-size: 8px; margin-left: 0; }
  footer > span:first-child { flex-basis: 100%; }
}

@media (max-width: 360px) {
  .wordmark { font-size: 20px; gap: 8px; }
  .hero-copy h1 { font-size: 23px; }
}
