:root {
  color: #ffffff;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 18px;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #d7d7d7;
  isolation: isolate;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(39, 43, 48, 0.48), rgba(39, 43, 48, 0.48)),
    url("assets/images/bg.jpg") center / cover no-repeat;
  opacity: 0;
  animation: beach-fade-in 2s ease forwards;
  pointer-events: none;
  z-index: 0;
}

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

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: 3rem 1.5rem;
  place-items: center;
  position: relative;
  z-index: 1;
}

.profile {
  display: flex;
  width: min(100%, 46rem);
  align-items: center;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  animation: content-fade-in 2s ease 2s forwards;
}

.portrait {
  width: clamp(5.12rem, 10.88vw, 6.72rem);
  height: clamp(5.12rem, 10.88vw, 6.72rem);
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

h1 {
  margin: 2.6rem 0 0;
  font-size: clamp(2.56rem, 5.76vw, 4.704rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.95;
}

.tagline {
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 2.1vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.social-links {
  display: flex;
  gap: 0.95rem;
  margin-top: 1.85rem;
}

.social-links a {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-links svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.business-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.9rem;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 300;
}

.business-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: opacity 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible,
.business-links a:hover,
.business-links a:focus-visible {
  opacity: 0.72;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .page-shell {
    padding: 2rem 1.25rem;
  }

  h1 {
    margin-top: 2.1rem;
    font-size: clamp(1.984rem, 10.24vw, 2.816rem);
  }
}

@keyframes beach-fade-in {
  to {
    opacity: 1;
  }
}

@keyframes content-fade-in {
  to {
    opacity: 1;
  }
}
