@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,900&display=swap");

:root {
  --slice-a: 58.5%;
  --slice-b: 31%;
  --channel-blue: #00f;
  --channel-red: #f00;
  --channel-green: #0f0;
  --background: #121212;
}

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

html {
  background: var(--background);
}

body {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.28));
  pointer-events: none;
  z-index: 0;
}

.filters {
  position: fixed;
  width: 0;
  height: 0;
}

.stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 5vw;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.wordmark {
  position: relative;
  padding: 0 0.125em;
  color: var(--channel-green);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 10vw, 25rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  isolation: isolate;
  filter: url(#sliced) url(#noisey) hue-rotate(calc(var(--hovered, 0) * 120deg));
  transition: filter 0.3s ease;
}

.wordmark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(-4deg, transparent calc(var(--slice-a) - 0.5px), var(--channel-blue) calc(var(--slice-a) + 0.5px)),
    linear-gradient(0deg, var(--channel-red) calc(var(--slice-b) - 0.5px), #000 calc(var(--slice-b) + 0.5px));
  background-size: 100% 1lh;
  mix-blend-mode: lighten;
  pointer-events: none;
}

.wordmark:hover,
.wordmark:focus {
  --hovered: 1;
  outline: none;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-line a {
  color: inherit;
  text-decoration: none;
}

.contact-line a:hover,
.contact-line a:focus {
  outline: none;
}

.contact-line span {
  color: rgba(255, 255, 255, 0.35);
}

.contact-badge {
  display: inline-flex;
}

.contact-badge svg {
  display: block;
  width: min(560px, 82vw);
  height: auto;
}

.contact-badge rect {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.28);
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.contact-badge text {
  fill: rgba(255, 255, 255, 0.8);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  transition: fill 0.2s ease;
}

.contact-badge:hover rect,
.contact-badge:focus rect {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.65);
}

.contact-badge:hover text,
.contact-badge:focus text {
  fill: #fff;
}

@media (color-gamut: p3) {
  :root {
    --channel-blue: color(display-p3 0 0 1);
    --channel-red: color(display-p3 1 0 0);
    --channel-green: color(display-p3 0 1 0);
  }
}
