﻿.about-page {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.about-intro {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.about-eyebrow {
  margin: 0 0 10px;
  color: #4f7c6d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-intro h1 {
  margin: 0 0 22px;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
}

.about-lead {
  margin: 0;
  color: #4b5d55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.75;
}

.about-copy {
  display: grid;
  gap: 20px;
  margin-bottom: 64px;
}

.about-section {
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid #dce5e1;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(31, 55, 46, 0.06);
}

.about-section h2,
.gallery-heading h2 {
  margin: 0 0 12px;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
}

.about-section p {
  margin: 0;
  color: #3d5048;
  font-size: 1.02rem;
  line-height: 1.8;
}

.credentials-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.credentials-copy {
  min-width: 0;
}

.gallery-heading {
  margin-bottom: 24px;
  text-align: center;
}

.gallery-heading h2 {
  font-size: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(960px, 100%);
  margin: 0 auto;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce5e1;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 55, 46, 0.1);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 14px 18px;
  color: #3d5048;
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-feature-photo,
.about-interlude-photo {
  width: min(680px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 7px 22px rgba(31, 55, 46, 0.1);
}

.about-feature-photo img,
.about-interlude-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-services-action {
  margin-top: 42px;
  text-align: center;
}

.about-services-button {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid #245a4a;
  border-radius: 7px;
  color: #ffffff;
  background: #245a4a;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.about-services-button:hover,
.about-services-button:focus-visible {
  background: #173f33;
  transform: translateY(-1px);
}

.about-footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 28px;
  width: min(1040px, calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto 24px;
  padding: 18px 24px;
  border-top: 1px solid #dce5e1;
  border-radius: 8px;
  color: #667970;
  background: #eeeeee;
  font-size: 0.82rem;
  text-align: right;
}

.about-footer p {
  margin: 0;
}

@media (max-width: 520px) {
  .about-footer {
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 720px) {
  .about-page {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .about-section {
    padding: 24px 22px;
  }

  .credentials-section {
    grid-template-columns: 1fr;
    justify-items: center;
  }

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

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

  .gallery-card img {
    height: auto;
    max-height: 260px;
  }
}





.qualifications-section {
  padding: 34px 32px;
}

.qualifications-heading {
  margin-bottom: 24px;
  text-align: center;
}

.qualifications-heading h2 {
  margin-bottom: 0;
}

.qualifications-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 30px;
  align-items: center;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.education-card {
  padding: 16px 18px;
  background: #f5f9f7;
  border: 1px solid #dce8e3;
  border-radius: 9px;
}

.education-card .degree-year {
  margin: 0 0 5px;
  color: #4f7c6d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.education-card h3 {
  margin: 0 0 6px;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.education-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.education-card .school-name {
  margin-top: 8px;
  color: #4f625a;
  font-weight: 700;
}

.qualifications-headshot {
  display: block;
  width: 220px;
  height: 280px;
  border: 5px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(31, 55, 46, 0.16);
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 800px) {
  .qualifications-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .education-grid {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .qualifications-section {
    padding: 28px 22px;
  }
}

.licenses-section {
  padding: 34px 32px;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-item {
  padding: 22px;
  background: #f5f9f7;
  border: 1px solid #dce8e3;
  border-radius: 9px;
}

.credential-item--featured {
  grid-column: 1 / -1;
  background: #eaf3ef;
  border-color: #bfd4cb;
}

.credential-item h3 {
  margin: 0 0 8px;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.35;
}

.credential-item p {
  margin: 0;
  color: #4b5d55;
  font-size: 0.94rem;
  line-height: 1.55;
}

.credential-item .license-number {
  margin-top: 8px;
  color: #245a4a;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (max-width: 650px) {
  .licenses-section {
    padding: 28px 22px;
  }

  .credentials-list {
    grid-template-columns: 1fr;
  }

  .credential-item--featured {
    grid-column: auto;
  }
}

