/* Splash page. Loaded only by template-splash.php.
   Everything scales from --cover (the album cover's size), so the layout
   looks the same on every screen: cover centered, title just above it,
   link just below it. */

:root {
  /* ~62% of screen height on desktop, ~88% of screen width on phones, never huge */
  --cover: min(88vw, 62vh, 1000px);
}
@supports (height: 1svh) {
  :root { --cover: min(88vw, 62svh, 1000px); }
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  background: #000;
  font-family: "Arimo", Arial, Helvetica, sans-serif;
}

.splash {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--cover) * 0.02);
  background: #000 url("../img/SPLASH.jpg") center / cover no-repeat;
}

.splash a { color: #673edc; text-decoration: none; }
.splash a:focus-visible { outline: 2px solid #673edc; outline-offset: 3px; }

.splash__title {
  margin: 0;
  max-width: 100%;
  padding: 0 2px;
  background: #000;
  font-size: calc(var(--cover) * 0.083);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.splash__cover {
  display: block;
  width: var(--cover);
  height: var(--cover);
  object-fit: cover;
}

.splash__enter {
  margin: 0;
  padding: 0 2px;
  background: #000;
  font-size: max(12px, calc(var(--cover) * 0.0357));
  line-height: 1.15;
  text-align: center;
}
