@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-RegularItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Semibold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --text: rgba(0, 0, 0, 0.62);
  --line: rgba(0, 0, 0, 0.14);
  --chip: rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  line-height: 1.45;
  overflow-y: scroll;
}

body {
  position: relative;
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

p {
  margin: 0 0 0.45rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.62);
}

h1,
h2,
h3 {
  margin: 0 0 0.45rem;
  line-height: 1.1;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: #000;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.626rem;
}

h3 {
  font-size: 1.15rem;
}

.page-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 35%;
  padding: 10rem 1.5rem 2rem 0;
  text-align: right;
}

.profile-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
}

.profile-photo {
  width: min(252px, 100%);
  margin: 0 0 1rem;
}

.profile-name,
.site-nav a {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: #000;
}

.profile-meta {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.62);
}

.profile-name {
  margin-top: 0.55rem;
  line-height: 0.7;
}

.profile-meta {
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  line-height: 0.9;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.site-nav a {
  text-decoration: none;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
}

.social-links a {
  display: inline-flex;
  padding: 0.1rem 0.2rem;
  color: #000;
}

.social-links svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.content {
  width: 65%;
  margin-left: 35%;
  padding: 10rem 0 5rem;
}

.content > section,
.intro {
  width: 80%;
  max-width: 54rem;
}

.intro p {
  font-size: 0.92rem;
}

.divider {
  width: 100%;
  display: none;
  height: 1px;
  margin: 0 0 1rem;
  border: 0;
  background: rgba(0, 0, 0, 0.12);
}

.divider-thick {
  height: 2px;
}

.content-work h1 {
  margin-bottom: 2.25rem;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.experience-item {
  display: flex;
  gap: 1rem;
}

.experience-meta {
  width: 30%;
  padding-right: 2rem;
  text-align: right;
}

.experience-copy {
  width: 70%;
}

.experience-copy p {
  font-size: 0.92rem;
}

.company-link {
  display: inline-block;
}

.company-logo {
  display: block;
  max-width: 45%;
  margin: 0 0 0.5rem auto;
}

.company-logo.logo-wide {
  max-width: 55%;
}

.company-logo.logo-narrow {
  max-width: 40%;
}

.company-name {
  font-weight: 400;
  margin-bottom: 0.2rem;
  color: #000;
}

.we-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.we-meta-row {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.62);
  margin: 0;
}

.we-meta-row + .we-meta-row {
  margin-top: 0.08rem;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
  margin-top: 0.55rem;
}

.skill-chip {
  padding: 0.18rem 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  background: transparent;
  font-size: 0.75rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.62);
}

.experience-copy ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.experience-copy li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1rem;
}

.experience-copy li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .page-shell {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    padding: 5rem 2rem 1.5rem;
    text-align: center;
  }

  .profile-link {
    align-items: center;
  }

  .site-nav,
  .social-links {
    align-items: center;
    justify-content: center;
  }

  .content {
    width: 100%;
    margin-left: 0;
    padding: 0.5rem 2rem 4rem;
  }

  .content > section,
  .intro {
    width: 100%;
  }

  .content-work > section {
    text-align: center;
  }

  .experience-item {
    flex-direction: column;
  }

  .experience-meta,
  .experience-copy {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .company-logo {
    margin-right: auto;
    margin-left: auto;
  }

  .skill-chips,
  .we-meta,
  .we-meta-row {
    justify-content: center;
  }

  .we-meta {
    align-items: center;
  }

  .experience-copy {
    text-align: left;
  }
}
