/* Ikon Music splash. Palette comes from icon painting: gold leaf on black lacquer. */
:root {
  --lacquer: #0b0a08;
  --gilt: #d9a441;
  --gilt-pale: #f3d9a0;
  --bone: #efe8da;
  --ash: #8c8474;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--lacquer);
  color: var(--bone);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* The logo file is black on clear; the filter turns it bone white. */
@property --wipe {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
.logo {
  position: fixed;
  left: 50%;
  top: 38%;
  width: min(97vw, 124vh, 1500px);
  height: auto;
  transform: translate(-50%, -50%);
  filter: invert(1) sepia(0.2) brightness(0.97);
  pointer-events: none;
  user-select: none;
}
/* It appears outward from the O, behind the first ring. */
.js .logo {
  --wipe: 0%;
  -webkit-mask-image: radial-gradient(circle farthest-corner at 35% 44.2%, #000 calc(var(--wipe) - 5%), transparent var(--wipe));
  mask-image: radial-gradient(circle farthest-corner at 35% 44.2%, #000 calc(var(--wipe) - 5%), transparent var(--wipe));
}
.js.is-on .logo { --wipe: 106%; transition: --wipe 0.8s linear; }
.no-gl #stage { display: none; }

.copy {
  position: fixed;
  left: 0; right: 0;
  top: var(--logo-bottom, 62vh);
  padding: clamp(1rem, 3.5vh, 2.5rem) 1.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}
.copy > * { pointer-events: auto; }

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gilt);
}

.meter {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.meter i {
  width: 2px;
  height: 100%;
  background: currentColor;
  transform-origin: bottom;
  transform: scaleY(0.25);
  animation: idle 2.6s ease-in-out infinite;
}
.meter i:nth-child(2) { animation-delay: -0.5s; }
.meter i:nth-child(3) { animation-delay: -1.1s; }
.meter i:nth-child(4) { animation-delay: -1.7s; }
.meter i:nth-child(5) { animation-delay: -2.2s; }
@keyframes idle { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(0.9); } }

.headline {
  margin: 0.32em 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  line-height: 0.9;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  color: var(--bone);
}

.foot {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem) max(1.25rem, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ash);
}
.foot p { margin: 0; }
.foot b { font-weight: 400; color: var(--gilt); opacity: 0.7; padding: 0 0.35em; }

/* The copy waits for the logo to finish arriving. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js.is-live .reveal { opacity: 1; transform: none; }
.js.is-live .headline { transition-delay: 0.12s; }
.js.is-live .foot { transition-delay: 0.55s; }

@media (max-width: 760px) {
  .foot { justify-content: center; text-align: center; }
  .foot-services { display: none; }
}
@media (max-height: 560px) {
  .foot { display: none; }
  .eyebrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { transition: none; transform: none; }
  .meter i { animation: none; }
  .js.is-on .logo { transition: none; }
}
