:root {
  --mint: #68e0c1;
  --green: #005747;
  --green-dark: #003d35;
  --ink: #e9fbf5;
  --ink-muted: rgba(233, 251, 245, 0.68);
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem 4rem;
  background: var(--green-dark);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, var(--green) 0%, var(--green-dark) 70%);
}

.glow {
  position: absolute;
  width: 60vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  animation: drift 22s ease-in-out infinite alternate;
}

.glow--one {
  top: -25vmax;
  left: -15vmax;
  background: var(--mint);
}

.glow--two {
  bottom: -30vmax;
  right: -20vmax;
  background: #2bb594;
  animation-delay: -11s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(104, 224, 193, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 224, 193, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 65%);
}

/* Content */

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 34rem;
}

.card > * {
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.card > :nth-child(2) { animation-delay: 0.1s; }
.card > :nth-child(3) { animation-delay: 0.2s; }
.card > :nth-child(4) { animation-delay: 0.3s; }
.card > :nth-child(5) { animation-delay: 0.4s; }

.logo {
  position: relative;
  width: clamp(112px, 26vw, 148px);
  aspect-ratio: 1;
  margin-bottom: 2rem;
}

.logo img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 28%;
  box-shadow: 0 0 0 1px rgba(104, 224, 193, 0.25), 0 20px 60px -10px rgba(0, 0, 0, 0.5),
    0 0 80px -20px rgba(104, 224, 193, 0.55);
}

.logo__ring {
  position: absolute;
  inset: -10px;
  border-radius: 32%;
  background: conic-gradient(from 0deg, transparent 0 65%, var(--mint) 90%, transparent 100%);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 1.5px;
  opacity: 0.8;
  animation: spin 6s linear infinite;
}

.name {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 20%, var(--mint) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(104, 224, 193, 0.3);
  border-radius: 999px;
  background: rgba(104, 224, 193, 0.08);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(104, 224, 193, 0.7);
  animation: pulse 2s ease-out infinite;
}

.tagline {
  margin: 1.75rem 0 0;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.tagline strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 500;
}

.contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid rgba(104, 224, 193, 0.25);
  border-radius: 999px;
  background: rgba(0, 61, 53, 0.5);
  backdrop-filter: blur(8px);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.contact a:hover {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.contact a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.contact__email {
  padding: 0 1.25rem;
  font-size: 0.975rem;
  font-weight: 500;
}

.contact__icon {
  width: 44px;
}

.footer {
  position: fixed;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(233, 251, 245, 0.4);
  font-size: 0.8125rem;
}

/* Animation */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(104, 224, 193, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(104, 224, 193, 0);
  }
}

@keyframes drift {
  to {
    transform: translate(8vmax, 6vmax) scale(1.1);
  }
}

@media (max-height: 640px) {
  .footer {
    position: static;
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .card > * {
    opacity: 1;
  }
}
