/* ============================================
   創辦人介紹 — P4
   ============================================ */

.profile-page {
  --profile-body-padding: 60px;
  --profile-header-block: calc(
    var(--content-header-top, 80px) +
    50px +
    var(--content-header-gap, 30px) +
    7px
  );
  --slide-footer-clearance: calc(var(--slide-footer-height) + var(--profile-body-padding));
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
}

.profile-page__sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.profile-page__header {
  position: absolute;
  left: 100px;
  top: var(--content-header-top, 80px);
  display: flex;
  flex-direction: column;
  gap: var(--content-header-gap, 30px);
  z-index: 2;
}

/* --- Icons（Untitled UI 線條，stroke 1.5） --- */

.profile-page__icon {
  flex-shrink: 0;
  overflow: visible;
  color: var(--cover-red, #e22d2a);
}

.profile-page__icon--contact {
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.profile-page__icon--section {
  width: 22px;
  height: 22px;
}

/* --- Body --- */

.profile-page__body {
  position: absolute;
  left: 100px;
  right: 100px;
  top: calc(var(--profile-header-block) + var(--profile-body-padding));
  bottom: var(--slide-footer-clearance);
  display: flex;
  gap: 40px;
  align-items: stretch;
  z-index: 2;
}

.profile-page__card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.profile-page__card--aside {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 28px 24px 24px;
  background: rgba(0, 0, 0, 0.025);
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.profile-page__aside {
  flex: 0 0 408px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.profile-page__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.profile-page__identity {
  margin-top: 20px;
  text-align: center;
}

.profile-page__name {
  margin: 0 0 8px;
  font-family: 'Noto Serif TC', serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  color: #333;
}

.profile-page__role {
  margin: 0;
  font-family: 'Nata Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.5px;
  color: var(--cover-red, #e22d2a);
}

.profile-page__divider {
  width: 48px;
  height: 0;
  margin: 20px auto 0;
  border: none;
  border-top: 3px solid var(--cover-red, #e22d2a);
}

.profile-page__contact {
  margin-top: 20px;
  padding-left: 16px;
  padding-right: 16px;
}

.profile-page__contact .profile-page__section-label {
  margin-bottom: 14px;
}

.profile-page__contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-page__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Nata Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(51, 51, 51, 0.88);
}

.profile-page__contact-list span {
  min-width: 0;
  word-break: break-word;
}

.profile-page__main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 28px;
}

.profile-page__intro {
  margin: 0;
  font-family: 'Nata Sans', sans-serif;
  font-size: var(--content-subtitle-size, 24px);
  font-weight: var(--content-subtitle-weight, 400);
  line-height: var(--content-subtitle-lh, 1.5);
  letter-spacing: var(--content-subtitle-spacing, 0.5px);
  color: var(--content-subtitle-color, #333333);
}

.profile-page__intro strong {
  font-weight: 600;
  color: inherit;
}

.profile-page__intro strong.profile-page__intro-accent {
  color: var(--cover-red, #e22d2a);
}

.profile-page__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.profile-page__highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 0;
  padding: 28px 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.profile-page__highlight-value {
  margin: 0;
  font-family: 'Nata Sans', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--cover-red, #e22d2a);
  font-variant-numeric: tabular-nums;
}

.profile-page__highlight-label {
  margin: 0;
  max-width: 13em;
  font-family: 'Nata Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.4px;
  color: rgba(51, 51, 51, 0.65);
}

.profile-page__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  min-height: 0;
  align-items: stretch;
}

.profile-page__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 28px 32px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.profile-page__section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: 'Nata Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: var(--cover-red, #e22d2a);
  flex-shrink: 0;
}

/* 列點 — 對齊作品集 .portfolio-page__contrib-list */
.profile-page__list {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: disc;
  font-family: 'Nata Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.4px;
  color: rgba(51, 51, 51, 0.65);
}

.profile-page__list li + li {
  margin-top: 8px;
}

.profile-page__list li::marker {
  color: rgba(51, 51, 51, 0.45);
}

.profile-page__list li strong {
  font-weight: 600;
  color: #333;
}
