* {
  box-sizing: border-box;
}

html {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(to bottom, rgb(9 17 29 / 24%), transparent 24%),
    url("assets/marble.jpg") center / cover no-repeat #18273b;
  color: #f1f3f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 3rem);
  padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
  padding-right: calc(clamp(1.25rem, 3vw, 3rem) + env(safe-area-inset-right, 0px));
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  padding-left: calc(clamp(1.25rem, 3vw, 3rem) + env(safe-area-inset-left, 0px));
  text-shadow: 0 1px 8px rgb(0 0 0 / 45%);
}

h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
  font-size: 1.0rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  .site-header {
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
  }

  h1 {
    font-size: 1.8rem;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  a {
    font-size: 1.3rem;
  }
}
