*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #1cb5c9;
  --black: #111111;
  --white: #ffffff;
  --muted: #333333;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.aura {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 15% 45%, rgba(255, 120, 80, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 70% at 8% 75%, rgba(80, 200, 230, 0.5) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 25% 20%, rgba(255, 180, 100, 0.35) 0%, transparent 60%),
    linear-gradient(105deg, rgba(255, 245, 240, 0.6) 0%, var(--white) 55%);
  filter: blur(0.5px);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.layout {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(2rem, 6vw, 4rem);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: clamp(0.5rem, 8vw, 6rem);
}

.name {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.name-first {
  color: var(--teal);
}

.name-last {
  color: var(--black);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  border: 1.5px solid rgba(17, 17, 17, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.link-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.link-btn:hover {
  border-color: var(--black);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.link-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.info {
  justify-self: end;
  text-align: right;
  padding-bottom: 0.5rem;
}

.role {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.35rem;
}

.skills {
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .hero {
    padding-left: 0;
    align-items: stretch;
  }

  .info {
    justify-self: start;
    text-align: left;
    margin-top: 2rem;
  }

  .links {
    flex-direction: column;
  }

  .link-btn {
    justify-content: center;
  }
}
