/* ==========================================================
   People page styles
   ========================================================== */

/* DIRECTOR */
.director { background: var(--bg); }
.director-inner {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.director-photo { position: relative; }
.director-photo .img-placeholder {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  border: 10px solid var(--surface);
  box-shadow: var(--shadow-hover);
  transform: rotate(-1.5deg);
  min-height: auto;
}
.director-tag {
  position: absolute; right: -20px; bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  font-size: 13.5px; color: var(--accent-ink);
  transform: rotate(2deg);
}
.director-text p {
  color: var(--ink-soft); font-size: 15.5px; line-height: 2.0;
  margin: 0 0 18px;
}
.director-text .sign {
  color: var(--accent-ink); font-size: 18px;
  margin-top: 28px; letter-spacing: 0.04em;
}

/* WELLBEING */
.wellbeing { background: var(--bg-2); }
.wellbeing-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.wellbeing-head .lede { margin-left: auto; margin-right: auto; }
.well-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.well-stat {
  background: var(--surface);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.well-num {
  font-size: 52px; font-weight: 500;
  color: var(--accent-ink); line-height: 1; letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.well-num span { font-size: 18px; color: var(--accent); margin-left: 4px; font-weight: 400; }
.well-label {
  font-size: 13px; color: var(--ink); font-weight: 600;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  margin-bottom: 14px; letter-spacing: 0.04em;
}
.well-stat p { font-size: 13px; color: var(--ink-soft); line-height: 1.8; margin: 0; }

.well-commit {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line-soft);
}
.well-commit h3 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 22px; margin: 0 0 24px; letter-spacing: 0.05em;
  padding-bottom: 16px; border-bottom: 1px dashed var(--line);
}
.commit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.commit-list li {
  font-size: 15px; line-height: 1.9; color: var(--ink);
  padding-left: 8px;
}
.commit-list li .hand { color: var(--accent); margin-right: 8px; font-size: 18px; }

/* STAFF */
.staff { background: var(--bg); }
.staff-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.staff-head .lede { margin-left: auto; margin-right: auto; }
.staff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.staff-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.staff-card:hover, .staff-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.staff-photo {
  aspect-ratio: 4/5;
  border-radius: 0;
  transition: transform 0.5s;
}
.staff-card:hover .staff-photo, .staff-card:focus-within .staff-photo { transform: scale(1.04); }
.staff-info {
  padding: 22px 24px 26px;
  transition: opacity 0.3s;
}
.staff-role {
  font-size: 11.5px; letter-spacing: 0.1em; color: var(--accent-ink);
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 8px;
}
.staff-info h3 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 22px; margin: 0 0 6px; letter-spacing: 0.06em;
}
.staff-cert { font-size: 13px; color: var(--ink-soft); }

.staff-hover {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--accent-ink) 70%, transparent) 0%,
    var(--accent-ink) 100%);
  color: #FFFCF7;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 28px;
  opacity: 0;
  transition: opacity 0.35s;
}
.staff-card:hover .staff-hover, .staff-card:focus-within .staff-hover { opacity: 1; }
.staff-hover p {
  font-family: "Noto Serif JP", serif;
  font-size: 16px; line-height: 1.9; margin: 0 0 24px;
  letter-spacing: 0.04em;
}
.staff-extras {
  display: flex; gap: 24px; padding-top: 20px;
  border-top: 1px dashed color-mix(in oklab, white 40%, transparent);
}
.staff-extras div { display: flex; flex-direction: column; }
.staff-extras b {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 22px;
}
.staff-extras span { font-size: 11px; opacity: 0.8; letter-spacing: 0.1em; }

/* CROSS */
.cross { background: var(--bg-2); }
.cross-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cross-diagram {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin: 0 auto;
  color: var(--accent);
}
.cross-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.node {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 13px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-soft);
  z-index: 1;
  min-width: 80px;
}
.node b { font-family: "Noto Serif JP", serif; font-weight: 500; color: var(--ink); }
.node span { font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.08em; margin-top: 2px; }
.node--center {
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--accent); color: #FFFCF7;
  border-color: var(--accent);
  padding: 18px 20px;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  width: 90px; height: 90px; border-radius: 50%;
  justify-content: center;
  line-height: 1.5;
}
.node--ns { top: 4%; left: 50%; transform: translateX(-50%); }
.node--pt { top: 24%; right: 2%; }
.node--ot { bottom: 24%; right: 2%; }
.node--cm { bottom: 4%; left: 50%; transform: translateX(-50%); }
.node--dr { top: 24%; left: 2%; }
.node--fa { bottom: 24%; left: 2%; }

/* RECRUIT */
.recruit { background: var(--bg); }
.recruit-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.recruit-head .lede { margin-left: auto; margin-right: auto; }
.recruit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.recruit-job {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.25s;
}
.recruit-job:hover { transform: translateY(-3px); }
.job-tag {
  display: inline-block; align-self: flex-start;
  background: var(--bg-2); color: var(--accent-ink);
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 11.5px; letter-spacing: 0.08em;
  font-family: "JetBrains Mono", monospace;
}
.recruit-job h3 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 22px; margin: 0; letter-spacing: 0.04em;
}
.job-list { margin: 0; display: grid; grid-template-columns: 60px 1fr; row-gap: 10px; column-gap: 12px; }
.job-list dt {
  font-size: 12px; color: var(--ink-muted); letter-spacing: 0.1em;
  padding-top: 2px;
  font-family: "JetBrains Mono", monospace;
}
.job-list dd { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.7; }

.recruit-cta {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 32px; align-items: center;
}
.recruit-cta-copy h3 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 0 10px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.recruit-cta-copy p { color: var(--ink-soft); font-size: 14.5px; margin: 0; line-height: 1.9; }
.recruit-cta-btns { display: flex; flex-direction: column; gap: 10px; }

/* Responsive */
@media (max-width: 960px) {
  .director-inner { grid-template-columns: 1fr; }
  .director-photo { max-width: 400px; margin: 0 auto; }
  .well-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .cross-inner { grid-template-columns: 1fr; }
  .recruit-grid { grid-template-columns: 1fr; }
  .recruit-cta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .well-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .staff-hover { opacity: 1; background: linear-gradient(180deg, transparent 40%, var(--accent-ink) 100%); }
}
