@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/space-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-mono-700.woff2") format("woff2");
}

@font-face {
  font-family: "Kaushan Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/kaushan-script-400.woff2") format("woff2");
}

:root {
  --brand: #6aa84f;
}

body {
  font-family: "Space Mono", ui-monospace, monospace;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  background: center / cover no-repeat url("/assets/images/cover_bg_3.jpg") fixed;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--brand) 90%, transparent);
}

.hero-name {
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  transform: rotate(-5deg);
}

.hero-name::before,
.hero-name::after {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 0.25rem;
  margin: 0 0.65rem;
  vertical-align: middle;
  background: currentColor;
  transform: translateY(-0.15em);
}

.contact-btn {
  width: 3rem;
  height: 3rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover,
.contact-btn:focus-visible,
.contact-btn[aria-describedby] {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  transform: translateY(-2px);
}

.popover-qr {
  width: 10rem;
  text-align: center;
}

.popover-qr img {
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

.hero-copy,
.hero-copy a {
  color: #fff;
  text-decoration: none;
}

.hero-copy a:hover,
.hero-copy a:focus-visible {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.tool-capsules {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.tool-capsules-label {
  margin: 0;
  letter-spacing: 0.12em;
  color: #fff;
}

.tool-capsule {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tool-capsule:hover,
.tool-capsule:focus-visible {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  transform: translateY(-1px);
}

.hero-copy {
  margin-top: 4.5rem;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }

  .hero-name::before,
  .hero-name::after {
    width: 1.15rem;
    height: 0.18rem;
  }

  .hero-copy {
    margin-top: 3rem;
  }

  body {
    overflow: auto;
  }
}
