/* about.css */
.about-hero {
  background: var(--navy) url("../img3/AudioMixer02.jpg") center / cover no-repeat;
}

.about-hero .page-hero-inner {
  min-height: 460px;
}

main > .section:nth-of-type(2),
main > .section:nth-of-type(3),
main > .section:nth-of-type(4),
.message-section,
.humanity-section,
.profile-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.message-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  grid-template-areas: "message photo";
  gap: 56px;
  align-items: center;
}

.message-card {
  grid-area: message;
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid rgba(216, 224, 231, .95);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 24, 39, .11);
}

.message-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--blue-deep);
}

.message-card p {
  color: #313b45;
}

.message-card p + p,
.humanity-text p + p {
  margin-top: 18px;
}

.message-lead {
  color: var(--navy) !important;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
  font-weight: 800;
}

.message-divider {
  width: 100%;
  height: 1px;
  margin: 18px 0;
  background: var(--blue-deep);
}

.message-photo {
  grid-area: photo;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(216, 224, 231, .95);
  border-radius: 30px;
  background: #edf1f4;
  box-shadow: 0 24px 55px rgba(7, 24, 39, .16);
}

.message-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(0, 104, 183, .18);
  border-radius: 22px;
  pointer-events: none;
}

.message-photo img {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  max-width: 300px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(7, 24, 39, .16));
}

.message-caption {
  position: relative;
  z-index: 3;
  margin: 18px 0 0;
  padding: 16px 14px 0;
  border-top: 1px solid rgba(0, 104, 183, .18);
  color: #313b45;
  font-size: 13.5px;
  line-height: 1.7;
  text-align: center;
}

.message-caption span {
  display: block;
}

.message-name {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.humanity-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: var(--navy);
  pointer-events: none;
}

.profile-heading {
  margin-bottom: 28px;
}

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

.profile-timeline {
  margin-top: 0;
}

.profile-timeline .company-row dt {
  color: var(--blue-deep);
}

.map-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(7, 24, 39, .11);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .about-hero .page-hero-inner {
    min-height: auto;
  }

  .message-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "message"
      "photo";
  }
}

@media (max-width: 600px) {
  .message-layout {
    gap: 34px;
  }

  .message-card {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .message-card::before {
    width: 5px;
  }

  .message-photo {
    max-width: 340px;
    padding: 16px;
    border-radius: 24px;
  }

  .message-photo::after {
    inset: 10px;
    border-radius: 18px;
  }

  .message-caption {
    padding-top: 14px;
    font-size: 13px;
  }

  .message-name {
    font-size: 15px;
  }

  .map-frame {
    border-radius: 20px;
  }
}
