/* Profile page: components that the shared landing layout does not provide. Loaded only on /prof-dr-mark-harwardt. */
.seo-profile .seo-lead { max-width: 70ch }
.seo-profile .seo-band > .section-inner > h2 { max-width: 28ch }

/* Key figures under the hero */
.seo-stats { background: var(--plum-900); border-top: 1px solid rgba(224,198,143,.35) }
.seo-stats .section-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) }
.seo-stats .section-inner > div { padding: 28px 24px; border-left: 1px solid rgba(224,198,143,.3) }
.seo-stats .section-inner > div:first-child { border-left: 0; padding-left: 0 }
.seo-stats strong { display: block; font-size: 1.9rem; line-height: 1.2; color: var(--gold-300); letter-spacing: -.02em }
.seo-stats span { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.5; color: var(--on-dark) }

/* At-a-glance box */
.seo-glance { padding: 32px; background: var(--paper); border-top: 3px solid var(--gold-500) }
.seo-glance dl { margin: 0 }
.seo-glance dl > div { padding: 14px 0; border-bottom: 1px solid #cfc3d6 }
.seo-glance dl > div:last-child { border-bottom: 0; padding-bottom: 0 }
.seo-glance dt { font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #70501F }
.seo-glance dd { margin: 4px 0 0; font-size: .95rem; line-height: 1.6; color: var(--ink) }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-glance .seo-kicker { margin-bottom: 14px }

/* Career timeline */
.seo-cv-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 8px }
.seo-timeline { list-style: none; margin: 0; padding: 0 }
.seo-timeline li { position: relative; padding: 0 0 30px 30px; border-left: 2px solid #d9c9a3 }
.seo-timeline li:last-child { border-left-color: transparent; padding-bottom: 8px }
.seo-timeline li::before { content: ""; position: absolute; left: -8px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-500); border: 3px solid var(--paper) }
.seo-tl-period { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #70501F }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-timeline h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.4 }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-timeline p { margin: 0 0 6px; font-size: .9rem; line-height: 1.6; color: var(--ink-soft) }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-timeline p.seo-tl-org { font-weight: 600; color: var(--plum-950) }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-cert { margin: 8px 0 0; padding: 20px 22px; background: #faf8fb; border: 1px solid #ded4e3; font-size: .9rem; line-height: 1.6 }
.seo-cert strong { display: block; margin-bottom: 4px; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: #70501F }

/* Books */
.seo-book-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 36px 0 12px }
.seo-book-card { display: flex; flex-direction: column; gap: 22px; padding: 26px; background: #fff; border: 1px solid #ded4e3; border-top: 4px solid var(--gold-500); box-shadow: 0 12px 32px rgba(33,19,40,.07) }
.seo-book-card img { display: block; width: auto; max-width: 100%; height: 230px; margin: 0 auto; object-fit: contain; box-shadow: 0 8px 22px rgba(33,19,40,.22) }
.seo-book-card > div { display: flex; flex-direction: column; flex: 1 }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-book-card h3 { margin: 0 0 6px; font-size: 1.2rem }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-book-card p { font-size: .9rem; line-height: 1.6; margin: 0 0 12px }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-book-card .seo-book-card-meta { margin: 0 0 10px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #70501F }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-book-card .seo-book-card-sub { color: var(--ink-soft); font-weight: 600 }
.seo-book-card .text-link { margin-top: auto; padding-top: 6px }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-subhead { margin: 44px 0 14px; font-size: 1.1rem; letter-spacing: 0; color: var(--plum-950) }
.seo-book-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #b7acbd }
.seo-book-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 240px); gap: 8px 24px; align-items: start; padding: 18px 0; border-bottom: 1px solid #cfc3d6 }
.seo-book-year { font-size: .95rem; font-weight: 700; color: #70501F }
.seo-book-row strong { display: block; font-size: 1rem; line-height: 1.45; color: var(--plum-950) }
.seo-book-row span { display: block }
.seo-book-sub { margin-top: 2px; font-size: .88rem; line-height: 1.5; color: var(--ink-soft) }
.seo-book-role { margin-top: 4px; font-size: .8rem; color: #70501F }
.seo-book-meta { font-size: .8rem; line-height: 1.6; color: var(--ink-soft) }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-book-meta a { display: inline-block; margin-top: 4px; min-height: 24px; color: var(--plum-900); text-decoration: underline; text-underline-offset: 4px }
.seo-articles { margin-top: 44px; border-top: 1px solid #b7acbd; border-bottom: 1px solid #b7acbd }
.seo-articles summary { position: relative; padding: 20px 34px 20px 0; font-size: 1rem; font-weight: 600; line-height: 1.6; color: var(--plum-950); cursor: pointer; list-style: none }
.seo-articles summary::-webkit-details-marker { display: none }
.seo-articles summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 1.5rem; font-weight: 400; color: #70501F }
.seo-articles[open] summary::after { content: "\2212" }
.seo-articles ul { list-style: none; margin: 0; padding: 0 0 18px }
.seo-articles li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 24px; padding: 10px 0; font-size: .9rem; line-height: 1.6; color: var(--ink-soft); border-top: 1px solid #ded4e3 }
.seo-articles li span { font-weight: 700; color: #70501F }

/* Talks */
.seo-talk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; align-items: stretch }
.seo-talk-grid .seo-workshop-card { display: flex; flex-direction: column }
.seo-talk-grid .seo-workshop-card .button { margin-top: auto }
.seo-talk-grid .seo-workshop-card ul { margin: 6px 0 26px }
.draft-ten.draft-v4 .site-shell .seo-profile .seo-talk-grid .seo-kicker { margin-bottom: 8px }
.seo-appear { margin-bottom: 0 !important }
.seo-appear li strong { display: block; font-size: .95rem; color: var(--plum-950) }
.seo-appear li span { display: block; margin-top: 2px; color: var(--ink-soft) }

@media (max-width: 960px) {
 .seo-cv-grid { gap: 40px }
 .seo-book-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
 .seo-book-row { grid-template-columns: 56px minmax(0, 1fr); }
 .seo-book-meta { grid-column: 2 }
}
@media (max-width: 760px) {
 .seo-stats .section-inner { grid-template-columns: repeat(2, minmax(0, 1fr)) }
 .seo-stats .section-inner > div { padding: 22px 16px }
 .seo-stats .section-inner > div:nth-child(odd) { border-left: 0; padding-left: 0 }
 .seo-stats .section-inner > div:nth-child(n+3) { border-top: 1px solid rgba(224,198,143,.3) }
 .seo-stats strong { font-size: 1.5rem }
 .seo-cv-grid, .seo-talk-grid, .seo-book-cards { grid-template-columns: 1fr }
 .seo-glance { padding: 26px }
 .seo-book-row { grid-template-columns: 1fr; gap: 4px }
 .seo-book-meta { grid-column: auto }
 .seo-articles li { grid-template-columns: 1fr; gap: 2px }
 .seo-book-card img { height: 200px }
}
