.st-profile-wrapper {
  background: #fff;
  color: #333;

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--rootcolor1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--rootcolor1);
    text-transform: uppercase;
    margin-bottom: 20px;
  }
}

/* ── 1. Hero ── */
.st-hero {
  padding: 60px 0 50px;

  .st-hero__inner {
    display: flex;
    gap: 60px;
    align-items: center;
  }

  .st-hero__text {
    flex: 1;
  }

  .st-hero__dept {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--rootcolor2);
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .st-hero__name {
    font-size: 36px;
    font-weight: 800;
    color: var(--rootcolor1);
    margin: 0 0 10px;
    text-transform: uppercase;
  }

  .st-hero__position {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
  }

  .st-hero__bio {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    margin-bottom: 30px;

    p { margin-bottom: 12px; }
  }

  .st-hero__actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .st-hero__photo {
    flex: 0 0 400px;
    max-width: 400px;

    img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      object-fit: cover;
      aspect-ratio: 3 / 4;
      background: #d9d9d9;
    }

    .st-hero__photo-placeholder {
      width: 100%;
      aspect-ratio: 3 / 4;
      background: #d9d9d9;
      border-radius: 12px;
    }
  }

  @media (max-width: 992px) {
    .st-hero__inner { gap: 40px; }
    .st-hero__photo { flex: 0 0 320px; max-width: 320px; }
  }

  @media (max-width: 768px) {
    padding: 40px 0 30px;

    .st-hero__inner {
      flex-direction: column-reverse;
      gap: 30px;
    }

    .st-hero__photo {
      flex: 0 0 100%;
      max-width: 280px;
      margin: 0 auto;
    }

    .st-hero__name { font-size: 28px; }
    .st-hero__bio { text-align: left; }
  }
}

/* ── 2. Milestones ── */
.st-milestones {
  padding: 50px 0 60px;

  .st-milestones__header {
    text-align: center;
    margin-bottom: 40px;

    h2 { margin-bottom: 8px; }
  }

  .st-milestones__quote {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin: 0;
  }

  .st-milestones__grid {
    display: flex;
    gap: 20px;
  }

  .st-milestones__item {
    flex: 1;
    border: 1px solid #c8e6f9;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: left;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    transition: box-shadow 0.3s;

    &:hover {
      box-shadow: 0 4px 20px rgba(0, 173, 238, 0.12);
    }
  }

  .st-milestones__number {
    font-size: 22px;
    font-weight: 800;
    color: var(--rootcolor1);
    line-height: 1.2;
  }

  .st-milestones__label {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
  }

  @media (max-width: 768px) {
    .st-milestones__grid {
      flex-wrap: wrap;
    }

    .st-milestones__item {
      flex: 0 0 calc(50% - 10px);
    }

    .st-milestones__number { font-size: 32px; }
  }

  @media (max-width: 480px) {
    .st-milestones__item {
      flex: 0 0 100%;
    }
  }
}

/* ── 3. Gallery ── */
.st-gallery {
  padding: 50px 0 60px;
  background: #f5f7fa;

  h2 { text-align: center; margin-bottom: 35px; }

  .st-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .st-gallery__item {
    border-radius: 10px;
    overflow: hidden;
    background: #d9d9d9;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      aspect-ratio: 4 / 3;
      display: block;
      transition: transform 0.4s;
    }

    &:hover img { transform: scale(1.05); }
  }

  @media (max-width: 768px) {
    .st-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  }

  @media (max-width: 480px) {
    .st-gallery__grid { grid-template-columns: 1fr; }
  }
}

/* ── 4. Role ── */
.st-role {
  padding: 60px 0 30px;

  .st-role__header {
    text-align: center;
    margin-bottom: 25px;

    h2 { margin-bottom: 8px; }
  }

  .st-role__quote {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin: 0;
  }

  .st-role__intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
  }
}

/* ── 5–7. Direction / Market / Research ── */
.st-direction,
.st-market,
.st-research {
  padding: 40px 0;
}

.st-direction__inner,
.st-market__inner,
.st-research__inner {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.st-direction__content,
.st-market__content,
.st-research__content {
  flex: 1;

  ul {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 18px;

      &:last-child { margin-bottom: 0; }

      i.fa-circle-check {
        color: var(--rootcolor2);
        font-size: 18px;
        margin-top: 2px;
        flex-shrink: 0;
      }

      p {
        margin: 0;
        color: #555;
        font-size: 15px;
        line-height: 1.6;
      }
    }
  }
}

.st-direction__image,
.st-market__image,
.st-research__image {
  flex: 0 0 380px;
  max-width: 380px;

  img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    background: #d9d9d9;
  }
}

@media (max-width: 992px) {
  .st-direction__image,
  .st-market__image,
  .st-research__image {
    flex: 0 0 280px;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .st-direction__inner,
  .st-market__inner,
  .st-research__inner {
    flex-direction: column;
    gap: 30px;
  }

  .st-direction__image,
  .st-market__image,
  .st-research__image {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ── 8. Perspectives / Video Slider ── */
.st-perspectives {
  padding: 60px 0;
  background: #f5f7fa;
  overflow: hidden;

  h2 { text-align: center; margin-bottom: 35px; }

  .st-perspectives__slider {
    overflow: visible;
    padding: 20px 0;
  }

  .swiper-slide {
    transition: transform 0.4s, opacity 0.4s;
    transform: scale(0.82);
    opacity: 0.4;
  }

  .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;

    .st-video-item {
      box-shadow: 0 12px 40px rgba(0, 173, 238, 0.25);
    }

    .st-video-thumb {
      border-color: var(--rootcolor2);
    }
  }

  .swiper-slide-prev,
  .swiper-slide-next {
    opacity: 0.55;
    transform: scale(0.88);
    z-index: 1;
  }
}

.st-video-item {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.4s;
}

.st-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-color: #d9d9d9;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.4s;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
  }
}

