@font-face {
  font-family: 'Switzer-Variable';
  src: url('fonts/Switzer-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1b1b1d;
  --text: #d5d5d8;
  --label: #6c6c74;
  --col: 20rem;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  font-family: 'Switzer-Variable', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
  background: var(--bg);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.page {
  width: 100%;
  max-width: var(--col);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.portrait {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  background: #27272a;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
  text-align: right;
}

.bio .role {
  margin: 0;
  font-size: 0.75rem;
  color: var(--label);
}

.bio .name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  padding-block: 1.25rem;
}

.label {
  margin: 0;
  font-size: 0.75rem;
  color: var(--label);
  text-align: right;
}

.copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text);
  text-align: right;
  max-width: 100%;
}

.stack {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--label);
  text-underline-offset: 0.12em;
  transition:
    color 0.15s ease,
    text-decoration-color 0.15s ease;
}

.link:hover,
.link:focus-visible {
  color: var(--label);
  text-decoration: none;
}

.arrow {
  display: inline-block;
  width: 0.75rem;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--label);
  opacity: 0;
  transform: translate(-0.35em, 0.2em);
  transition:
    opacity 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.link:hover .arrow,
.link:focus-visible .arrow {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .arrow {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.plain-line {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.block-contact .stack {
  width: 100%;
}

.mark {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.mark img {
  width: 1rem;
  height: 1rem;
  display: block;
}
