:root {
  color-scheme: dark;
  --foreground: #f8f5ec;
  --panel: rgb(255 255 255 / 13%);
  --panel-border: rgb(255 255 255 / 28%);
  --rule: rgb(248 245 236 / 42%);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Georgia, "Times New Roman", serif;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 52%, rgb(255 255 255 / 8%), transparent 35rem),
    linear-gradient(rgb(0 3 16 / 28%), rgb(0 3 16 / 52%)),
    url("assets/night-sky.png") center / cover no-repeat fixed;
  color: var(--foreground);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 7vw, 7rem) clamp(2rem, 7vw, 7rem)
    clamp(4rem, 8vw, 6rem);
  text-align: center;
  position: relative;
}

.card {
  width: min(100%, 38rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2.35rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 1.25rem 4rem rgb(0 0 0 / 32%);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.nameplate,
h1,
h2 {
  margin: 0;
}

.nameplate,
h2 {
  font-size: clamp(0.68rem, 1.3vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.44em;
  line-height: 1.6;
  text-transform: uppercase;
}

.nameplate {
  margin-bottom: clamp(1.6rem, 3vw, 2rem);
}

.headline {
  font-size: clamp(2.1rem, 4vw, 2.65rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.08;
}

.headline span {
  display: block;
}

.headline-nowrap {
  white-space: nowrap;
}

.contact {
  width: min(100%, 24rem);
  margin-top: clamp(2rem, 4vw, 2.8rem);
}

h2 {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--rule);
}

a {
  display: inline-block;
  margin-top: 0.9rem;
  color: inherit;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.2;
  text-decoration: none;
}

a:focus-visible,
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.site-footer {
  position: absolute;
  right: 1rem;
  bottom: 1.15rem;
  left: 1rem;
  color: rgb(248 245 236 / 58%);
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 42rem) {
  .card {
    width: min(100%, 32rem);
  }

  .nameplate,
  h2 {
    letter-spacing: 0.24em;
  }

  .headline {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .site-footer {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }
}
