/* The state is also written out in text; colour is an additional cue. */
.hud-status .chip .ic { width: 18px; height: 18px; }
.hud-status .chip[data-k="light"] .status-light { color: #6c7067; }
.hud-status .chip[data-k="light"] .status-light-glass { fill: transparent; }
.hud-status .chip[data-k="light"].on .status-light { color: #8f6000; }
.hud-status .chip[data-k="light"].on .status-light-glass { fill: #ffd53e; }
.hud-status .chip[data-k="temp"] .status-temp { color: #b8411d; }
.hud-status .chip[data-k="temp"] .status-temp-mercury { stroke: #db5426; }
.hud-status .chip[data-k="temp"] .status-temp-bulb { fill: #e65c29; stroke: none; }
.hud-status .chip[data-k="water"] .status-water { color: #12689e; }
.hud-status .chip[data-k="water"] .status-water-drop { fill: transparent; }
.hud-status .chip[data-k="water"].good .status-water-drop { fill: #3d9ddd; }

/* Alpha mask generated from the supplied portrait; the displayed pixels are the original photograph. */
.about-photo { position: relative; overflow: hidden; }
.about-photo picture {
  display: block;
  -webkit-mask-image: url('../assets/about/alexander-mask-800.webp');
  mask-image: url('../assets/about/alexander-mask-800.webp');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 98% 100%;
  mask-size: 98% 100%;
  -webkit-mask-position: center;
  mask-position: center;
}
.about-photo img { aspect-ratio: 3 / 4; object-fit: fill; }
.about-photo::after {
  content: "";
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(to bottom, transparent, var(--section-dark));
  pointer-events: none;
}
@media (max-width: 700px) {
  .about-photo picture { width: 120%; margin-left: -10%; }
  .about-photo img { aspect-ratio: 3 / 4; object-position: center; }
}
