@font-face {
  font-family: 'Outfit';
  src: url('/assets/outfit-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #1c364e;
  --black: #080f16;
  --cream: #f6e3c9;
  --muted: #968874;
  --hairline: rgba(236, 193, 135, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--muted);
  font-family: Palatino, 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-frame {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

.identity,
.wordmark-option,
.wordmark-visual,
.profile-grid,
.meta-grid {
  width: 500px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wordmark-option {
  margin-bottom: 28px;
  text-align: center;
}

.wordmark-visual {
  padding: 0.72rem 0.8rem 0.82rem;
  border: 3px solid var(--black);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--black);
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.105em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.profile-grid,
.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 232px);
  column-gap: 36px;
  font-size: 15px;
}

.profile-block {
  justify-self: center;
  max-width: 100%;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--cream);
  text-align: center;
}

.profile-block > span {
  display: block;
}

.profile-label {
  margin-bottom: 0.1rem;
  color: var(--muted);
}

.information-block {
  margin-top: 0.65rem;
  text-align: center;
}

.name {
  color: var(--cream);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.profile-block,
.name {
  transition: color 150ms ease;
}

.profile-block:hover,
.profile-block:focus-visible,
.name:hover,
.name:focus-visible {
  color: #fff5e7;
}

:focus-visible {
  outline: 1px solid var(--cream);
  outline-offset: 5px;
}

::selection {
  background: var(--cream);
  color: var(--blue);
}

@media (max-width: 520px) {
  .site-frame {
    padding-inline: 1rem;
  }

  .identity,
  .wordmark-option,
  .profile-grid,
  .meta-grid {
    width: 100%;
  }

  .wordmark-visual {
    width: 280px;
    margin-inline: auto;
    padding-inline: 0.4rem;
    font-size: 25px;
    letter-spacing: 0.08em;
  }

  .profile-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    row-gap: 0.85rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
