@font-face {
  font-family: "Creato Display";
  src: url("assets/fonts/CreatoDisplay-Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Creato Display";
  src: url("assets/fonts/CreatoDisplay-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: #111;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: #fff;
  font-family: "Creato Display", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  background-color: #111;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("assets/background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.site-header {
  padding: clamp(1rem, 4vw, 2.5rem);
  padding-bottom: calc(clamp(1rem, 4vw, 2.5rem) + env(safe-area-inset-bottom));
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5.5vw, 4.25rem);
  font-weight: 100;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  text-wrap: balance;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
}

.site-nav a {
  padding: 0.25rem 0;
  color: #fff;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
