/* ============================================================
   people-hero.css — 社員インタビュー ヒーロー（dirbatoスタイル）
   写真モザイクグリッド + ダークオーバーレイ + 大型タイポグラフィ
   2026/04/08: 実写真9枚ベースにリデザイン
   ============================================================ */

/* ---- Section ---- */
.people-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background-color: var(--c-navy-deep, #0D1B2E);
  z-index: var(--z-content, 10);
}

/* ---- Photo Mosaic Grid (Background) ---- */
.people-hero__mosaic {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 8px;
  padding: 0;
  z-index: var(--z-bg, 1);
}

/* 各列（3列構成） */
.people-hero__mosaic-track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 列ごとにずらして配置（非対称感） */
.people-hero__mosaic-track--1 {
  margin-top: -40px;
}
.people-hero__mosaic-track--2 {
  margin-top: -120px;
}
.people-hero__mosaic-track--3 {
  margin-top: -80px;
}

/* 個別写真 */
.people-hero__photo {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.people-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(20%) brightness(0.9);
  transition: filter 0.6s var(--ease-out);
}

.people-hero:hover .people-hero__photo img {
  filter: grayscale(0%) brightness(1);
}

/* ---- Dark Overlay ---- */
.people-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: calc(var(--z-bg, 1) + 1); /* internal: above mosaic, below content */
  background: linear-gradient(
    135deg,
    rgba(13, 27, 46, 0.82) 0%,
    rgba(13, 27, 46, 0.6) 40%,
    rgba(13, 27, 46, 0.45) 100%
  );
  pointer-events: none;
}

/* 下部フェードアウト（次セクションとの接続） */
.people-hero__overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--c-bg, #FFFFFF));
  pointer-events: none;
}

/* ---- Content Layer ---- */
.people-hero__content {
  position: relative;
  z-index: var(--z-content, 10);
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 120px;
}

.people-hero__inner {
  max-width: var(--s-container, 1200px);
  margin: 0 auto;
  padding: 0 var(--s-gutter, 32px);
  width: 100%;
}

/* ---- Breadcrumb ---- */
.people-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-label, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.people-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.people-hero__breadcrumb a:hover {
  color: var(--c-gold, #C9A84C);
}

.people-hero__breadcrumb-sep {
  font-size: 0.65rem;
  opacity: 0.4;
}

/* ---- Decorative PEOPLE text ---- */
.people-hero__deco {
  font-family: var(--f-heading-en, 'Barlow Condensed', sans-serif);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.12);
  margin: 0 0 -20px;
  user-select: none;
  pointer-events: none;
}

/* ---- Title ---- */
.people-hero__title {
  font-family: var(--f-heading-ja, 'Noto Serif JP', serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

/* ---- Subtitle ---- */
.people-hero__subtitle {
  font-family: var(--f-body, 'Noto Sans JP', sans-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin: 0;
  max-width: 480px;
}

/* ---- Scroll Indicator ---- */
.people-hero__scroll {
  position: absolute;
  bottom: 40px;
  right: var(--s-gutter, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.people-hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-gold, #C9A84C), transparent);
  animation: people-hero-scroll-pulse 2s ease-in-out infinite;
}

.people-hero__scroll-label {
  font-family: var(--f-label, 'Inter', sans-serif);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-rl;
}

@keyframes people-hero-scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .people-hero__content {
    padding-bottom: 100px;
  }

  .people-hero__deco {
    font-size: clamp(3rem, 10vw, 7rem);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .people-hero {
    min-height: 90vh;
  }

  /* モバイル: 2列に変更 + 3列目非表示 */
  .people-hero__mosaic {
    gap: 6px;
  }

  .people-hero__mosaic-track--3 {
    display: none;
  }

  .people-hero__mosaic-track--1 {
    margin-top: -20px;
  }

  .people-hero__mosaic-track--2 {
    margin-top: -60px;
  }

  .people-hero__photo {
    border-radius: 3px;
  }

  .people-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 27, 46, 0.5) 0%,
      rgba(13, 27, 46, 0.85) 60%,
      rgba(13, 27, 46, 0.95) 100%
    );
  }

  .people-hero__content {
    align-items: flex-end;
    padding-bottom: 80px;
  }

  .people-hero__deco {
    font-size: 3.2rem;
    margin-bottom: -10px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  }

  .people-hero__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 16px;
  }

  .people-hero__subtitle {
    font-size: 0.85rem;
  }

  .people-hero__scroll {
    display: none;
  }
}

/* Small phone */
@media (max-width: 480px) {
  .people-hero {
    min-height: 85vh;
  }

  .people-hero__content {
    padding-bottom: 60px;
  }

  .people-hero__breadcrumb {
    margin-bottom: 16px;
  }

  .people-hero__deco {
    font-size: 2.5rem;
  }
}
