/* =============================================
   HUMAN PORTFOLIOS page — /human-portfolios
   ============================================= */

/* HEADER */
.hp-header {
  background: var(--navy-deep);
  color: white;
  padding: 140px clamp(24px, 6vw, 80px) clamp(60px, 8vw, 100px);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hp-kicker {
  font-family: var(--font-display-en);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.hp-header h1 {
  font-family: var(--font-display-jp);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  color: white;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
html[lang="en"] .hp-header h1 {
  font-family: var(--font-display-en);
  font-style: italic;
  font-weight: 500;
}
.hp-lead {
  font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  margin-bottom: 32px;
}
.hp-create-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(196, 154, 56, 0.4);
  padding: 10px 24px;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.hp-create-link:hover {
  background: rgba(196, 154, 56, 0.1);
  border-color: var(--gold);
}

/* OUTER CONTAINER */
.hp-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(60px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* SECTION HEADER */
.hp-section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.hp-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.hp-section-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(26, 26, 26, 0.35);
  margin-left: auto;
}

/* ---- LIVE GRID 公開中 ---- */
.hp-items-live {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ---- WIP GRID 構築中 ---- */
.hp-items-wip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* ---- CARD BASE ---- */
.hp-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 3px;
  overflow: hidden;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hp-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.hp-card--wip {
  background: #FAFAFA;
}

/* ---- THUMBNAIL ---- */
.hp-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F0F2F5;
  flex-shrink: 0;
}
.hp-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.hp-card:hover .hp-card-thumb img {
  transform: scale(1.04);
}
.hp-card--wip .hp-card-thumb img {
  filter: grayscale(0.3) opacity(0.9);
}

/* ---- INFO 公開中 ---- */
.hp-card-info {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-card-name {
  font-family: var(--font-display-jp);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-card-tagline {
  font-size: 11px;
  color: rgba(26, 26, 26, 0.5);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[lang="en"] .hp-card-tagline {
  font-family: var(--font-display-en);
  font-style: italic;
}

/* ---- INFO 構築中 ---- */
.hp-card-info--sm {
  padding: 8px 10px;
  gap: 2px;
}
.hp-card-info--sm .hp-card-name {
  font-size: 11px;
}
.hp-card-info--sm .hp-card-tagline {
  font-size: 10px;
  -webkit-line-clamp: 1;
  line-height: 1.5;
}

/* ---- BADGE ---- */
.hp-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 2px;
  margin-top: 4px;
  width: fit-content;
}
.hp-badge--live {
  background: rgba(196, 154, 56, 0.1);
  color: var(--gold);
  border: 1px solid rgba(196, 154, 56, 0.28);
}
.hp-badge--wip {
  background: rgba(26, 26, 26, 0.04);
  color: rgba(26, 26, 26, 0.35);
  border: 1px solid rgba(26, 26, 26, 0.1);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hp-items-live { grid-template-columns: repeat(3, 1fr); }
  .hp-items-wip  { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .hp-items-live { grid-template-columns: repeat(2, 1fr); }
  .hp-items-wip  { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
  .hp-items-wip  { grid-template-columns: repeat(2, 1fr); }
}
