:root {
  color-scheme: light;
  --foreground: #0f261c;
  --panel: rgb(250 250 247 / 88%);
  --rule: rgb(15 38 28 / 34%);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgb(255 255 255 / 12%), rgb(255 255 255 / 12%)),
    url("assets/sky.png") center / cover no-repeat fixed;
  color: var(--foreground);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 4rem);
  text-align: center;
}

.card {
  width: min(100%, 70rem);
  min-height: min(44rem, calc(100vh - 4rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 7vw, 8rem);
  background: var(--panel);
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 12%);
}

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

.nameplate,
h2 {
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.52em;
  line-height: 1.6;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.65rem, 7.2vw, 6.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.13;
}

.contact {
  width: min(100%, 38rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

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

a {
  display: inline-block;
  margin-top: 1.25rem;
  color: inherit;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.2;
  text-decoration: none;
}

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

@media (max-width: 42rem) {
  .card {
    min-height: calc(100vh - 2rem);
  }

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