:root {
  color: #171717;
  background: #ffffff;
  font-family: "Inter", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

main {
  display: grid;
  min-height: 100svh;
  padding: 48px;
  place-items: center;
}

section {
  width: min(100%, 680px);
}

p {
  margin-top: 0;
}

.domain {
  margin-bottom: 60px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.intro {
  max-width: 650px;
  margin-bottom: 42px;
  font-family: "Newsreader", serif;
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.details a {
  color: #171717;
  font-size: 15px;
  font-weight: 500;
  text-decoration-color: #cccccc;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.details a:hover,
.details a:focus-visible {
  text-decoration-color: #171717;
}

.details {
  max-width: 610px;
  margin-bottom: 60px;
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.75;
}

.portfolio {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #6b6b6b;
  font-size: 12px;
  text-decoration: none;
}

.portfolio span {
  transition: transform 160ms ease;
}

.portfolio:hover,
.portfolio:focus-visible {
  color: #171717;
}

.portfolio:hover span,
.portfolio:focus-visible span {
  transform: translate(2px, -2px);
}

@media (max-width: 600px) {
  main {
    padding: 32px 24px;
    place-items: start center;
  }

  section {
    padding-top: 8vh;
  }

  .domain {
    margin-bottom: 48px;
  }

  .intro {
    margin-bottom: 36px;
    font-size: clamp(40px, 13vw, 56px);
  }

  .details {
    margin-bottom: 48px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio span {
    transition: none;
  }
}
