/* /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, background 0.15s, transform 0.15s;
}
.yn-socials a:hover {
  color: var(--m-red);
  background: rgba(179,29,0,0.08);
  transform: translateY(-2px);
}
.yn-socials svg { width: 20px; height: 20px; fill: currentColor; }

/* ========== Career timeline ========== */
.yn-timeline {
  list-style: none; padding: 0;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column;
  position: relative;
}
.yn-timeline::before {
  content: ""; position: absolute;
  top: 8px; bottom: 8px;
  left: 150px;
  width: 2px;
  background: rgba(179,29,0,0.18);
}
.yn-timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 16px 0;
  position: relative;
}
.yn-timeline li::before {
  content: "";
  position: absolute;
  left: 143px; top: 22px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--m-red);
  border: 3px solid var(--m-cream);
  box-shadow: 0 0 0 1px rgba(179,29,0,0.3);
}
.yn-timeline__date {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--m-red);
  padding-top: 2px;
  text-align: right;
  padding-right: 24px;
}
.yn-timeline__body { padding-left: 24px; }
.yn-timeline__org {
  font-weight: 700; font-size: 16px;
  color: var(--m-ink); margin-bottom: 2px;
}
.yn-timeline__role {
  font-size: 14px; color: var(--m-ink-2); line-height: 1.5;
}

/* ========== 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::before { left: 100px; }
  .yn-timeline li { grid-template-columns: 100px 1fr; gap: 16px; }
  .yn-timeline li::before { left: 93px; }
  .yn-timeline__date { padding-right: 16px; font-size: 11px; }
  .yn-timeline__body { padding-left: 16px; }
}
