/* nov-ai.de home: the featured music band. Words on the left; on the right a little Mac top with the island
   following the song, and the lock screen bubble under it showing the same song. */
.hm { width: min(1080px, 100%); margin: 104px auto 0; scroll-margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hm-text h2 { margin: 0; font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; text-wrap: balance;
  background: linear-gradient(180deg, #fff 35%, #b4b5bb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-text h2 em { font-style: italic; font-weight: 600; letter-spacing: -0.03em; padding-right: 0.02em; }
.hm-text > p:not(.eyebrow) { margin: 16px 0 0; max-width: 32em; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.hm-text ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hm-text li { position: relative; padding-left: 26px; color: var(--ink); font-size: 15px; }
.hm-text li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 14px; height: 14px; border-radius: 50%; background: color-mix(in srgb, var(--hm-tone, #ff6685) 22%, transparent); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 14px var(--hm-tone, #ff6685); transition: background-color 700ms ease, box-shadow 700ms ease; }
.hm-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 12px 20px; border-radius: 999px; background: #f5f5f7; color: #000; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.hm-go:hover { background: #fff; }
.hm-go:active { transform: scale(0.97); }
.hm-go:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hm-go svg { width: 16px; height: 16px; }

.hm-stage { position: relative; aspect-ratio: 5 / 4; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(110% 80% at 20% 110%, color-mix(in srgb, var(--hm-tone, #ff6685) 40%, transparent), transparent 62%),
              radial-gradient(90% 70% at 95% 0%, rgba(120, 140, 255, 0.24), transparent 60%), linear-gradient(180deg, #121119, #1c1622);
  box-shadow: inset 0 0 0 1px var(--hairline), 0 40px 100px -40px color-mix(in srgb, var(--hm-tone, #ff6685) 45%, transparent); }
.hm-isl { position: absolute; left: 50%; top: 0; width: 78%; transform: translateX(-50%); display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 34px 18px 18px; border-radius: 0 0 26px 26px; background: #000; color: #fff; }
.hm-art { display: block; width: 56px; height: 56px; border-radius: 13px; background: var(--hm-g, linear-gradient(135deg, #ff6f61, #8f5cff)); transition: background 600ms ease; }
.hm-words { display: grid; min-width: 0; transition: opacity 260ms ease, filter 260ms ease, transform 260ms var(--ease-out); }
.hm-words b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-words small { font-size: 13px; color: rgba(255, 255, 255, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-stage.swap .hm-words, .hm-stage.swap .hm-pw { opacity: 0; filter: blur(3px); transform: translateY(-4px); }
.hm-wave { display: flex; gap: 3px; align-items: end; height: 20px; }
.hm-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--hm-tone, #ff6685); transform-origin: 50% 100%; animation: hmwave 1s ease-in-out infinite alternate; transition: background-color 600ms ease; }
.hm-wave i:nth-child(2) { animation-duration: 0.74s; animation-delay: -0.3s; }
.hm-wave i:nth-child(3) { animation-duration: 1.18s; animation-delay: -0.55s; }
.hm-wave i:nth-child(4) { animation-duration: 0.86s; animation-delay: -0.2s; }
@keyframes hmwave { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.hm-prog { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.hm-prog i { display: block; height: 100%; width: var(--hm-p, 30%); border-radius: 2px; background: var(--hm-tone, #ff6685); transition: width 1000ms linear, background-color 600ms ease; }

.hm-lock { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; width: calc(100% - 32px); }
.hm-pill { display: inline-flex; align-items: center; gap: 12px; height: 54px; max-width: 100%; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); color: #fff; font-size: 14px; white-space: nowrap; }
.hm-pill .hm-art { flex: none; width: 38px; height: 38px; border-radius: 10px; }
.hm-pw { min-width: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity 260ms ease, filter 260ms ease, transform 260ms var(--ease-out); }
.hm-pw b { font-weight: 600; }
.hm-pw span { color: rgba(255, 255, 255, 0.55); }
.hm-av { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.55) 0 22%, transparent 23%), radial-gradient(ellipse 60% 42% at 50% 100%, rgba(255, 255, 255, 0.55) 0 98%, transparent 100%), rgba(255, 255, 255, 0.16); }
.hm-field { padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 12px; color: rgba(255, 255, 255, 0.55); }

@media (max-width: 860px) { .hm { grid-template-columns: 1fr; } .hm-stage { aspect-ratio: auto; min-height: 380px; } }
@media (max-width: 520px) {
  .hm-isl { width: calc(100% - 20px); grid-template-columns: 48px minmax(0, 1fr) auto; padding: 30px 14px 14px; }
  .hm-isl .hm-art { width: 48px; height: 48px; border-radius: 11px; }
  .hm-pill { height: 48px; padding: 6px 14px 6px 6px; font-size: 13px; }
  .hm-pill .hm-art { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .hm-wave i { animation: none; transform: scaleY(0.7); } }