.st-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: background 0.3s;
  z-index: 2;
}

.swiper-slide-active .st-play-badge {
  background: var(--rootcolor2);
}

.st-video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 13px;
  color: #fff;
  margin: 0;
  padding: 8px 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  z-index: 2;
}

.st-video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.st-video-popup-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);

  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

.st-video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;

  &:hover {
    transform: scale(1.2);
  }
}

/* ── 9. Connect ── */
.st-connect {
  padding: 60px 0;

  .st-connect__inner {
    display: flex;
    gap: 50px;
    align-items: flex-start;
  }

  .st-connect__photo {
    flex: 0 0 40%;
    max-width: 40%;

    img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      object-fit: cover;
      aspect-ratio: 4 / 5;
      background: #d9d9d9;
    }
  }

  .st-connect__info {
    flex: 1;

    > p {
      font-size: 15px;
      line-height: 1.7;
      color: #555;
      margin: 0 0 30px;
    }
  }

  .st-connect__details {
    h4 {
      font-size: 16px;
      font-weight: 700;
      color: var(--rootcolor1);
      margin: 0 0 15px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
  }

  .st-connect__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;

    i {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--rootcolor2);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
    }
  }

  @media (max-width: 768px) {
    .st-connect__inner {
      flex-direction: column;
      gap: 30px;
    }

    .st-connect__photo {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
}

/* ── 10. Quote ── */
.st-quote {
  padding: 50px 0;
  border-top: 1px solid #eee;

  .st-quote__inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
  }

  .st-quote__mark {
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--rootcolor1);
    line-height: 0.8;
    flex-shrink: 0;
    opacity: 0.6;
  }

  .st-quote__body {
    p {
      font-size: 15px;
      line-height: 1.8;
      color: #555;
      font-style: italic;
      margin: 0 0 15px;
    }
  }

  .st-quote__author-line {
    font-size: 14px;
    color: var(--rootcolor2);

    strong {
      color: var(--rootcolor2);
    }

    span {
      color: #888;
    }
  }

  @media (max-width: 768px) {
    .st-quote__mark { font-size: 50px; }
  }
}

/* ── Milestones 3x2 variant ── */
.st-milestones__grid--3x2 {
  flex-wrap: wrap;

  .st-milestones__item {
    flex: 0 0 calc(33.333% - 14px);
  }
}

@media (max-width: 768px) {
  .st-milestones__grid--3x2 .st-milestones__item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .st-milestones__grid--3x2 .st-milestones__item {
    flex: 0 0 100%;
  }
}

/* ── Gallery 4-col variant ── */
.st-gallery--4col .st-gallery__grid {
  grid-template-columns: repeat(4, 1fr);
}

.st-gallery .st-gallery__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .st-gallery--4col .st-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .st-gallery--4col .st-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Journey ── */
.st-journey {
  padding: 60px 0;

  .st-journey__header {
    text-align: center;
    margin-bottom: 35px;

    h2 { margin-bottom: 8px; }
  }

  .st-journey__subtitle {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin: 0;
  }

  .st-journey__section {
    h3 {
      font-size: 20px;
      font-weight: 700;
      color: var(--rootcolor1);
      text-transform: uppercase;
      margin-bottom: 20px;
    }
  }

  .st-journey__content {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;

    p { margin-bottom: 16px; }
  }
}

/* ── Roles Grid (3 columns) ── */
.st-roles-grid {
  padding: 60px 0;
  background: #f5f7fa;

  h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--rootcolor1);
    text-transform: uppercase;
    margin-bottom: 15px;
  }

  .st-roles-grid__intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: #555;

    p { margin: 0; }
  }

  .st-roles-grid__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .st-roles-grid__col {
    h4 {
      font-size: 16px;
      font-weight: 700;
      color: var(--rootcolor1);
      text-transform: uppercase;
      margin: 20px 0 15px;
    }

    ul {
      list-style: none;
      padding: 0;
      margin: 0;

      li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;

        &:last-child { margin-bottom: 0; }

        i.fa-circle-check {
          color: var(--rootcolor2);
          font-size: 16px;
          margin-top: 3px;
          flex-shrink: 0;
        }

        p {
          margin: 0;
          color: #555;
          font-size: 14px;
          line-height: 1.6;
        }
      }
    }
  }

  .st-roles-grid__img {
    border-radius: 10px;
    overflow: hidden;

    img {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      display: block;
    }

    .st-gallery__placeholder {
      width: 100%;
      aspect-ratio: 4 / 3;
      background: #d9d9d9;
    }
  }

  @media (max-width: 992px) {
    .st-roles-grid__columns { grid-template-columns: 1fr; gap: 40px; }
  }
}
