:root {
  --text: #f7f6f2;
  --muted: rgba(247, 246, 242, 0.72);
  --panel: rgba(6, 7, 12, 0.12);
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Instrument Sans", sans-serif;
  background: #020305;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.backdrop {
  position: absolute;
  inset: -4%;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.1), transparent 26%),
    url("./blackhole-sequence.gif") center center / cover no-repeat;
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.04);
  z-index: -2;
}

.site-links {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 7, 12, 0.16);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.site-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  opacity: 0.86;
  transition: opacity 140ms ease, transform 140ms ease;
}

.site-links a:hover,
.site-links a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.intro {
  width: min(30rem, calc(100vw - 3rem));
  margin: 2rem 0 0 2rem;
  padding: 0;
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

p {
  margin: 0;
  font-size: clamp(1.04rem, 2vw, 1.2rem);
  color: rgba(247, 246, 242, 0.92);
  letter-spacing: -0.02em;
}

.role-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.role-line + .role-line {
  margin-top: 0.65rem;
}

.inline-logo {
  width: 2.15rem;
  height: 2.15rem;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.inline-logo-uw {
  width: 2rem;
  height: 2rem;
}

.inline-logo-llama {
  width: 2rem;
  height: 2rem;
}

.inline-logo-watstreet {
  width: 2rem;
  height: 2rem;
  border-radius: 0;
}

.background-credit {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(247, 246, 242, 0.6);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
  .backdrop {
    inset: 0;
    transform: scale(1.08);
    background-position: 62% center;
  }

  .intro {
    margin: 1rem;
    padding: 0;
  }

  .site-links {
    top: 1rem;
    right: 1rem;
    gap: 0.7rem;
    padding: 0.5rem 0.65rem;
  }

  .site-links a {
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .role-line + .role-line {
    margin-top: 0.55rem;
  }

  .background-credit {
    bottom: 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
}
