html {
  font-size: 17px;
}

body {
  font-size: 1rem;
  line-height: 1.65;
}

.intro {
  transform: none;
  margin-top: 0;
}

.intro > h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.intro > h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.navbar-default .navbar-nav > li > a {
  font-size: 0.95rem;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-default .navbar-nav > li.active > a {
  font-weight: 700;
}

main {
  font-size: 1.1rem;
  padding-top: 0;
  max-width: 900px;
}

p,
li {
  font-size: 1rem;
}

.navbar-default .navbar-brand.site-tagline {
  font-size: 0.95rem;
  white-space: nowrap;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .navbar-default .navbar-brand.site-tagline {
    font-size: 0.8rem;
    max-width: 68vw;
  }
}

.intro .profile {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  max-height: 56vh;
  object-fit: cover;
  border-radius: 0;
  margin: 0 0 1.2rem;
  margin-left: 50%;
  transform: translateX(-50%);
  display: block;
}

.homepage-contact {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  text-align: center;
}

.homepage-contact h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  text-transform: lowercase;
}

.homepage-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.homepage-contact li {
  font-size: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit !important;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: none;
  opacity: 0.75;
}

.contact-link-icon {
  width: 18px;
  height: 18px;
  display: block;
}

img[src$="/rainbow_wide_ambleside.jpg"] {
  width: 100vw;
  max-width: none;
  height: auto;
  display: block;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

img[src$="/umbrella_rosie.JPG"] {
  width: 60vw;
  max-width: 60vw;
  height: auto;
  display: block;
  margin-left: calc(50% - 30vw);
  margin-right: calc(50% - 30vw);
}

img[src$="/rosiebenbw.jpg"] {
  width: 32vw;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.bio-era {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1.5rem 0;
}

.bio-thumb {
  width: 115px;
  min-width: 115px;
  height: 115px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin-top: 1rem;
}

.bio-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 767px) {
  .bio-era {
    flex-direction: column;
    gap: 0.75rem;
  }

  .bio-thumb {
    width: 100%;
    max-width: 180px;
    min-width: 0;
    height: auto;
    margin-top: 0.35rem;
  }
}

/* overall page width */
main {
  max-width: 760px;
  margin: 0 auto;
}

/* intro paragraph */
.essay-intro {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-top: 2rem;
  margin-bottom: 4rem;
  color: #333;
}

/* section cards */
.diversity-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* images */
.diversity-image {
  width: 130px;
  height: 130px;

  object-fit: cover;
  border-radius: 50%;

  flex-shrink: 0;

  filter: saturate(85%) contrast(95%);
  opacity: 0.95;

  transition: all 0.3s ease;
}

/* subtle hover effect */
.diversity-image:hover {
  filter: saturate(100%) contrast(100%);
  opacity: 1;
}

/* text area */
.diversity-content {
  flex: 1;
  color: #3a3a3a;
  transition: color 0.2s ease;
}

.diversity-card:hover .diversity-content {
  color: #151515;
}

/* headings */
.diversity-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;

  font-size: 2rem;
  font-weight: 500;
}

/* divider */
.soft-divider {
  border: none;
  border-top: 1px solid #e4e4e0;

  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* mobile */
@media (max-width: 700px) {
  .diversity-card {
    flex-direction: column;
    gap: 1rem;
  }

  .diversity-image {
    width: 90px;
    height: 90px;
  }
}