:root {
  --page-width: 940px;
  --text: #111111;
  --line: #dedede;
  --background: #ffffff;
  --link: #1b4f8a;
  --golden-width: 61.803399%;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "PT Serif", Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.site-main {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
  flex: 1;
  padding: 64px 0 70px;
}

.home-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(38px, 7vw, 78px);
  align-items: start;
}

.profile-column {
  min-width: 0;
}

.profile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.sap-link {
  display: block;
  width: var(--golden-width);
}

.sap-logo {
  width: 100%;
  height: auto;
}

/*
  This reference box has the same aspect ratio and rendered width as the SAP
  logo. The LinkedIn link is 61.803399% of it in both dimensions.
*/
.sap-width-reference {
  width: var(--golden-width);
  aspect-ratio: 412.38 / 204;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.linkedin-link {
  display: block;
  width: var(--golden-width);
  height: var(--golden-width);
}

.linkedin-logo {
  width: 100%;
  height: 100%;
}

.associations {
  width: 100%;
  margin: 10px auto 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.associations h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.associations ul {
  margin: 0;
  padding-left: 21px;
}

.associations li {
  margin-bottom: 8px;
}

.home-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.home-copy p {
  margin: 0 0 20px;
}

.home-copy ul {
  margin: 0 0 22px;
  padding-left: 24px;
}

.site-footer {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .site-main {
    padding-top: 38px;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .profile-column {
    width: min(100%, 320px);
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .site-main,
  .site-footer {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .site-footer {
    justify-content: center;
  }
}
