/* Helen Bailey Psychotherapy — shared site styles */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: rgb(77, 77, 77);
  background: rgb(211, 211, 211);
  -webkit-font-smoothing: antialiased;
}
main { display: block; background: #fff; }
a { color: inherit; }
img { max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
  background: rgb(77, 77, 77);
  padding: 20px 40px;
  text-align: center;
}
.site-title {
  margin: 0;
  padding: 16px 0 9px;
  font-weight: 400;
  font-size: 48px;
  line-height: 66px;
  color: #fff;
}
.site-title a { text-decoration: none; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 15px 6.8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.site-nav li {
  display: flex;
  align-items: center;
  font-size: 15px;
}
.site-nav li:not(:last-child)::after {
  content: "|";
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.site-nav a {
  display: block;
  padding: 0 20px;
  color: rgb(211, 211, 211);
  text-decoration: none;
  letter-spacing: .03em;
  white-space: nowrap;
}
.site-nav a span {
  display: inline-block;
  padding: calc(.2em + 2px) 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.site-nav a.active span,
.site-nav a:hover span { border-bottom-color: currentColor; }
.site-nav a.active { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.hero--fixed { background-attachment: fixed; }
.hero--overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .13;
}
.hero--contain {
  height: 520px;
  background-color: rgb(13, 13, 13);
  background-size: contain;
}

/* ---------- Divider ---------- */
.divider {
  width: 70px;
  height: 3px;
  margin: 0 auto;
  background: rgb(199, 199, 199);
}

/* ---------- Home content ---------- */
.intro-divider {
  position: relative;
  margin: -17px auto 18px;
  z-index: 1;
}
.content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px 37px;
}
.content p {
  margin: 0 0 27.2px;
  line-height: 1.7em;
}
.content p:last-child { margin-bottom: 0; }

/* ---------- Inner pages ---------- */
.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 40px 60px;
}
.page-title {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.25;
  text-align: center;
  color: rgb(63, 62, 62);
}
.page-title + .divider { margin-bottom: 40px; }
.page-body p { margin: 0 0 16px; line-height: 1.2; }
.page-body p:last-child { margin-bottom: 0; }
.page-body--airy p { margin-bottom: 24px; line-height: 1.5; }
.page-body--center { text-align: center; }
.page-body + .divider { margin-top: 24px; }

/* ---------- About: intro band ---------- */
.profile {
  background: linear-gradient(90deg, #fafafa 0%, #ebebeb 45%, #d6d6d6 100%);
  padding: 20px 40px 40px;
}
.profile__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 35px;
  align-items: flex-start;
}
.profile__aside {
  flex: 0 0 225px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
}
.profile__photo {
  width: 174px;
  height: 218px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
}
.btn-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 225px;
  min-height: 65px;
  margin-top: 50px;
  border-radius: 50px;
  background: rgb(125, 125, 125);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
}
.btn-dark:hover { color: rgb(211, 211, 211); }
.profile__name {
  margin: 0;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 700;
}
.profile__subtitle {
  margin: 4px 0 24px;
  font-size: 25px;
  font-weight: 700;
}
.profile__text p {
  margin: 0 0 21px;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.35;
}
.profile__text p:last-child { margin-bottom: 0; }

/* ---------- About: affiliations band ---------- */
.affiliations {
  background: linear-gradient(180deg, #a9a9a9 0%, #b8b8b8 100%);
  padding: 25px 40px 90px;
}
.affiliations__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.affiliations h3 {
  margin: 0 0 45px;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.35;
  color: rgb(77, 77, 77);
}
.affiliations p { margin: 0 0 16px; line-height: 1.2; }
.affiliations .logo { display: inline-block; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgb(63, 62, 62);
  padding: 50px 40px 60px;
  text-align: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  max-width: 100%;
  min-height: 74px;
  padding: 10px 7px;
  border-radius: 50px;
  background: rgb(211, 211, 211);
  color: rgb(77, 77, 77);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
}
.btn:hover { color: rgb(125, 125, 125); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero--fixed { background-attachment: scroll; }
}
@media (max-width: 767px) {
  .site-header { padding: 20px 16px; }
  .site-title { font-size: 34px; line-height: 1.2; padding: 6px 0 14px; }
  .site-nav ul { padding: 0; row-gap: 6px; }
  .site-nav a { padding: 0 10px; }
  .hero { height: 260px; }
  .hero--contain { height: 280px; }
  .content, .page { padding-left: 16px; padding-right: 16px; }
  .page-title { font-size: 36px; }
  .profile { padding: 30px 16px; }
  .profile__inner { flex-direction: column; align-items: center; gap: 30px; }
  .profile__aside { flex: none; padding-top: 0; }
  .profile__name, .profile__subtitle { text-align: center; }
  .profile__name { font-size: 34px; }
  .profile__subtitle { font-size: 22px; }
  .affiliations { padding: 40px 16px 50px; }
  .affiliations__inner { grid-template-columns: 1fr; gap: 50px; }
  .affiliations h3 { font-size: 32px; margin-bottom: 20px; }
  .site-footer { padding: 40px 16px 50px; }
}
