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

.message-section {
  overflow: hidden;
}

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

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

.message-photo {
  grid-area: photo !important;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 160, 233, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #edf1f4 52%, #dfe6eb 100%);
  border: 1px solid rgba(216, 224, 231, 0.95);
  box-shadow: 0 24px 55px rgba(7, 24, 39, 0.16);
  isolation: isolate;
}

.message-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(7, 63, 120, 0.10), rgba(6, 16, 29, 0.06), rgba(0, 104, 183, 0.08));
  pointer-events: none;
}

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

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

.message-caption {
  position: relative;
  z-index: 4;
  margin: 18px 0 0;
  padding: 16px 14px 0;
  border-top: 1px solid rgba(0, 104, 183, 0.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;
}

.message-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--blue-deep), var(--black-blue), var(--blue-bright));
}

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

.message-card 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: linear-gradient(90deg, var(--blue-deep), var(--black-blue), var(--blue-bright));
}

.humanity-section {
  position: relative;
  overflow: hidden;
}

.humanity-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--blue-deep), var(--black-blue), var(--blue-bright));
}

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

.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, 0.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-photo {
    max-width: 340px;
    padding: 16px;
    border-radius: 24px;
  }

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

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

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

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

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

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