/* ═══════════════════════════════════════════════════════════════
   style.css — bio page
   ═══════════════════════════════════════════════════════════════ */

@import url('../assets/fonts.css');
@import url('../assets/tokens.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'AllianzNeo', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
}

/* ── Layout ── */
.page { max-width: 760px; margin: 0 auto; padding: 64px 40px 100px; }

@media (max-width: 480px) {
  .page { padding: 40px 20px 80px; }
}

/* ── Back link ── */
.back {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--muted); font-size: 0.9rem;
  margin-bottom: 48px; transition: color 0.2s;
}
.back:hover,
.back:focus-visible { color: var(--accent); outline: none; }

/* ── Header ── */
header { margin-bottom: 48px; }

h1.name {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.15; margin-bottom: 8px;
}
.nickname { font-weight: 300; }

.role {
  font-size: 1.05rem; color: var(--muted);
  font-weight: 300; margin-bottom: 20px;
}

.header-links { display: flex; gap: 10px; flex-wrap: wrap; }
.header-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); text-decoration: none; font-size: 0.82rem;
  transition: border-color 0.2s, color 0.2s;
}
.header-link:hover,
.header-link:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }

/* ── Sections ── */
section { margin-bottom: 52px; }

.section-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--accent); margin-bottom: 20px;
}

/* ── Bio body ── */
.bio-body { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; }
.bio-body p { margin-bottom: 16px; }
.bio-body p:last-child { margin-bottom: 0; }
.bio-body strong { color: var(--text); font-weight: 600; }

/* ── Skills ── */
.skill-groups { display: flex; flex-direction: column; gap: 14px; }
.skill-group-label {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 4px 12px; border-radius: 100px; font-size: 0.78rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.tag-blue   { background: rgba(14,165,233,0.12); color: var(--accent);  border: 1px solid rgba(14,165,233,0.25); }
.tag-purple { background: rgba(99,102,241,0.12); color: var(--indigo);  border: 1px solid rgba(99,102,241,0.25); }
.tag-green  { background: rgba(16,185,129,0.12); color: var(--accent3); border: 1px solid rgba(16,185,129,0.25); }
.tag-warn   { background: rgba(245,158,11,0.12); color: var(--warn);    border: 1px solid rgba(245,158,11,0.25); }

/* ── Timeline ── */
.timeline { display: flex; flex-direction: column; gap: 32px; }

.timeline-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 26px;
}

.timeline-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}

.timeline-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.timeline-org   { font-size: 0.88rem; color: var(--muted); }
.timeline-period { font-size: 0.82rem; color: var(--muted); white-space: nowrap; padding-top: 2px; }

.timeline-projects { display: flex; flex-direction: column; gap: 16px; }

.project-item {
  padding: 14px 16px;
  background: var(--surface2); border-radius: 8px;
  border-left: 3px solid var(--border);
}
.project-item:hover { border-left-color: var(--accent); }

.project-name  { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.project-meta  { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.project-desc  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 8px; }
.project-stack { font-size: 0.78rem; color: var(--accent); font-family: monospace; letter-spacing: 0.02em; }

/* ── Awards ── */
.awards-grid { display: flex; flex-direction: column; gap: 10px; }

.award-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
}

.award-year {
  font-size: 0.82rem; font-weight: 700; color: var(--accent);
  min-width: 36px; padding-top: 1px;
}

.award-name { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.award-org  { font-size: 0.82rem; color: var(--muted); }

/* ── Education ── */
.edu-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 24px;
}
.edu-degree { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.edu-school { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 4px; }
.edu-meta   { font-size: 0.82rem; color: var(--muted); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding-top: 28px; margin-top: 64px;
  font-size: 0.8rem; color: var(--muted);
}
