/* /about/ynakane/ — Profile page specific styles
   matsuri.css + portfolio.css の共通レイアウトに加える、本ページ専用スタイル。 */

/* ========== Hero ========== */
.yn-hero {
  position: relative; overflow: hidden;
  padding: 96px 32px 80px;
}
.yn-hero__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr; gap: 56px;
  align-items: center;
  position: relative; z-index: 1;
}
.yn-hero__photo {
  width: 280px; height: 280px; border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--m-cream);
  box-shadow: 0 12px 32px rgba(26,22,20,0.18);
  background: var(--m-cream);
  justify-self: center;
}
.yn-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.yn-hero__text { display: flex; flex-direction: column; gap: 14px; }
.yn-hero__name {
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 64px);
  letter-spacing: -0.02em; line-height: 1.1;
  margin: 0;
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.yn-hero__name-en {
  font-size: 16px; font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--m-ink-2);
}
.yn-hero__tagline {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--m-ink);
  margin: 4px 0 -10px; line-height: 1.35;
}
.yn-hero__tagline .accent { color: var(--m-red); }
.yn-hero__lede {
  font-size: 15px; line-height: 1.85;
  color: var(--m-ink-2);
  margin: 0;
  max-width: 620px;
}
.yn-hero__lede + .yn-hero__lede { margin-top: 4px; }

/* ========== Hero socials ========== */
.yn-socials {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.yn-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--m-ink-2);
  background: rgba(26,22,20,0.04);
  transition: color 0.15s cubic-bezier(0.22, 1, 0.36, 1), background 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.yn-socials a:hover {
  color: var(--m-red);
  background: rgba(179,29,0,0.08);
}
.yn-socials svg { width: 20px; height: 20px; fill: currentColor; }

/* ========== Career timeline ========== */
.yn-timeline {
  list-style: none; padding: 0;
  max-width: 760px; margin: 0 auto;
  text-align: left;
}
.yn-timeline li {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(26,22,20,0.1);
}
.yn-timeline li:last-child { border-bottom: 1px solid rgba(26,22,20,0.1); }
.yn-timeline__date {
  font-size: 13px; font-weight: 700; line-height: 24px;
  letter-spacing: 0.04em;
  color: var(--m-ink-3);
  font-variant-numeric: tabular-nums;
}
.yn-timeline__org {
  font-weight: 700; font-size: 16px; line-height: 24px;
  color: var(--m-ink);
}
.yn-timeline__role {
  margin-top: 4px;
  font-size: 14px; line-height: 1.6; color: var(--m-ink-2);
}

/* ========== Back CTA ========== */
.yn-back {
  text-align: center; padding: 56px 32px 80px;
}

/* ========== Responsive ========== */
@media (max-width: 760px) {
  .yn-hero { padding: 64px 22px 56px; }
  .yn-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .yn-hero__photo { width: 200px; height: 200px; }
  .yn-hero__name { justify-content: center; }
  .yn-hero__tagline { text-align: center; }
  .yn-hero__lede { text-align: center; }
  .yn-socials { justify-content: center; }

  .yn-timeline li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .yn-timeline__date { font-size: 11px; line-height: 20px; }
}
