:root {
  --font-primary: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --bg-dark: #000000;
  --bg-light: #ffffff;
  --text-dark: #111111;
  --text-muted: #6b6b6b;
  --text-light: #f5f5f5;
  --text-soft: #cfcfcf;
  --button: #2b2b2b;
  --border: #2a2a2a;
  --nav-active: #e8e8e8;
  --max: 920px;
  --header-h: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: var(--font-primary);
  font-weight: 200;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1,
.profile-heading {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f5f5f5;
}

.profile-heading {
  white-space: nowrap;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0 32px;
  background: var(--bg-dark);
  color: var(--text-light);
}

.logo,
.site-name {
  text-decoration: none;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.site-nav a,
nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: var(--nav-active);
  color: var(--text-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #444;
  padding: 10px 9px;
  cursor: pointer;
}

.menu-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px 0;
  background: #fff;
}

.section {
  padding: 96px 28px;
  scroll-margin-top: var(--header-h);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1,
.website h2,
.work h2,
.school h2,
.contact h2 {
  margin: 0 0 36px;
  text-align: center;
}

.hero h1 {
  max-width: none;
  margin: 0 auto 48px;
}

.website h2,
.work h2 {
  font-family: "Raleway", sans-serif;
  font-size: clamp(22px, 5.5vw, 36px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  color: #333333;
}

.work h2 {
  margin-bottom: 48px;
}

.work .section-kicker {
  margin-top: 0;
}

.school h2,
.contact h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

.hero-grid {
  max-width: none;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 64px;
}

.portrait {
  position: relative;
  flex: 0 0 auto;
  width: min(360px, 70vw);
  height: min(360px, 70vw);
  border-radius: 50%;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid #333;
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-logo img,
.school-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-copy,
.profile-copy,
.profile-body {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(18px, 1.8vw, 36px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #e6e6e6;
}

.hero-copy {
  flex: 0 1 42rem;
  max-width: 42rem;
}

.hero-copy p,
.profile-copy p,
.profile-body p {
  margin: 0 0 18px;
  font-weight: 300;
  color: #e6e6e6;
}

.hero-copy p:last-child {
  margin-bottom: 0;
}

.btn,
.button,
button {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  margin-top: 12px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--button);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn:hover {
  background: #3a3a3a;
}

.school {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.website {
  text-align: center;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 120px;
}

.website-link {
  margin-top: 12px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.website .lede,
.website p,
.contact .lede {
  max-width: 34rem;
  margin: 0 auto 10px;
  font-weight: 300;
  color: var(--text-muted);
}

.work {
  padding-top: 120px;
}

.section-kicker {
  text-align: center;
  margin: -18px 0 64px;
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}

.job {
  max-width: 950px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  column-gap: 32px;
  row-gap: 0;
  align-items: center;
}

.job-copy {
  min-width: 0;
  text-align: left;
}

.job:last-child {
  margin-bottom: 0;
}

.job h3 {
  margin: 0 0 8px;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  color: #333;
  text-align: left;
}

.job h3.job-role-follow {
  margin-top: 72px;
}

.job-meta {
  margin: 0 0 8px;
  color: #333;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: left;
}

.job-tagline {
  margin: 0 0 16px;
  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #8a8a8a;
  font-size: 14px;
  text-align: left;
}

.job ul {
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  padding-left: 1.35em;
  list-style-position: outside;
  text-align: left;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.job li {
  margin-bottom: 20px;
  padding-left: 0;
  text-align: left;
  line-height: 1.5;
}

.job li:last-child {
  margin-bottom: 0;
}

.job-logo,
.school-mark {
  display: grid;
  place-items: center;
  background: #f3f3f3;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.job-logo {
  width: 200px;
  height: auto;
  min-height: 72px;
  align-self: center;
  justify-self: end;
  background: transparent;
  color: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.job-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.school {
  padding-top: 88px;
}

.school-item {
  width: min(720px, 100%);
  max-width: 720px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.school-item > div:last-child {
  min-width: 0;
  text-align: left;
}

.school-item:last-child {
  margin-bottom: 0;
}

.school-mark {
  width: 120px;
  height: 120px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  overflow: hidden;
}

.school-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.school h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.school-college {
  margin: 0 0 8px;
  color: var(--text-soft);
}

.school p {
  margin: 0 0 4px;
  font-weight: 300;
}

.contact {
  text-align: center;
  padding-top: 88px;
  padding-bottom: 88px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
}

.contact-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
}

.contact-links a:hover .icon-circle {
  background: #2b2b2b;
}

.site-footer {
  padding: 18px 24px 28px;
  text-align: center;
  color: #8a8a8a;
  font-size: 0.85rem;
  background: var(--bg-light);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .profile-heading {
    white-space: normal;
  }
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 20px;
    background: var(--bg-dark);
    border-top: 1px solid #222;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
  }

  .portrait {
    width: min(420px, 78vw);
    height: min(420px, 78vw);
    align-self: center;
  }

  .hero-copy {
    flex: 1 1 auto;
    max-width: none;
  }

  .job,
  .school-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .job-logo {
    justify-self: start;
  }

  .section {
    padding: 72px 20px;
  }
}
