.page--head { padding-top: 120px; padding-bottom: 64px; }
.head__line { display: flex; justify-content: space-between; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.head__title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.04em; line-height: 1; font-weight: 500; max-width: 24ch; }
.head__title em { font-style: italic; color: var(--accent); font-weight: 400; }

.section { padding: var(--pad-section) var(--pad-page); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 48px; }
.section__title { font-weight: 500; letter-spacing: -0.025em; font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 48px); line-height: 1.05; max-width: 22ch; }

.bio-grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.portrait { position: sticky; top: 100px; }
.portrait__art { aspect-ratio: 4/5; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.portrait__caption { margin-top: 12px; font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .1em; }

.bio .lead { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 28px; font-weight: 500; }
.bio p { font-size: 17px; line-height: 1.7; color: var(--ink-muted); margin-bottom: 20px; }
.bio p strong { color: var(--ink); font-weight: 600; }
.bio p em { font-style: italic; color: var(--ink); }
.bio__quote {
  font-family: 'Source Serif 4', serif; font-style: italic; font-size: 22px; line-height: 1.5;
  padding: 28px 0 0; margin-top: 32px; border-top: 1px solid var(--line);
  color: var(--ink); max-width: 44ch;
}
.bio__quote::before { content: "\201C"; font-size: 48px; color: var(--accent); vertical-align: -10px; margin-right: 4px; }

@media (max-width: 900px) {
  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { position: static; max-width: 320px; }
}

/* Principles */
.principles { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 48px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principles > div { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); transition: background var(--dur) var(--ease); }
.principles > div:hover { background: var(--bg-elev); }
.principles__n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .1em; margin-bottom: 48px; }
.principles__t { font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 12px; }
.principles__d { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }
@media (max-width: 1100px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.tl-row { display: grid; grid-template-columns: 100px 60px 1fr; gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tl-row:last-child { border-bottom: none; }
.tl-year { font-family: var(--font-mono); font-size: 14px; color: var(--ink-faint); padding-top: 4px; letter-spacing: .06em; }
.tl-row--current .tl-year { color: var(--accent); font-weight: 500; }
.tl-line { position: relative; height: 100%; min-height: 40px; display: flex; justify-content: center; }
.tl-line::before { content: ""; position: absolute; top: 0; bottom: -32px; width: 1px; background: var(--line); }
.tl-row:last-child .tl-line::before { display: none; }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); margin-top: 8px; z-index: 1; position: relative; }
.tl-row--current .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent); }
.tl-role { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.015em; font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
.tl-company { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.tl-notes { font-size: 15px; color: var(--ink-muted); line-height: 1.55; max-width: 60ch; }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.skills__col ul { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.skills__col ul li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; transition: color var(--dur) var(--ease); }
.skills__col ul li:hover { color: var(--accent); }
.skills__col ul li::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-subtle); transition: background var(--dur) var(--ease); }
.skills__col ul li:hover::after { background: var(--accent); }
@media (max-width: 900px) { .skills { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .skills { grid-template-columns: 1fr; } }

/* Open source */
.oss-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px;
}
.oss {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  transition: all var(--dur) var(--ease);
  position: relative;
}
.oss:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px color-mix(in oklch, var(--ink) 40%, transparent);
}
.oss__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase;
}
.oss__kind { color: var(--accent); }
.oss__lang { color: var(--ink-faint); }
.oss__repo {
  font: 500 17px var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.3;
  word-break: break-word;
}
.oss__owner { color: var(--ink-faint); font-weight: 400; font-size: 14px; }
.oss__desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; flex: 1; }
.oss__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--ink-faint); letter-spacing: .5px;
}
.oss__arrow { transition: transform var(--dur) var(--ease); color: var(--ink-muted); }
.oss:hover .oss__arrow { transform: translate(2px, -2px); color: var(--accent); }
@media (max-width: 1000px) { .oss-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .oss-grid { grid-template-columns: 1fr; } }

/* Now */
.now { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; position: relative; overflow: hidden; }
.now::before { content: ""; position: absolute; top: 0; left: 0; width: 300px; height: 300px; background: radial-gradient(circle at top left, color-mix(in oklab, var(--accent) 35%, transparent), transparent 70%); }
.now__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.now__list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; align-items: baseline; }
.now__k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
@media (max-width: 800px) {
  .now { grid-template-columns: 1fr; }
  .now__list li { grid-template-columns: 1fr; gap: 4px; }
}
