@font-face {
  font-family: clutch;
  src: url("https://cdn.prod.website-files.com/676f33518961fefbaba8132f/67705eae8b0bea6cfabc001c_relative-mono10pitch.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #fafafa;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("assets/cloud-bg.webp");
  background-position: center center;
  background-size: cover;
  content: "";
  filter: contrast(1.08) saturate(1.02);
  opacity: 0.9;
  pointer-events: none;
}

.sky-life {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.sky-life span {
  position: absolute;
  top: var(--top);
  left: -12vw;
  width: 30px;
  height: 14px;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(var(--scale));
  animation: drift-bird var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.sky-life span::before,
.sky-life span::after {
  position: absolute;
  top: 5px;
  width: 16px;
  height: 9px;
  border-top: 2px solid rgba(42, 42, 42, 0.36);
  content: "";
  filter: blur(0.15px);
  transform-origin: center top;
  animation: wing-beat 1.8s ease-in-out infinite;
}

.sky-life span::before {
  left: 0;
  border-radius: 100% 0 0 0;
  transform: rotate(12deg);
}

.sky-life span::after {
  right: 0;
  border-radius: 0 100% 0 0;
  transform: rotate(-12deg);
}

.app {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  color: #2a2a2a;
  font-family: clutch, monospace;
  font-size: 13px;
  line-height: 1.7;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86),
    0 7px 18px rgba(40, 40, 40, 0.1);
}

.app > p:first-child {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app > p:nth-child(2) {
  margin-bottom: 4px;
  color: #666;
}

.app a {
  color: #ff3300;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 51, 0, 0.3);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 5px 14px rgba(255, 51, 0, 0.14);
  transition: border-color 0.15s ease;
}

.app a:hover {
  border-color: #ff3300;
}

.app a:focus-visible {
  outline: 2px solid #ff3300;
  outline-offset: 3px;
}

.app p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.app p.socials {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;
  margin-top: 8px;
}

.app p.socials a {
  font-size: 13px;
}

.app p.emails {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;
  margin-top: 4px;
}

.app p.emails a {
  font-size: 12px;
}

.app > p:not(:first-child):not(:nth-child(2)):not(.socials):not(.emails) {
  margin-top: 28px;
}

.app ul {
  margin-top: 8px;
  padding-left: 16px;
  list-style: none;
}

.app ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 12px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.app ul li::before {
  position: absolute;
  left: 0;
  color: #999;
  content: "•";
}

.app ul li ul {
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 8px;
}

.app ul li ul li {
  margin-bottom: 6px;
  color: #444;
  font-size: 12.5px;
}

.app > p:last-child {
  margin-top: 4px;
}

.app > p:last-child a {
  color: #ff3300;
  font-size: 12px;
}

@keyframes drift-bird {
  0% {
    opacity: 0;
    transform: translate3d(-12vw, 0, 0) scale(var(--scale));
  }

  9% {
    opacity: 0.68;
  }

  48% {
    transform: translate3d(52vw, -18px, 0) scale(var(--scale));
  }

  88% {
    opacity: 0.46;
  }

  100% {
    opacity: 0;
    transform: translate3d(112vw, 8px, 0) scale(var(--scale));
  }
}

@keyframes wing-beat {
  0%,
  100% {
    top: 5px;
  }

  50% {
    top: 2px;
  }
}

@media (max-width: 600px) {
  .app {
    padding: 48px 20px 40px;
    font-size: 12.5px;
  }

  .app > p:first-child {
    font-size: 15px;
  }

  .app ul {
    padding-left: 8px;
  }

  .app ul li {
    padding-left: 10px;
  }

  .app p.socials {
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .app {
    padding: 36px 16px 32px;
    font-size: 12px;
  }

  .app > p:first-child {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sky-life {
    display: none;
  }
}
