:root {
  color-scheme: dark;
  --void: #050505;
  --charcoal: #111111;
  --bone: #e8dcc8;
  --bone-dim: #c4b8a4;
  --mist: #a39c93;
  --rule: rgba(232,220,200,.22);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: var(--void); }
body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--void);
  color: var(--bone);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.backdrop {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(5,5,5,.38), rgba(5,5,5,.86)),
    url('/stills/character-3-1080.webp') center 18% / cover no-repeat;
  transform: scale(1.02);
}

.veil {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(232,220,200,.07), transparent 22rem),
    linear-gradient(180deg, rgba(5,5,5,.15), rgba(5,5,5,.70) 58%, rgba(5,5,5,.94));
}

.grain {
  position: fixed;
  inset: -30%;
  opacity: .065;
  pointer-events: none;
  background-image: url('/grain.png');
  background-repeat: repeat;
  animation: grain 9s steps(8) infinite;
}

@keyframes grain {
  0% { transform: translate3d(0,0,0); }
  25% { transform: translate3d(3%, -2%, 0); }
  50% { transform: translate3d(-2%, 3%, 0); }
  75% { transform: translate3d(1%, -3%, 0); }
  100% { transform: translate3d(0,0,0); }
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: max(28px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
}

.card {
  width: min(100%, 520px);
  text-align: center;
}

.identity {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.mark {
  width: clamp(76px, 20vw, 108px);
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.45));
  user-select: none;
}

h1 {
  margin: 17px 0 0;
  padding-left: .42em;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: .42em;
}

.album {
  margin: 28px 0 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .28em;
}

.tagline {
  margin: 10px 0 0;
  color: var(--mist);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .28em;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.link {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border: 1px solid var(--rule);
  background: rgba(5,5,5,.68);
  color: var(--bone);
  text-decoration: none;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .23em;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.link::after {
  content: "↗";
  position: absolute;
  right: 12px;
  top: 9px;
  color: rgba(232,220,200,.38);
  font-size: 10px;
  letter-spacing: 0;
}

.link.primary {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--void);
}

.link.primary::after { color: rgba(5,5,5,.42); }

.meta {
  padding-right: 6px;
  color: var(--mist);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .22em;
  white-space: nowrap;
}

.link.primary .meta { color: rgba(5,5,5,.58); }

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(232,220,200,.7);
  background: rgba(17,17,17,.9);
  outline: none;
}

.link.primary:hover,
.link.primary:focus-visible {
  background: #f2e7d5;
  color: var(--void);
}

.link:active { transform: translateY(0); }

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: rgba(163,156,147,.70);
  font-size: 8px;
  letter-spacing: .24em;
}

.dot {
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

@media (max-width: 420px) {
  .shell { padding-inline: 14px; }
  .links { gap: 10px; }
  .link { min-height: 62px; padding: 0 18px; }
  .meta { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
