@font-face {
  font-family: "Anton";
  src: url("/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/fonts/Oswald-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --bg-2: #10100a;
  --yellow: #ffd200;
  --yellow-hot: #ffe44a;
  --yellow-dim: #b89400;
  --ink: #f4f0e0;
  --muted: #9a9078;
  --line: rgba(255, 210, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background-color: var(--bg);
  /* Viewport-fixed, so the warmth is not a document-tied "header" band. */
  background-image: radial-gradient(ellipse 90% 70% at 50% 28%, #12100a 0%, var(--bg) 72%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--ink);
}

body {
  font-family: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.15rem 1rem;
  background: transparent;
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  box-shadow: inset 0 0 120px 28px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.top, main, footer {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 980px;
  background: transparent;
}

.top {
  text-align: center;
  padding: 0.15rem 0 0.35rem;
  border-top: 3px solid var(--yellow);
  border-bottom: 1px solid var(--line);
}

.kicker {
  text-shadow: 0 1px 10px #050505, 0 0 14px rgba(5, 5, 5, 0.9);
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(0.72rem, 1.7vw, 0.95rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 0.55rem 0.5rem 0.5rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 0 1.5rem;
}

.logo {
  width: min(860px, 100%);
  margin: 0.4rem auto 0.15rem;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.logo .spin-static { display: none; }

@media (prefers-reduced-motion: reduce) {
  .logo .spin { display: none; }
  .logo .spin-static { display: block; }
}

.badge {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.32rem 1.15rem 0.28rem;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.55rem, 4.6vw, 2.55rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #050505;
  background: var(--yellow);
  line-height: 1;
  box-shadow: 0 0 0 3px #050505, 0 0 0 5px var(--yellow);
}

.vault {
  text-shadow: 0 1px 10px #050505, 0 0 14px rgba(5, 5, 5, 0.9);
  margin-top: 1.15rem;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.15rem, 3.2vw, 1.85rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.welcome {
  margin: 1.55rem auto 0;
  max-width: 40em;
  width: 100%;
  text-align: left;
  color: #efe9d4;
  font-weight: 400;
  font-size: clamp(1rem, 2.05vw, 1.12rem);
  letter-spacing: 0.015em;
  line-height: 1.65;
  text-wrap: pretty;
  background: transparent;
  text-shadow: 0 1px 8px #050505, 0 0 12px rgba(5, 5, 5, 0.92);
}

.welcome-head {
  text-shadow: 0 1px 10px #050505, 0 0 16px rgba(5, 5, 5, 0.95);
  margin: 0 0 1.05rem;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(1.18rem, 2.8vw, 1.5rem);
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--yellow);
  text-align: center;
  text-wrap: balance;
}

.welcome p {
  margin: 0 0 0.9rem;
}

.welcome p:last-child {
  margin-bottom: 0;
}

.welcome .accent {
  text-shadow: 0 1px 10px #050505, 0 0 16px rgba(5, 5, 5, 0.95);
  margin: 0.15rem 0 1rem;
  font-weight: 500;
  font-size: clamp(1.08rem, 2.3vw, 1.28rem);
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--yellow);
  text-align: center;
}

.tagline {
  margin-top: 1.45rem;
  font-weight: 400;
  font-size: clamp(0.98rem, 2.1vw, 1.2rem);
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--muted);
  max-width: 34em;
  background: transparent;
  text-shadow: 0 1px 8px #050505, 0 0 12px rgba(5, 5, 5, 0.92);
}

.photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  width: 100%;
  background: transparent;
  max-width: 920px;
  margin-top: 2.1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.photos figure {
  margin: 0;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 210, 0, 0.22);
  position: relative;
  z-index: 5;
}

.photos img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.06) saturate(0.9);
}

footer {
  text-align: center;
  border-top: 3px solid var(--yellow);
  padding: 0.7rem 4.2rem 0.5rem;
  margin-top: auto;
  text-shadow: 0 1px 8px #050505, 0 0 12px rgba(5, 5, 5, 0.92);
}

footer p {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow-dim);
}

.missing {
  justify-content: center;
}

.tagline a {
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--yellow);
}

.tagline a:hover { color: var(--yellow-hot); }

@media (max-width: 640px) {
  .stage { padding: 0.9rem 0.85rem 0.75rem; }
  .photos {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  .photos img { height: 180px; }
  .kicker { letter-spacing: 0.28em; }
}

@media (min-width: 641px) and (max-width: 820px) {
  .photos img { height: 140px; }
}

footer .copyright {
  margin-top: 0.38rem;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

#glitter {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
  z-index: 1;
}

.sound-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--yellow);
  background: rgba(5, 5, 5, 0.88);
  color: var(--yellow);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #050505, 0 0 16px rgba(255, 210, 0, 0.14);
  -webkit-tap-highlight-color: transparent;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  background: var(--yellow);
  color: #050505;
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.sound-toggle.is-muted {
  color: var(--yellow-dim);
  border-color: var(--yellow-dim);
}

.sound-toggle.is-muted:hover,
.sound-toggle.is-muted:focus-visible {
  color: #050505;
  background: var(--yellow);
  border-color: var(--yellow);
}

.sound-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  display: block;
}

.sound-hint {
  position: fixed;
  right: 4.05rem;
  bottom: 1.35rem;
  z-index: 10;
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  text-shadow: 0 1px 8px #000, 0 0 12px rgba(0, 0, 0, 0.8);
}

.sound-hint.is-visible {
  opacity: 0.9;
  visibility: visible;
  animation: hint-pulse 2.4s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .sound-hint.is-visible {
    animation: none;
    opacity: 0.9;
  }
}

@media (max-width: 640px) {
  .sound-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .sound-hint {
    right: 0.75rem;
    bottom: 3.55rem;
    letter-spacing: 0.12em;
  }
  footer {
    padding: 0.7rem 0.6rem 5.1rem;
  }
  footer .copyright {
    letter-spacing: 0.06em;
  }
}
