/* CV shares Privacy's contents panel while retaining its date-first references. */
.clean-about .about-grid{align-items:stretch;column-gap:clamp(40px,5vw,80px)}
.clean-about .about-copy{display:flex;flex-direction:column;justify-content:flex-start;gap:24px;min-width:0;font-size:clamp(15px,1.15vw,17px);line-height:1.5;letter-spacing:0}
.clean-about .about-hero{margin:0;font-family:'Archivo Black','Arial Black',sans-serif;font-size:clamp(23px,1.9vw,28px);font-weight:400;line-height:1.3;letter-spacing:-.025em;color:var(--ink);text-wrap:pretty}
.about-details p+p{margin-top:14px}
@media(max-width:767px){
 .clean-about .about-copy{gap:24px;font-size:16px;line-height:1.55}
 .clean-about .about-hero{font-size:23px}
 .about-details p+p{margin-top:18px}
}
.about-cv{--privacy-sticky-top:100px;margin-block:0 64px;scroll-margin-top:20px}
.about-cv-toggle{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding-block:16px;border-block:1px solid var(--line);font-size:24px;font-weight:500;letter-spacing:-.025em;list-style:none;cursor:pointer}
.about-cv-toggle::-webkit-details-marker{display:none}
.about-cv-icon{flex:none;color:#fff}
.about-cv-icon path{transform-box:fill-box;transform-origin:center;transition:transform .2s ease,opacity .2s ease}
.about-cv[open] .about-cv-icon-top{transform:translateY(6px) rotate(45deg)}
.about-cv[open] .about-cv-icon-middle{opacity:0}
.about-cv[open] .about-cv-icon-bottom{transform:translateY(-6px) rotate(-45deg)}
@media(prefers-reduced-motion:reduce){.about-cv-icon path{transition:none}}
.about-cv-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-block:32px}
.about-cv-heading h2{font-size:32px;font-weight:500;line-height:1.2;letter-spacing:-.035em}
.cv-layout{padding-top:32px}
.about-cv-heading+.cv-layout{padding-top:0}
.cv-content .cv-section{display:block;border:0;padding-top:0;margin-bottom:54px;scroll-margin-top:max(0px,calc(var(--privacy-sticky-top,100px) - 100px))}
.cv-content .cv-section>h2{max-width:none;font-size:24px;line-height:1.3;text-transform:uppercase;margin-bottom:24px}
.cv-content .cv-row{display:block;padding:0;margin-bottom:22px;font-size:18px;line-height:1.7;overflow-wrap:anywhere}
.cv-content .cv-row p{margin:0}
.cv-content .cv-row strong{font-weight:700}
.cv-content .cv-row a{text-decoration:underline;text-underline-offset:3px}
.cv-content .cv-notes{max-width:none;font-size:18px;line-height:1.7;margin-bottom:0}
.cv-content .cv-notes h2{scroll-margin-top:max(0px,calc(var(--privacy-sticky-top,100px) - 100px))}
@media(max-width:767px){
 .about-cv{margin-bottom:40px}
 .about-cv-toggle{font-size:22px;min-height:60px}
 .about-cv-heading{align-items:center;flex-wrap:wrap;gap:16px;padding-block:24px}
 .about-cv-heading h2{font-size:28px}
 .cv-layout{padding-top:24px}
 .cv-content .cv-section{margin-bottom:38px}
 .cv-content .cv-section>h2{font-size:21px;line-height:1.4;margin-bottom:20px}
 .cv-content .cv-row,.cv-content .cv-notes{font-size:16px;line-height:1.65}
 .cv-content .cv-row{margin-bottom:20px}
}
@media print{
 .about-page>.page-intro,.about-page>.about-grid{display:none!important}
 .about-cv{margin:0}
 .about-cv-toggle,.cv-toc,.about-cv .print-cv{display:none!important}
 .about-cv-heading{display:block;padding:0 0 22px}
 .about-cv-heading h2{font-size:24pt}
 .cv-layout{display:block;padding:0}
 .cv-content .cv-section{margin-bottom:24px}
 .cv-content .cv-section>h2{font-size:14pt;margin-bottom:12px;break-after:avoid}
 .cv-content .cv-row,.cv-content .cv-notes{font-size:10pt;line-height:1.5}
 .cv-content .cv-row{margin-bottom:10px;break-inside:avoid}
}
/* Open shared-source CV, followed by the independent historical project archive. */
.general-cv{padding-top:16px;margin-bottom:64px;scroll-margin-top:0;border-top:1px solid var(--line)}
.general-cv .about-cv-heading h2,.general-cv-section h2{font-family:'Archivo Black','Arial Black',sans-serif;font-weight:400}
.general-cv-content{max-width:850px}
.general-cv-section{border-top:1px solid var(--line);padding-block:32px;scroll-margin-top:100px;font-size:21px;line-height:1.6;letter-spacing:-.015em;overflow-wrap:anywhere}
.general-cv-section h2{font-size:28px;line-height:1.25;letter-spacing:-.025em;margin-bottom:20px}
.general-cv-section p{margin-bottom:16px}
.general-cv-section .cv-entry{margin-bottom:24px}
.general-cv-section .cv-entry-title{margin-bottom:5px}
.general-cv-section .cv-role{color:var(--muted);font-size:15px;margin-bottom:12px}
.general-cv-section ul,.general-cv-section ol{padding-left:22px;margin-bottom:18px}
.general-cv-section li+li{margin-top:10px}
.general-cv-section a{text-decoration:underline;text-underline-offset:3px}
.general-cv-section .cv-entry:last-child{margin-bottom:0}
.cv-download{white-space:nowrap}
/* Keep the label centered inside its touch target, including enhanced word spans. */
.about-cv-heading .cv-download.has-inline-action{display:inline-flex;align-items:center;gap:.25em}
@media(max-width:767px){.general-cv{margin-bottom:40px}.general-cv-section{font-size:18px;line-height:1.65;padding-block:24px}.general-cv .about-cv-heading h2{font-size:26px}.general-cv-section h2{font-size:25px}}
@media print{.project-archive{display:none!important}.cv-download{display:none!important}.general-cv{margin:0}.general-cv-section{font-size:10pt}.general-cv-section h2{font-size:14pt}}
.cv-content .archive-period{color:var(--muted);font-size:.85em;margin-bottom:4px}

