@font-face {
  font-family: "Inter";
  src: url("/assets/inter-v20-latin-200-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 300;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --ink: #000;
  --paper: #fff;
  --desktop-photo-width: min(67vw, 1013px);
}

@keyframes photo-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes roles-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

a {
  color: inherit;
}

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

.page {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.portrait {
  margin: 0;
  padding-top: 22.4px;
}

.photo-frame {
  position: relative;
  left: calc(50% + 0.5px);
  width: var(--desktop-photo-width);
  aspect-ratio: 1013 / 681.512;
  margin-inline: 0;
  overflow: hidden;
  transform: translateX(-50%);
}

.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: photo-fade-in 1.2s ease-out both;
}

.roles {
  width: 349px;
  height: 15px;
  margin: 34.866px 0 0 calc(50% - 135px);
  color: var(--ink);
  font-size: 11px;
  font-weight: 300;
  line-height: 15px;
  letter-spacing: -0.22px;
  white-space: nowrap;
  animation: roles-fade-in 0.85s ease-out 2s both;
}

.role__prefix {
  font-weight: 300;
}

.role__company {
  position: relative;
  font-weight: 300;
  text-decoration: none;
}

.role__divider {
  margin-inline: 22px;
  color: rgba(0, 0, 0, 0.25);
}

.role__company::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms ease-out;
}

.role__company:hover::after,
.role__company:focus-visible::after {
  transform: scaleX(1);
}

.role__company:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
  text-decoration: none;
}

@media (max-width: 767px) {
  .portrait {
    padding-top: 1px;
  }

  .photo-frame {
    left: calc(50% + 1px);
    width: 120.454545vw;
    height: calc(100vh - 126px);
    height: calc(100svh - 126px);
    margin-inline: 0;
    aspect-ratio: auto;
  }

  .photo {
    position: absolute;
    top: -0.06%;
    left: -62.67%;
    width: auto;
    max-width: none;
    height: 100.05%;
    object-fit: fill;
  }

  .roles {
    margin-top: 60px;
    margin-left: calc(50% - 127px);
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .role__divider {
    color: GrayText;
  }
}
