:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #090909;
  --white: #f5f5f2;
  --soft: #aaa9a3;
  --hairline: rgba(255, 255, 255, 0.14);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--panel);
  min-height: 100svh;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.7);
}

.hero {
  position: relative;
  min-height: 64svh;
  isolation: isolate;
  overflow: hidden;
  background: #060606;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("./assets/elix-studio.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 49% 34%;
  transform: scale(1.015);
  filter: contrast(1.06) brightness(0.82);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.1) 64%, #090909 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent 46%, rgba(0, 0, 0, 0.18));
}

.brand-lockup {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: calc(38px + var(--safe-top)) 28px 0;
}

.brand-logo {
  display: block;
  width: min(58vw, 248px);
  height: auto;
}

.eyebrow,
.location,
.genres {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.29em;
  line-height: 1.65;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.hero-footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  display: flex;
  justify-content: center;
}

.equalizer {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
}

.equalizer i {
  display: block;
  width: 2px;
  height: 8px;
  background: rgba(255, 255, 255, 0.86);
  animation: pulse 1.1s ease-in-out infinite alternate;
}

.equalizer i:nth-child(2n) { animation-delay: -0.7s; }
.equalizer i:nth-child(3n) { animation-delay: -0.35s; }
.equalizer i:nth-child(4n) { animation-delay: -0.95s; }

@keyframes pulse {
  from { transform: scaleY(0.45); opacity: 0.42; }
  to { transform: scaleY(2.4); opacity: 1; }
}

.links-panel {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding: 20px 18px calc(30px + var(--safe-bottom));
  background: linear-gradient(180deg, #090909 0%, #050505 100%);
}

.intro {
  padding: 6px 5px 26px;
  text-align: center;
}

.location {
  color: var(--soft);
}

.intro h1 {
  margin: 14px 0 13px;
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.genres {
  max-width: 410px;
  margin: 0 auto;
  color: #b7b6b0;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.primary-links {
  display: grid;
  gap: 9px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-102%);
  background: var(--white);
  transition: transform 260ms cubic-bezier(0.76, 0, 0.24, 1);
  z-index: -1;
}

.link-card:hover,
.link-card:focus-visible {
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-1px);
  outline: none;
}

.link-card:hover::before,
.link-card:focus-visible::before {
  transform: translateX(0);
}

.link-card:active {
  transform: scale(0.992);
}

.link-card--primary {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.link-card--primary::before {
  background: #d7d7d3;
}

.link-number {
  align-self: start;
  padding-top: 2px;
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.58;
}

.link-copy {
  display: grid;
  gap: 4px;
}

.link-copy strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.link-copy small {
  overflow: hidden;
  color: currentColor;
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.56;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow {
  justify-self: end;
  font-size: 18px;
  font-weight: 300;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 3px 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #73736f;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.footer a {
  text-decoration: none;
}

@media (min-width: 700px) {
  body {
    padding: 32px 0;
  }

  .page-shell {
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .equalizer i,
  .link-card,
  .link-card::before {
    animation: none !important;
    transition: none !important;
  }
}
