* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --bg: #020304;
  --bg-soft: rgba(7, 10, 14, 0.72);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.68);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #b8fff1;
  --accent-2: #8db8ff;
  --glow: rgba(184, 255, 241, 0.16);
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(141, 184, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(184, 255, 241, 0.08), transparent 24%),
    linear-gradient(180deg, #040506 0%, #020304 100%);
  color: var(--text);
  font-family: "Ubuntu", sans-serif;
}

body {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

#background-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px 52px 22px;
}

.eyebrow {
  margin: 0;
  font-family: "Ubuntu Mono", monospace;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  opacity: 0;
}

.hero-copy {
  max-width: 1680px;
  margin: auto 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.05em;
  max-width: 15ch;
}

.hero-copy .line {
  display: block;
}

.hero-copy .line + .line {
  margin-top: 0.08em;
}

.hero-copy .line-primary {
  color: var(--text);
}

.hero-copy .line-muted {
  color: #a7a7aa;
  white-space: normal;
}

.hero-copy .line a {
  color: var(--text);
  position: relative;
  display: inline-block;
}

.hero-copy .line a:hover {
  color: var(--accent);
  border-color: transparent;
}

.hero-copy .line a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 0.12em;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.hero-copy .line a:hover::after {
  transform: scaleX(1);
}

.hero-copy a,
.footer a {
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    text-shadow 180ms ease;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  font-family: "Ubuntu Mono", monospace;
  font-size: 0.98rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.email-link {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
}

.social-link {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.social-link svg {
  width: 46px;
  height: 46px;
}

.social-link-linkedin {
  transform: scale(1.12);
}

.hero-copy a:hover,
.email-link:hover {
  color: var(--accent);
  border-color: rgba(184, 255, 241, 0.5);
  text-shadow: 0 0 24px var(--glow);
}

.social-link:hover {
  color: var(--accent);
  border-color: transparent;
  text-shadow: 0 0 24px var(--glow);
}

::selection {
  color: #031014;
  background: rgba(184, 255, 241, 0.9);
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .hero {
    min-height: auto;
    padding: 24px 20px 28px;
  }

  .hero-copy {
    margin: 56px 0 72px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 11vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
  }

  .hero-copy .line + .line {
    margin-top: 0.1em;
  }

  .hero-copy .line-muted {
    white-space: normal;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-left {
    gap: 14px 16px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }
}
