/* Chairman: preserve the supplied portrait, including its original 2:3 framing. */
.wis-team-page .wis-chairman {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: 32px;
  margin-bottom: 48px;
  border: 1px solid var(--wis-line-strong);
  border-radius: var(--wis-radius);
  background: var(--wis-paper);
  scroll-margin-top: 112px;
}
.wis-team-page .wis-chairman-photo { margin: 0; }
.wis-team-page .wis-chairman-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.wis-team-page .wis-chairman-content { min-width: 0; }
.wis-team-page .wis-chairman-content .section-label { margin-bottom: 20px; }
.wis-team-page .wis-chairman h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.25; margin: 0; }
.wis-team-page .wis-chairman-english { font-size: clamp(22px, 2.4vw, 30px); color: var(--wis-muted); margin: 8px 0 0; }
.wis-team-page .wis-chairman-roles { border-top: 1px solid var(--wis-gray); padding-top: 24px; margin: 28px 0; }
.wis-team-page .wis-chairman-roles p { font-size: 15px; line-height: 1.7; color: var(--wis-muted); margin: 0 0 16px; }
.wis-team-page .wis-chairman-roles strong { display: block; font-size: 20px; font-weight: 500; color: var(--wis-navy); }
@media (max-width: 650px) {
  .wis-team-page .wis-chairman { grid-template-columns: 1fr; gap: 28px; padding: 22px; margin-bottom: 36px; }
  .wis-team-page .wis-chairman-photo { width: min(100%, 280px); margin-inline: auto; }
  .wis-team-page .wis-chairman h2 { font-size: 36px; }
}

/* Keep Roland's original composition intact in the homepage previews. */
.wis-person-teaser .wis-portrait-frame--original img {
  object-fit: contain;
  mask-image: none;
  transform: none;
}
.wis-mini-portrait--original { border-radius: 0; }
.wis-mini-portrait--original img { object-fit: contain; mask-image: none; }

/* Homepage only: original RGB and matching alpha share the native 2:3 box. */
body.home-light:not(.wis-team-page) img.wis-roland-home {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  mask-image: url(assets/team/masks/roland-wayne-original-alpha-20261025.png);
  mask-mode: alpha;
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  transform-origin: center top;
}
body.home-light:not(.wis-team-page) .wis-portrait-frame img.wis-roland-home {
  transform: translateY(-4.7%) scale(1.28);
}
body.home-light:not(.wis-team-page) .wis-mini-portrait img.wis-roland-home {
  transform: translateY(-10.5%) scale(1.28);
}
@media (min-width: 901px) {
  .wis-team-page .wis-team-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