.general-cv-layout{padding-top:8px}
.general-cv-content{max-width:850px}
.general-cv-section:first-child{border-top:0;padding-top:0}
.cv-contact p{font-size:16px;line-height:1.55;margin-bottom:22px}
.cv-contact .text-link{display:flex;align-items:center;justify-content:space-between;font-size:var(--cta-panel-size);font-weight:400;gap:8px;padding:12px;min-height:48px;background:#222;border-radius:3px}
.contact-label-cv-mobile{display:none}
@media(min-width:600px) and (max-width:1023px){.cv-contact{max-width:400px}}
@media(max-width:599px){.cv-contact{display:none}.cv-contact-pill .contact-label-default{display:none}.cv-contact-pill .contact-label-cv-mobile{display:inline}.site-header .cv-contact-pill{color:var(--accent)}}
@media print{.general-cv-layout{display:block}.cv-contact{display:none!important}}

/* One contents/contact panel stays alongside the whole CV and project archive. */
.about-document-layout{--privacy-sticky-top:100px;margin-bottom:64px}
.about-document-content{min-width:0;width:100%;max-width:850px;justify-self:start}
.about-document-content .general-cv{border-top:0;padding-top:0;margin-bottom:0}
.about-document-content .about-cv-heading{padding-top:0;padding-bottom:32px}
.about-page-floater{font-family:Inter,Arial,sans-serif}
.about-page-floater .cv-contact-action{padding-bottom:0;margin:-20px -20px 20px;border-bottom:0}
.about-page-floater .cv-contact-action .text-link{display:flex;width:100%;white-space:nowrap;font-size:var(--cta-panel-size);min-height:52px;color:var(--accent);border:0;background:#262626}
.about-page-floater .cv-contact-action .text-link svg{flex:none}
.about-page-toc a[aria-current="location"]{color:var(--accent);background:#303030}
.about-document-content .general-cv-section{scroll-margin-top:0}
.about-grid{scroll-margin-top:0}
.project-group{margin:0;scroll-margin-top:0}
.project-group .about-cv-toggle{border-bottom:0;padding-block:24px;min-height:80px;gap:20px}
.project-group:last-child:not([open]) .about-cv-toggle{border-bottom:1px solid var(--line)}
.project-group .about-cv-toggle h2{font-family:'Archivo Black','Arial Black',sans-serif;font-size:28px;font-weight:400;line-height:1.25;letter-spacing:-.025em;margin:0}
.project-group-content{padding:8px 0 28px}
.project-group-content .cv-row:last-child{margin-bottom:0}
@media(max-width:767px){.about-document-layout{margin-bottom:40px}.project-group .about-cv-toggle h2{font-size:25px}.project-group .about-cv-toggle{padding-block:20px;min-height:72px}}
@media print{.about-document-layout{display:block}.about-page-floater{display:none!important}}
.about-page-floater .cv-contact-action .text-link>span:not(.ocean-spray){font-size:inherit;line-height:1.4;white-space:nowrap}

@media(min-width:1024px){
 .about-page-floater .cv-contact-action{padding-bottom:0;margin:0;border-bottom:0}
 .about-page-floater .cv-contact-action .text-link{min-height:44px;padding:12px 14px;font-size:16px;border-radius:3px 3px 0 0;background:#262626}
 .about-page-toc a[aria-current="location"]{color:var(--ink);background:#444}
}

/* Project dates form a clear white column beside the description. */
.project-group-content{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:10px}
.project-group-content .cv-row{display:grid;grid-template-columns:subgrid;grid-column:1/-1;align-items:start;column-gap:10px}
.project-group-content .archive-period{color:#fff;font-size:16px;line-height:1.5;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.archive-entry{min-width:0}
.archive-entry p+p{margin-top:12px}
@media(max-width:767px){
 .project-group-content,.project-group-content .cv-row{column-gap:8px}
 .project-group-content .archive-period{font-size:15px}
}

/* Reveal the desktop panel once the introduction clears its navigation gap. */
.about-page-floater .cv-download-action{margin-top:16px;border-top:1px solid var(--line)}
.about-page-floater .cv-download-action .cv-download,.about-page-floater .cv-download-action .cv-download.has-inline-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;font-size:14px}
.about-page-floater .cv-download-action .cv-download.has-inline-action{justify-content:flex-start;gap:.25em}
@media(min-width:1024px) and (scripting:enabled){
 .about-page-floater{visibility:hidden;pointer-events:none}
 .about-page-floater.is-before-document{position:fixed;right:var(--floater-right);width:var(--sticky-panel-width,236px)}
 .about-page-floater.is-sticky-visible{visibility:visible;pointer-events:auto;transform-origin:50% 0;animation:popup-pop-in var(--popup-enter-duration) var(--popup-enter-ease) both}
}
@media(prefers-reduced-motion:reduce){.about-page-floater.is-sticky-visible{animation:none}}

.cv-download .action-icon path{transform:rotate(90deg);transform-origin:16px 16px}

/* Narrow screens retain the document's date-first order without squeezing entries. */
@media screen and (max-width:1023px){
 .cv-page{padding-top:100px}
 .cv-page>.general-cv{padding-top:0}
 .cv-page .about-cv-heading h1{font-size:38px;line-height:1.15}
 .about-cv-heading>h2,.about-cv-heading>h1{min-width:0;overflow-wrap:anywhere}
 .clean-about .about-portrait{min-width:0}
}
@media screen and (max-width:599px){
 .cv-page{padding-top:88px}
 .cv-page .about-cv-heading h1{font-size:32px}
}
@media screen and (max-width:479px){
 .project-group-content{display:block}
 .project-group-content .cv-row{display:block}
 .project-group-content .archive-period{margin-bottom:8px;white-space:normal}
 .project-group .about-cv-toggle h2{font-size:23px}
 .about-cv-heading{gap:12px}
 .about-cv-heading .cv-download{gap:10px}
}

/* Clear screen hierarchy for the CV and its project sections. */
@media screen{
 .clean-about .general-cv-section .cv-role{color:#fff;margin-top:18px}
 .general-cv .about-cv-heading :is(h1,h2){font-size:clamp(36px,3.5vw,48px);line-height:1.15}
 .general-cv-section h2,.project-group .about-cv-toggle h2{font-size:clamp(28px,2.5vw,36px);line-height:1.25;text-wrap:pretty}
 .general-cv-section .cv-entry-title{font-size:clamp(21px,1.8vw,25px);line-height:1.35;margin-bottom:10px;text-wrap:pretty}
 .project-group .about-cv-toggle h2{min-width:0;overflow-wrap:anywhere}
}
