/* Minimal one-column profile layout for the home and CV pages.
   Uses the colour tokens from site.css, so light and dark themes both work. */
.prof { max-width: 800px; margin: 0 auto; padding: 40px 16px 64px; }
.prof h1.name { font-size: 40px; font-weight: 300; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
.prof h1.name b { font-weight: 700; }
.prof .tagline { color: var(--ink-3); margin: 6px 0 0; font-size: 16px; }
.prof .top { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; }
.prof .photo { flex: none; width: 132px; height: 132px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft, #e8eefc); color: var(--brand); font-size: 52px; font-weight: 700; border: 1px solid var(--line); object-fit: cover; }
.prof .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.prof .links a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 14.5px; }
.prof .links a:hover { color: var(--link); text-decoration: none; }
.prof .links svg { width: 18px; height: 18px; fill: currentColor; }
.prof .bio p { font-size: 16px; line-height: 1.75; margin: 22px 0 0; }
.prof h2 { font-size: 22px; font-weight: 400; color: var(--brand); text-transform: lowercase; margin: 44px 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.prof .news { display: grid; grid-template-columns: 92px 1fr; gap: 10px 18px; margin: 0; }
.prof .news dt { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.prof .news dd { margin: 0; }
.prof .item { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.prof .item:last-child { border-bottom: 0; }
.prof .item .head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; align-items: baseline; }
.prof .item h3 { font-size: 16.5px; margin: 0; }
.prof .item .when { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.prof .item .where { color: var(--ink-2); font-style: italic; margin: 2px 0 0; }
.prof .item p { margin: 6px 0 0; color: var(--ink-2); }
.prof .item ul { margin: 6px 0 0; padding-left: 20px; color: var(--ink-2); }
.prof .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.prof .tag { font-size: 12.5px; border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 8px; color: var(--ink-2); }
.prof .more { display: inline-flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; }
.prof .skills { display: grid; grid-template-columns: 170px 1fr; gap: 8px 18px; margin: 0; }
.prof .skills dt { font-weight: 600; }
.prof .skills dd { margin: 0; color: var(--ink-2); }
.prof .foot { margin-top: 48px; color: var(--ink-3); font-size: 13.5px; }
@media (max-width: 640px) {
  .prof { padding-top: 24px; }
  .prof .top { flex-direction: column-reverse; gap: 16px; }
  .prof .photo { width: 96px; height: 96px; font-size: 38px; }
  .prof h1.name { font-size: 32px; }
  .prof .news, .prof .skills { grid-template-columns: 1fr; gap: 2px; }
  .prof .news dd, .prof .skills dd { margin-bottom: 10px; }
}
@media print {
  site-header, site-footer, .noprint { display: none !important; }
  body { background: #fff; color: #000; font-size: 12px; }
  .prof { padding: 0; max-width: none; }
  .prof h2 { margin-top: 20px; color: #000; }
  .prof a { color: #000; }
}

/* Two-column home (2026-11-03): main work on the left, news, writing and education on the right.
   Falls back to one column under 960px. */
.prof.wide { max-width: 1180px; padding-top: 28px; padding-bottom: 40px; }
.prof.wide .top { align-items: center; }
.prof.wide .photo { width: 104px; height: 104px; }
.prof.wide h1.name { font-size: 34px; }
.prof .cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0 48px; align-items: start; }
.prof .cols .bio p:first-child { margin-top: 14px; }
.prof .side-col { position: sticky; top: 80px; }
.prof .side-col h2:first-child, .prof .main-col .bio + h2 { margin-top: 22px; }
.prof.wide h2 { font-size: 19px; margin: 26px 0 6px; padding-bottom: 4px; }
.prof.wide .bio p { font-size: 15.5px; line-height: 1.65; margin-top: 10px; }
.prof.wide .item { padding: 10px 0; }
.prof.wide .item p { font-size: 14.5px; margin-top: 4px; }
.prof .side-col .news { grid-template-columns: 70px 1fr; gap: 6px 12px; font-size: 14px; }
.prof .side-col .news dt { font-size: 13px; }
.prof .side-col .item h3 { font-size: 15px; }
.prof .side-col .item p { font-size: 13.5px; }
.prof .side-col .item .when { font-size: 13px; }
.prof .side-col .item .where { font-size: 13.5px; }
.prof.wide .foot { margin-top: 28px; }
@media (max-width: 960px) {
  .prof .cols { grid-template-columns: 1fr; }
  .prof .side-col { position: static; }
}

/* CV page */
.cvp .cv-top { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.cvp .cv-meta { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.cvp .links { margin-top: 10px; }
.cvp .cols { grid-template-columns: minmax(0, 1fr) 340px; }
.cvp .side-col { position: static; }
.cvp .cv-sum { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 6px 0 0; }
.cvp .item ul { font-size: 14.5px; }
.cvp .item ul li + li { margin-top: 3px; }
.cvp .cv-skills { margin: 4px 0 0; font-size: 13.5px; }
.cvp .cv-skills dt { font-weight: 600; margin-top: 8px; }
.cvp .cv-skills dd { margin: 2px 0 0; color: var(--ink-2); }
.cvp .cv-list { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.cvp .cv-list li + li { margin-top: 4px; }
.cvp .cv-note { font-size: 13.5px; color: var(--ink-2); margin: 4px 0 0; }
.cvp .side-col .item { padding: 7px 0; }
@media print {
  .cvp .cols { grid-template-columns: minmax(0, 1fr) 230px; gap: 0 22px; }
  .cvp h2 { font-size: 13px; margin: 12px 0 4px; text-transform: uppercase; letter-spacing: .05em; }
  .cvp .item { padding: 4px 0; border: 0; }
  .cvp .item ul, .cvp .cv-sum { font-size: 10.5px; line-height: 1.4; }
  .cvp .cv-skills, .cvp .cv-list, .cvp .cv-note, .cvp .side-col .where { font-size: 9.5px; }
  .cvp .links, .home-search { display: none; }
}
@media (max-width: 960px) { .cvp .cols { grid-template-columns: 1fr; } }
.prof h1.name { overflow-wrap: anywhere; }
