/* Project journey */
.research-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 12px;list-style:none;margin:24px 0 17px;padding:0}
.research-timeline li{border-top:1px solid var(--line);padding-top:9px;font-size:11px;color:var(--muted)}
.research-timeline li>span{display:block;font:10px var(--mono);color:var(--accent);margin-bottom:7px}

/* Reconstructed hybrid workflow */
.refined-flow{max-width:340px;margin:22px auto 17px}
.flow-phase{font:10px/1.6 var(--mono);letter-spacing:.5px;color:var(--accent);margin-bottom:10px}
.flow-group ol{list-style:none;display:grid;gap:10px;padding:0;margin:0}
.flow-group li{display:flex;align-items:center;gap:12px;background:var(--paper);border:1px solid #e0e3ea;border-radius:7px;padding:10px 12px;position:relative}
.flow-group li+li:before{content:'';position:absolute;left:25px;top:-11px;height:10px;border-left:1px solid #bdc2cf}
.step-number{font:10px var(--mono);color:var(--accent);background:var(--soft);padding:7px;border-radius:4px;flex-shrink:0}
.flow-group strong{font-size:12px;font-weight:500;display:block}
.flow-group small{font-size:11px;line-height:1.5;display:block;color:var(--muted);margin-top:2px}
.phase-connector{display:block;text-align:center;color:#9d99b6;height:29px;line-height:29px}
.rpa-group .flow-phase{color:#75609c}
.rpa-group .step-number{color:#75609c;background:#f2eef7}
.visual-caption{font-size:11px}

/* Visitor-controlled conceptual segmentation */
.segmentation .cluster-plot{height:225px;margin-top:16px}
.segmentation .cluster{top:17%;width:30%;height:56%;transform:translateX(-50%);transition:left .4s ease;pointer-events:none}
.segmentation .cluster.a{border-color:#a49de4;background:#5047dc05}
.segmentation .cluster.b{border-color:#8dbdb7;background:#1a807705}
.segmentation .cluster.c{border-color:#c6ac94;background:#8e643e05}
.segmentation .data-dot{height:6px;width:6px;opacity:.9;transition:left .4s ease,top .4s ease,background-color .4s ease}
.group-legend{display:flex;gap:20px;justify-content:center;font-size:11px;color:#696379;margin-bottom:22px}
.group-legend span{display:flex;align-items:center;gap:6px}
.group-legend i{width:6px;height:6px;border-radius:50%;display:inline-block}
.group-a{background:#994c40}.group-b{background:#1a8077}.group-c{background:#8e643e}
.overlap-label{display:flex;justify-content:space-between;font-size:11px;color:#696379;gap:16px}
.overlap-label output{font-family:var(--mono);color:var(--accent)}
#overlap{width:100%;margin:10px 0 17px;accent-color:var(--accent);cursor:ew-resize;min-height:24px}
#overlap:focus-visible{outline:3px solid var(--accent);outline-offset:4px;border-radius:3px}
.segment-description{font-size:12px;min-height:3em;color:#565165}
.demo-disclaimer{font-size:11px;color:#696379;margin-top:8px;padding-top:11px;border-top:1px solid #dedbed}
.plot-label{font-size:11px}

/* Source-ratio collage. Each row uses the images' intrinsic width/height ratios. */
.photo-collage{width:100%;min-width:0}
.collage-row{display:grid;gap:12px;align-items:start}
.row-one{grid-template-columns:minmax(0,.8fr) minmax(0,1.507537688fr)}
.row-two{grid-template-columns:minmax(0,1.015228426fr) minmax(0,.8fr);margin-top:12px}
.photo-column .photo-collage img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;border-radius:3px;filter:none}
.photo-column .photo-collage figcaption{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:14px;font:10px/1.6 var(--mono)}
.photo-column .photo-collage figcaption>span+span{font:11px/1.6 'DM Sans',Arial,sans-serif}

.approach{padding-top:0}
@media(max-width:680px){.research-timeline{gap:17px 10px}.refined-flow{margin-top:19px}.flow-phase{font-size:9px}.group-legend{gap:16px}.segmentation .cluster-plot{height:225px}.photo-column{max-width:none}.collage-row{gap:9px}.row-two{margin-top:9px}}
@media(prefers-reduced-motion:reduce){.segmentation .data-dot,.segmentation .cluster{transition:none}}

/* Simultaneous views of the same illustrative customers. */
.cluster-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.cluster-panel{min-width:0}
.cluster-panel figcaption{display:flex;flex-direction:column;gap:3px;margin:0}
.cluster-panel figcaption strong{font-size:12px;font-weight:500}
.cluster-panel figcaption span{font-size:11px;color:#696379}
.cluster-comparison .cluster-plot{height:175px;margin:12px 0 9px;overflow:hidden}
.cluster-panel>p{font-size:11px;line-height:1.5;color:#696379;min-height:3em}
.segmentation .data-dot{width:5px;height:5px}
.hard-boundary{position:absolute;top:8%;bottom:8%;border-left:1px dashed #b3adc9;transition:left .4s ease}
.cluster-comparison .cluster{top:16%;height:63%;width:38%}
.group-legend{margin-top:17px;margin-bottom:20px}
.overlap-endpoints{display:flex;justify-content:space-between;font-size:11px;color:#696379;margin-top:-10px;margin-bottom:17px}
.segment-description{min-height:0}
@media(max-width:680px){.cluster-comparison{gap:12px}.cluster-comparison .cluster-plot{height:160px}.cluster-panel figcaption strong{font-size:11px}.cluster-panel figcaption span,.cluster-panel>p{font-size:11px}.segmentation .data-dot{width:4px;height:4px}}
@media(prefers-reduced-motion:reduce){.hard-boundary{transition:none}}

/* A quiet, connected process diagram. Ordered content remains readable without CSS. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.process-loop{padding-top:7px}
.process-stages{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0}
.process-stages li{position:relative;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:22px;min-width:0}
.process-number{font:11px var(--mono);color:var(--accent)}
.process-stages h3{font-size:19px;line-height:1.3;letter-spacing:-.4px;margin:15px 0 11px}
.process-stages p{font-size:13px;color:var(--muted);line-height:1.6}
.process-stages li:not(:last-child):after{content:'→';position:absolute;right:-25px;top:50%;transform:translateY(-50%);width:24px;text-align:center;font-size:18px;color:#8e88bc}
.loop-return{position:relative;height:44px;margin:0 calc((100% - 72px)/8);border:1px solid #c7c3e2;border-top:0;border-radius:0 0 12px 12px}
.loop-return:before{content:'';position:absolute;left:-4px;top:-1px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:6px solid #8e88bc}
.loop-return>span{position:absolute;left:50%;bottom:-10px;transform:translateX(-50%);background:var(--bg);padding:0 12px;white-space:nowrap;color:var(--muted);font-size:11px}
.mobile-loop-note{display:none}
.segmentation .cluster-panel>p{min-height:0}
.segmentation .overlap-label{margin-top:23px}
.segmentation .demo-disclaimer{padding-top:10px;margin-top:2px}
@media(max-width:680px){
 .process-stages{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:'frame prd' 'refine prototype';gap:36px 22px}
 .process-stages li{padding:17px 14px}
 .process-stages h3{font-size:16px;margin:11px 0 9px}
 .process-stages p{font-size:12px}
 .process-stages li:nth-child(1){grid-area:frame}
 .process-stages li:nth-child(2){grid-area:prd}
 .process-stages li:nth-child(3){grid-area:prototype}
 .process-stages li:nth-child(4){grid-area:refine}
 .process-stages li:nth-child(1):after{right:-23px;width:22px}
 .process-stages li:nth-child(2):after{content:'↓';top:auto;bottom:-32px;right:calc(50% - 12px);transform:none;width:24px;height:28px}
 .process-stages li:nth-child(3):after{content:'←';left:-23px;right:auto;width:22px}
 .process-stages li:nth-child(4):after{content:'↑';position:absolute;top:-32px;left:calc(50% - 12px);width:24px;height:28px;text-align:center;font-size:18px;color:#8e88bc}
 .loop-return{display:none}
 .mobile-loop-note{display:block;margin-top:22px;font-size:11px;color:var(--muted);text-align:center}
}

/* Minimal default state, with one optional explanation for the selected stage. */
.process-stages li{padding:0;border:0;background:transparent}
.stage-button{position:relative;display:block;width:100%;height:100%;min-height:158px;padding:22px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);transition:border-color .15s ease,background .15s ease}
.stage-button:hover{border-color:#bcb9d9}
.stage-button[aria-expanded=true]{border-color:var(--accent);background:#fcfbff}
.stage-title{display:block;font-size:19px;line-height:1.3;letter-spacing:-.4px;margin-top:17px}
.stage-hint{display:block;font-size:11px;color:var(--muted);margin-top:9px}
.stage-plus{position:absolute;top:17px;right:19px;color:#8982b3;font-size:17px}
.process-detail{margin-top:32px;padding:22px 0 0;border-top:1px solid var(--line)}
.process-detail[hidden]{display:none}
.process-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:11px}
.process-detail-heading h3{font-size:17px;letter-spacing:-.3px}
.process-detail-heading button{padding:6px 0 6px 12px;border:0;background:transparent;color:var(--muted);font-size:12px;min-height:36px}
.process-detail-heading button span{margin-left:10px}
.process-detail>p{max-width:760px;font-size:14px;color:var(--muted)}

/* Infographic-inspired two-dimensional clusters, on a lighter surface. */
.project-visual.segmentation,.project-visual.automation,.agent-workflow{background:#edf1f6;border:1px solid #d7dfe7}
.plot-axes{position:relative;margin-top:12px;padding-left:15px;padding-bottom:18px}
.cluster-comparison .cluster-plot{height:175px;margin:0;overflow:hidden;border-left:1px solid #c6cbd3;border-bottom:1px solid #c6cbd3;background-image:none}
.axis-y,.axis-x{position:absolute;font-size:9px;color:var(--muted);pointer-events:none}
.axis-y{left:-18px;top:43%;transform:rotate(-90deg)}
.axis-x{bottom:0;left:50%;transform:translateX(-50%)}
.partition-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.partition-lines path{stroke:#bdc4ce;stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}
.cluster-comparison .cluster{width:63%;height:64%;transform:translate(-50%,-50%);border:0;transition:left .4s ease,top .4s ease}
.segmentation .cluster.a{background:#2665cb20}
.segmentation .cluster.b{background:#2e916524}
.segmentation .cluster.c{background:#714bbb20}
.segmentation .demo-disclaimer{border-top-color:var(--line);color:var(--muted)}
.research-proof span:first-child{max-width:420px;line-height:1.65}
.research-focus{font-size:13px!important;margin:19px 0;color:var(--muted)}
.study-context{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:center;margin:14px 0 22px}
.study-context svg{width:150px;height:150px}
.study-context circle{fill-opacity:.36}
.study-context text{font:11px 'DM Sans',Arial,sans-serif;fill:#1e3a60}
.study-context figcaption{font:11px/1.6 'DM Sans',Arial,sans-serif;margin:0;color:var(--muted)}
.study-context ul{margin:0;padding-left:15px;display:grid;gap:4px}
@media(max-width:680px){.stage-button{padding:17px 14px;min-height:139px}.stage-title{font-size:16px;margin-top:13px}.stage-plus{right:13px;top:12px}.stage-hint{font-size:11px}.process-detail{margin-top:22px}.process-detail>p{font-size:13px}.process-detail-heading button{min-height:44px}.cluster-comparison .cluster-plot{height:150px}.study-context{grid-template-columns:150px 1fr;gap:8px}.study-context svg{width:150px;height:150px}}
@media(prefers-reduced-motion:reduce){.stage-button,.cluster-comparison .cluster{transition:none}}

/* Work and experience branding stays attached to the corresponding role. */
.project-brand{display:flex;align-items:center;gap:12px;min-height:42px}
.brand-mark{display:block;width:42px;height:42px;object-fit:contain;flex-shrink:0;padding:5px;border:1px solid var(--line);border-radius:7px;background:white}
.brand-mark.covestro-mark{background:#242932;padding:4px}
.brand-mark.wordmark-mark{width:52px;padding:5px}
.brand-role{font-size:11px;color:var(--muted);margin-top:4px}
.experience-brand{display:flex;align-items:center;gap:10px}
.experience-brand .brand-mark{width:34px;height:34px;padding:4px}
.experience-brand .wordmark-mark{width:44px}
.experience-brand>span{min-width:0}
.experience-row .experience-brand+p{margin-top:10px}

/* Numbered markers map each research circle to its label. */
.study-context .venn-marker circle{fill:#fff;fill-opacity:1;stroke:#6686ae;stroke-width:.7}
.study-context .venn-marker text{text-anchor:middle;font:15px 'DM Sans',Arial,sans-serif;fill:#264a78}
.study-context ol{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.study-context li{display:flex;align-items:flex-start;gap:7px;font-size:11px}
.venn-key{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #b3c3d8;border-radius:50%;font-size:11px;color:#264a78;flex-shrink:0;background:#fff}

/* Workflow motion is a one-time explanation, with explicit visitor controls. */
.refined-flow li{transition:opacity .3s ease,transform .3s ease,border-color .3s ease}
.refined-flow li.is-waiting{opacity:0;transform:translateY(7px)}
.refined-flow li.is-current{border-color:#aca5df}
.workflow-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.workflow-controls[hidden]{display:none}
.workflow-controls button{min-height:36px;padding:7px 11px;border:1px solid #d7dae3;border-radius:5px;background:#fff;font-size:11px;color:#565e6c}
.workflow-controls>span{margin-left:auto;color:var(--muted);font:10px var(--mono)}
@media(max-width:680px){.project-brand{gap:10px}.project-brand .project-meta{font-size:9px}.ai-overview{min-height:330px}.ai-lanes{gap:26px;margin:32px 0}.ai-lane{gap:5px;grid-template-columns:1fr 16px 1fr}.ai-lane>span{font-size:11px;padding:13px 6px}.experience-brand{gap:8px}.experience-brand .wordmark-mark{width:38px}.experience-row .experience-brand+p{margin-top:8px}.workflow-controls button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.refined-flow li{transition:none}.refined-flow li.is-waiting{opacity:1;transform:none}}

/* Skills complement the process without adding another full homepage section. */
.work .project-brand{min-height:0}
.lead-project{grid-template-columns:1fr}
.lead-project .project-copy{max-width:740px}
.skills{margin-top:58px;padding-top:30px;border-top:1px solid var(--line)}
.skills-heading h3{font-size:19px;font-weight:500;letter-spacing:-.35px;margin:0 0 28px}
.skills-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.skills-grid h4{font-size:14px;font-weight:500;margin:0 0 14px}
.skills-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:7px;color:var(--muted);font-size:12px;line-height:1.6}
.skills-grid .skill-tools,.skills-grid .skill-evidence{font-size:11px;line-height:1.8;color:var(--muted);margin:19px 0 0}
@media(max-width:900px){.skills-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}}
@media(max-width:480px){.skills-grid{grid-template-columns:1fr;gap:28px}.skills{margin-top:38px}.skills-heading h3{font-size:18px}.skills-grid h4{margin-bottom:10px}.skills-grid .skill-tools,.skills-grid .skill-evidence{margin-top:12px}}

/* Quiet category symbols and labelled, locally bundled tool marks. */
.skills-grid{gap:26px}
.skill-group{min-width:0;padding-top:20px;border-top:1px solid var(--line)}
.skill-symbol{display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:#706a91;margin-bottom:15px}
.skill-symbol svg{width:25px;height:25px}
.skills-grid h4{min-height:36px;margin-bottom:12px;line-height:1.4}
.skills-grid .tool-list{display:flex;flex-wrap:wrap;gap:9px 14px;margin:22px 0 0}
.skills-grid .tool-list li{display:flex;align-items:center;gap:7px;min-height:30px;font-size:11px;color:#444955;line-height:1.3}
.tool-list img{display:block;object-fit:contain;width:24px;height:24px;opacity:1;flex-shrink:0}
.skills-grid .skill-evidence{border-left:2px solid #dedce9;padding-left:10px;max-width:190px;margin-top:24px}
@media(max-width:900px){.skills-grid{gap:30px}.skills-grid h4{min-height:0}}
@media(max-width:480px){.skills-grid{gap:26px}.skill-group{padding-top:18px}.skill-symbol{float:left;width:26px;height:26px;margin:0 10px 0 0}.skills-grid h4{padding-top:4px;margin-bottom:16px;min-height:26px}.skills-grid .tool-list{margin-top:17px;gap:9px 18px}.skills-grid .tool-list li{min-height:32px;font-size:12px}}

.skills-grid .tool-list{gap:10px 16px}.skills-grid .tool-list li{gap:8px;min-height:34px}.tool-list img[src$="uipath.svg"]{width:30px}

/* Fixed icon slots and equal tool rows keep all four columns aligned. */
.skills-grid .tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;align-content:start}
.skills-grid .tool-list li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:7px;min-height:42px}
.tool-list img,.tool-list img[src$="uipath.svg"]{width:24px;height:24px;justify-self:center}
.tool-list span{line-height:1.45;overflow-wrap:normal}
.skill-group>ul:not(.tool-list){min-height:90px}
.research-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin:22px 0;font-size:13px}
.research-links a{display:inline-flex;gap:12px;align-items:center}
@media(max-width:900px){.skill-group>ul:not(.tool-list){min-height:80px}}
@media(max-width:480px){.skill-group>ul:not(.tool-list){min-height:0}.skills-grid .tool-list{column-gap:16px;row-gap:8px}.skills-grid .tool-list li{grid-template-columns:28px minmax(0,1fr);min-height:42px}.research-links{font-size:12px}.hero .actions{gap:18px}}
.hero .actions>a{white-space:nowrap;flex-shrink:0}
@media(max-width:480px){.hero .actions{display:grid;grid-template-columns:max-content max-content;gap:18px 24px}.hero .actions>.button{grid-column:1/-1;justify-self:start}}
/* Keep the introduction's secondary links comfortable to tap on phones. */
@media(max-width:480px){.hero .actions{row-gap:12px}.hero .actions>.text-link{display:inline-flex;align-items:center;min-height:44px;justify-self:start}}
/* Compact phone rhythm: retain type and icon sizes, remove spare vertical space. */
@media(max-width:480px){
  .skills{margin-top:28px;padding-top:22px}
  .skills-heading h3{margin-bottom:18px}
  .skills-grid{gap:16px}
  .skill-group{padding-top:12px}
  .skills-grid h4{margin-bottom:10px}
  .skill-group>ul:not(.tool-list){gap:3px;line-height:1.5}
  .skills-grid .tool-list{margin-top:10px;row-gap:4px;column-gap:16px}
  .skills-grid .tool-list li{min-height:32px}
}

/* Phone-sized project diagrams: preserve labels, reduce decorative space. */
@media(max-width:680px){
  .work .project{gap:18px}
  .project-visual.automation,.project-visual.segmentation{min-height:0;padding:14px}
  .automation .refined-flow{margin:12px auto}
  .automation .flow-phase{font-size:10px;line-height:1.4;margin-bottom:6px}
  .automation .flow-group ol{gap:7px}
  .automation .flow-group li{gap:9px;padding:7px 9px}
  .automation .flow-group li+li:before{left:22px;top:-8px;height:7px}
  .automation .step-number{padding:6px}
  .automation .flow-group small{line-height:1.4}
  .automation .phase-connector{height:20px;line-height:20px}
  .automation .workflow-controls{margin-top:10px}
  .segmentation .cluster-comparison{gap:12px;margin-top:16px}
  .segmentation .cluster-panel figcaption{min-height:38px;gap:2px}
  .segmentation .cluster-panel figcaption strong{font-size:12px;line-height:1.35}
  .segmentation .plot-axes{margin-top:6px;padding-bottom:18px}
  .segmentation .cluster-plot{height:120px}
  .segmentation .axis-x,.segmentation .axis-y{font-size:10px}
  .segmentation .data-dot{width:4px;height:4px}
  .segmentation .cluster-panel>p{min-height:33px;line-height:1.5;margin-top:4px}
  .segmentation .overlap-label{margin-top:12px}
  .segmentation #overlap{min-height:44px;margin:0 0 8px}
  .segmentation .overlap-endpoints{margin-top:-6px;margin-bottom:10px}
  .segmentation .demo-disclaimer{margin-top:0;padding-top:9px;line-height:1.5}
}
@media(max-width:680px){.segmentation #overlap{margin-top:6px}}

/* Keep each address paired with its own consistently sized copy control. */
.contact-links{gap:16px 28px;align-items:center}
.email-pair{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:12px;align-items:center;min-width:0}
.email-pair a{font-size:12px;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.contact-links .email-pair button{min-height:44px;width:64px;padding:7px 9px;font-size:11px;white-space:nowrap}
.contact .copy-status{min-height:20px;margin-top:6px;font-size:11px!important;color:var(--accent)!important;line-height:1.6}
@media(max-width:680px){.contact-links{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}.email-pair{width:100%}.contact-links>a:last-child{width:auto;justify-self:start;min-height:44px;display:inline-flex;align-items:center;padding:0}.email-pair a{font-size:12px}}
/* Match the experience links to the section's left edge and phone tap targets. */
.cv-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}
.cv-note a{margin-left:0;display:inline-flex;align-items:center;min-height:44px}
@media(max-width:680px){.research-links a{min-height:44px}.email-pair a{min-height:44px;display:flex;align-items:center}}

.keep-together{white-space:nowrap}

.brand-mark.covestro-mark{background:#fff}
#research details[open] summary>span{transform:rotate(45deg)}

/* Consistent disclosure symbols; the framework stays within the expanded story. */
.project summary>span{font-size:17px;color:var(--muted);width:16px;text-align:center}
.project details[open] summary>span{transform:rotate(45deg)}
.decision-framework{margin:20px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.decision-framework figcaption{font:10px/1.6 var(--mono);color:var(--muted);margin-bottom:14px}
.decision-framework .decision-start{font-size:13px;line-height:1.55;color:var(--ink);font-weight:500;max-width:320px}
.decision-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}
.decision-branches>div{border-left:2px solid #d8d5e9;padding-left:12px}
.decision-condition{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
.decision-branches strong{display:block;font-size:13px;font-weight:500;color:var(--ink);line-height:1.4}
.decision-branches p{font-size:12px;line-height:1.55;margin-top:6px;color:var(--muted)}
.project-detail .decision-scope{font-size:12px;line-height:1.65}
@media(max-width:480px){.decision-framework{padding:15px 0}.decision-branches{gap:14px}.decision-branches>div{padding-left:9px}.decision-branches strong{font-size:12px}.decision-branches p{font-size:11px}}

/* A connected three-agent overview with explicit human review handoffs. */
.lead-project{grid-template-columns:repeat(2,minmax(0,1fr))}
.agent-workflow{min-height:0;padding:22px}
.agent-sources{display:flex;flex-wrap:wrap;gap:6px 14px;padding:18px 0 15px;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line)}
.agent-stages{list-style:none;margin:4px 0 0;padding:0}
.agent-stages>li{position:relative;padding:12px 0}
.agent-stages>li+li{border-top:1px solid var(--line)}
.agent-stage{display:grid;grid-template-columns:28px minmax(0,1fr) 16px;gap:12px;align-items:start;width:100%;padding:5px 0;text-align:left;border:0;background:transparent;color:var(--ink);border-radius:3px}
.agent-stage:hover strong,.agent-stage[aria-expanded=true] strong{color:var(--accent)}
.agent-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#efedf9;color:#6254a4;border-radius:50%;font:10px var(--mono);margin-top:12px}
.agent-kicker{display:block;font:9px/1.6 var(--mono);letter-spacing:.25px;color:var(--muted)}
.agent-stage strong{display:block;font-size:15px;font-weight:500;line-height:1.4;margin:3px 0}
.agent-hint{display:block;font-size:11px;line-height:1.5;color:var(--muted)}
.agent-plus{color:#817894;font-size:16px;line-height:1.4;margin-top:15px}
.agent-review{margin:8px 0 0 40px;font-size:10px;line-height:1.55;color:#6b617d}
.agent-review>span{color:#8c7bb4;margin-right:5px}
.agent-cycle{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;margin:10px 0 0 40px;font-size:11px;color:var(--muted)}
.cycle-link{font-size:19px;line-height:1;color:#8679ac}
.agent-cycle .agent-complete{font-size:10px;margin-left:auto;border-bottom:1px solid #b9c8c0;color:#4d6c5d;padding-bottom:2px}
.agent-caption{font-size:10px;color:var(--muted);margin-top:7px}
.agent-detail{border-top:1px solid var(--line);margin-top:14px;padding:18px 22px 22px;border-radius:8px;box-sizing:border-box}
.agent-detail[hidden]{display:none}
.agent-detail>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.agent-detail h4{font-size:13px;line-height:1.5}
.agent-detail button{border:0;background:transparent;color:var(--muted);font-size:11px;min-height:44px;padding:6px 0 6px 10px;white-space:nowrap}
.agent-detail>p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:7px}
@media(max-width:680px){.lead-project{grid-template-columns:1fr}.agent-workflow{padding:15px}.agent-sources{padding:13px 0 11px;gap:5px 12px}.agent-stages>li{padding:10px 0}.agent-stage{grid-template-columns:24px minmax(0,1fr) 14px;gap:9px}.agent-number{width:24px;height:24px}.agent-stage strong{font-size:14px}.agent-kicker{font-size:8px}.agent-review,.agent-cycle{margin-left:33px}.agent-cycle .agent-complete{margin-left:0}.agent-detail>p{font-size:12px}}
.agent-stages>li:not(:last-child):after{content:'';position:absolute;left:14px;top:57px;bottom:-29px;border-left:1px solid #d8d3e8;pointer-events:none}
.agent-stages>li+li{border-top:0}
.agent-stages>li+li:before{content:'';position:absolute;top:0;left:40px;right:0;border-top:1px solid var(--line)}
.agent-number{position:relative;z-index:1}
@media(max-width:680px){.agent-stages>li:not(:last-child):after{left:12px;top:51px;bottom:-27px}.agent-stages>li+li:before{left:33px}}
.agent-review,.agent-caption{font-size:11px}
.agent-cycle .agent-complete{font-size:11px;border-bottom:0}

/* Review and escalation remain visible while the sequence highlights handoffs. */
.agent-escalation{margin:9px 0 0 40px;font-size:11px;line-height:1.55;color:#72674f}
.agent-detail-copy p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:9px}
.agent-motion-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.agent-motion-controls[hidden]{display:none}
.agent-motion-controls button{min-height:44px;border:1px solid #dbd9e6;background:#fff;border-radius:5px;padding:6px 10px;font-size:11px;color:#626078}
.agent-motion-controls>span{font-size:9px;line-height:1.5;color:var(--muted);margin-left:auto}
.agent-number{transition:background .3s ease,color .3s ease,box-shadow .3s ease}
.agent-active .agent-number{background:#6352a3;color:#fff;box-shadow:0 0 0 4px #6352a311}
.agent-completed .agent-number{background:#e8efeb;color:#4c6a59}
.agent-active .agent-review{color:#58487d}
.agent-stages>li.agent-active:after{border-left-color:#9481ba}
.agent-sequence-playing .agent-active .cycle-link{animation:agent-cycle-pulse 1s ease-in-out infinite}
@keyframes agent-cycle-pulse{0%,100%{opacity:.45;transform:translateX(-2px)}50%{opacity:1;transform:translateX(2px)}}
@media(max-width:680px){.agent-escalation{margin-left:33px}.agent-motion-controls>span{margin-left:0}.agent-detail-copy p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.agent-number{transition:none}.agent-sequence-playing .cycle-link{animation:none}}

/* Concise case summaries and an explicit trigger / work / verify flow. */
.project-points{padding-left:18px;margin:0;display:grid;gap:13px;color:var(--muted);font-size:13px;line-height:1.65}
.project-points li{padding-left:3px}.project-points strong{font-weight:500;color:var(--ink)}
.project-detail .project-evidence{font-size:12px;margin-top:18px}
.agent-trigger{display:flex;align-items:center;gap:7px;font-size:12px;margin-top:19px;color:var(--ink)}
.agent-trigger>span:last-child{margin-left:auto;color:var(--muted);font:9px var(--mono)}
.agent-sources{padding-top:9px;font-size:10px}
.agent-stages>li{padding:11px 0}
.agent-stages>li+li:before{left:40px}
.agent-kicker{font-size:8px}.agent-hint{font-size:11px}
.agent-review{font-size:10px;margin-top:6px}
.audit-loop{margin:0 0 0 30px}.audit-loop svg{width:100%;height:auto;display:block;max-height:145px}
.audit-loop rect{fill:#faf9fd;stroke:#dad6e9}.audit-loop text{font:12px 'DM Sans',Arial,sans-serif;fill:var(--ink);text-anchor:middle}
.audit-loop .audit-note{font-size:10px;fill:var(--muted)}
.audit-flow,.audit-return{fill:none;stroke:#8b82b7;stroke-width:1.3;marker-end:url(#audit-arrow)}
.agent-sequence-playing .agent-active .audit-return{stroke-dasharray:5 5;animation:audit-travel 1.2s linear infinite}
.agent-detail>.agent-detail-copy{display:block}
@keyframes audit-travel{to{stroke-dashoffset:-20}}
@media(max-width:680px){.project-points{font-size:13px;gap:11px}.audit-loop{margin-left:20px}.agent-workflow{padding:15px}.agent-review{font-size:11px}}
@media(prefers-reduced-motion:reduce){.agent-sequence-playing .audit-return{animation:none;stroke-dasharray:none}}
@media(max-width:680px){.audit-loop{margin-left:0}.audit-loop text{font-size:16px}.audit-loop .audit-note{font-size:13px}}
/* Keep the lead project heading evenly wrapped at narrow widths. */
#ai-feedback h3{text-wrap:balance}

.contact-profiles{display:flex;align-items:center;gap:24px;margin-left:auto}.contact-profiles a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:680px){.contact-profiles{margin-left:0;justify-self:start}}
@media(max-width:480px){.hero .actions{grid-template-columns:repeat(3,max-content);column-gap:16px}.hero .actions>.text-link{font-size:12px;gap:8px}}

/* Portrait introduces Prima; the separate collage keeps the focus on her photography. */
.about-intro{display:grid;grid-template-columns:124px minmax(0,1fr);gap:24px;align-items:center;margin-bottom:24px}
.about-portrait img{display:block;width:100%;height:auto;border-radius:6px}
.about-intro .about-lead{font-size:19px;line-height:1.55;letter-spacing:-.25px;color:var(--ink)}
@media(min-width:681px) and (max-width:950px){.about-intro{grid-template-columns:96px minmax(0,1fr);gap:18px}.about-intro .about-lead{font-size:16px}}
@media(max-width:680px){.about-intro{grid-template-columns:96px minmax(0,1fr);gap:20px;margin-bottom:22px}.about-intro .about-lead{font-size:16px;line-height:1.6}}
@media(max-width:360px){.about-intro{grid-template-columns:84px minmax(0,1fr);gap:16px}.about-intro .about-lead{font-size:15px}}

/* Three connected, clickable stages: details stay out of the default view. */
.orbit-workflow{padding:24px}
.orbit-sources{font-size:11px;color:var(--muted);margin-top:22px;text-align:center}
.orbit-workflow .agent-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0 0;padding:0}
.orbit-workflow .agent-stages>li{padding:0;--stage-colour:#4c8194}
.orbit-workflow .agent-stages>li:nth-child(2){--stage-colour:#74659b}
.orbit-workflow .agent-stages>li:nth-child(3){--stage-colour:#54816e}
.orbit-workflow .agent-stages>li:before{display:none}
.orbit-workflow .agent-stages>li:not(:last-child):after{content:'';position:absolute;top:45px;left:calc(50% + 45px);right:-55%;height:26px;bottom:auto;border:0;border-top:1px solid #c5bfd5;border-right:1px solid #c5bfd5;border-radius:0 0 16px 0;z-index:0}
.orbit-workflow .agent-stage{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:0;padding:0;min-height:156px;text-align:center;border-radius:8px}
.stage-orbit{width:90px;height:90px;border:7px solid var(--stage-colour);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf1f6;transition:box-shadow .25s,transform .25s}
.stage-orbit svg{width:30px;height:30px;fill:none;stroke:var(--stage-colour);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.orbit-label{display:flex;gap:7px;align-items:center;margin-top:14px;font-size:14px;font-weight:500;color:var(--ink)}
.orbit-workflow .agent-plus{margin:0;font-size:14px;line-height:1;color:var(--stage-colour)}
.orbit-hint{font:9px/1.6 var(--mono);color:var(--muted);margin-top:3px}
.orbit-workflow .agent-stage:hover .stage-orbit,.orbit-workflow .agent-stage[aria-expanded=true] .stage-orbit{box-shadow:0 0 0 5px #74659b17;transform:translateY(-2px)}
.orbit-workflow .agent-active .stage-orbit{box-shadow:0 0 0 5px #74659b22;transform:translateY(-3px)}
.orbit-feedback{display:flex;align-items:center;gap:12px;border-top:1px solid #d7d3e3;margin:5px 20px 20px;padding-top:10px;color:var(--muted);font-size:11px}
.orbit-feedback p{flex:1;text-align:center}.orbit-feedback>span{font-size:19px;color:#8b80a6}
.orbit-workflow .agent-caption{text-align:center;font-size:11px}
.orbit-workflow .agent-motion-controls{justify-content:center;border-top:0;margin-top:10px;padding-top:0}
.about-portrait img{aspect-ratio:1;object-fit:cover;object-position:50% 50%}
.alumni-sharing{display:grid;grid-template-columns:1fr 1fr;gap:68px;margin-top:48px;padding-top:40px;border-top:1px solid #d9dce4;align-items:start}
.alumni-copy h3{font-size:26px;line-height:1.3;letter-spacing:-.6px;margin:12px 0 17px}
.alumni-copy>p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.7}
.alumni-copy>p.alumni-note{font-size:11px;margin-top:16px}
.alumni-sharing figure>img,.sharing-slides>img{display:block;width:100%;height:auto;border-radius:5px}
.alumni-sharing figcaption{font-size:10px;color:var(--muted);margin-top:9px}
.sharing-slides{margin-top:16px}.sharing-slides summary{display:flex;align-items:center;gap:20px;cursor:pointer;font-size:12px;min-height:44px;list-style:none;color:var(--ink)}
.sharing-slides summary::-webkit-details-marker{display:none}.sharing-slides summary>span{font-size:17px;color:var(--muted)}.sharing-slides[open] summary>span{transform:rotate(45deg)}
.sharing-slides img{margin-top:12px;max-width:420px}
@media(max-width:950px){.orbit-workflow .agent-stages{gap:12px}.stage-orbit{width:76px;height:76px;border-width:6px}.orbit-workflow .agent-stages>li:not(:last-child):after{top:38px;left:calc(50% + 38px)}.orbit-label{font-size:12px}.alumni-sharing{gap:38px}}
@media(max-width:680px){.orbit-workflow{padding:16px}.orbit-workflow .agent-stages{gap:12px;margin-top:24px}.stage-orbit{width:72px;height:72px;border-width:6px}.stage-orbit svg{width:26px;height:26px}.orbit-workflow .agent-stages>li:not(:last-child):after{top:36px;left:calc(50% + 36px);right:-58%}.orbit-workflow .agent-stage{min-height:139px}.orbit-label{font-size:12px;gap:5px}.orbit-hint{font-size:9px}.orbit-feedback{margin:0 0 16px;font-size:10px}.orbit-sources{font-size:10px}.alumni-sharing{grid-template-columns:1fr;gap:23px;margin-top:32px;padding-top:28px}.alumni-copy h3{font-size:24px}.alumni-copy>p:not(.eyebrow){font-size:14px}.alumni-sharing figcaption{font-size:11px}}
@media(max-width:360px){.stage-orbit{width:62px;height:62px;border-width:5px}.orbit-workflow .agent-stages{gap:8px}.orbit-workflow .agent-stages>li:not(:last-child):after{top:31px;left:calc(50% + 31px)}.orbit-label{font-size:11px}.orbit-workflow .agent-stage{min-height:130px}}
@media(prefers-reduced-motion:reduce){.stage-orbit{transition:none}}

/* Explicit agent ownership and the requested engineering-loop terminology. */
.stage-orbit{flex-direction:column;gap:3px}
.orbit-agent{font:9px/1.2 var(--mono);color:var(--stage-colour)}
.orbit-hint{max-width:126px;text-wrap:balance;min-height:29px}
.about-intro{grid-template-columns:144px minmax(0,1fr)}
.about-portrait{overflow:hidden;aspect-ratio:1;border-radius:6px}
.about-portrait img{width:100%;height:100%;transform:none;object-position:50% 50%}
@media(min-width:681px) and (max-width:950px){.about-intro{grid-template-columns:108px minmax(0,1fr)}}
@media(max-width:680px){.about-intro{grid-template-columns:112px minmax(0,1fr)}.orbit-agent{font-size:8px}.stage-orbit{gap:2px}.orbit-hint{min-height:43px}}
@media(max-width:360px){.about-intro{grid-template-columns:96px minmax(0,1fr)}.stage-orbit svg{width:23px;height:23px}.orbit-agent{font-size:8px}.stage-orbit{gap:1px}}
/* Sequence controls change the visible diagram, not just an imperceptible ring. */
.orbit-workflow [data-sequence-state=waiting] .agent-stage{opacity:.35;transition:opacity 220ms ease}
.orbit-workflow [data-sequence-state=active] .stage-orbit{box-shadow:0 0 0 6px #74659b24;transform:translateY(-3px) scale(1.04);background:#fff}
.orbit-workflow [data-sequence-state=complete] .stage-orbit{opacity:1}
.orbit-workflow .agent-active:not(:last-child)::after{border-top-color:var(--stage-colour)}
.orbit-workflow .agent-caption{min-height:18px;color:#4c4660;font-weight:500}
.agent-all-stage+.agent-all-stage{border-top:1px solid #dedbe8;margin-top:18px;padding-top:18px}
.agent-all-stage h5{font-size:13px;line-height:1.5;font-weight:500;margin:0 0 7px;color:var(--ink)}
.agent-all-stage p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 10px}
.agent-motion-controls button:disabled{opacity:.5;cursor:default}
@media(prefers-reduced-motion:reduce){.orbit-workflow [data-sequence-state=active] .stage-orbit{transform:none}.orbit-workflow [data-sequence-state=waiting] .agent-stage{transition:none}}

/* The overlap control belongs to the analytical chart, not the coral navigation. */
#overlap{accent-color:var(--ink)}
#overlap:focus-visible{outline-color:var(--ink)}
.overlap-label output{color:var(--ink)}

/* Connect only the space between circles; keep their surfaces opaque during replay. */
.orbit-workflow .agent-stages{--orbit-radius:45px;--orbit-gap:20px}
.orbit-workflow .agent-stages>li:not(:last-child)::after{top:var(--orbit-radius);left:calc(50% + var(--orbit-radius));right:auto;width:calc(100% + var(--orbit-gap) - 2 * var(--orbit-radius));height:0;border-right:0;border-radius:0}
.orbit-workflow [data-sequence-state=waiting] .agent-stage{opacity:1}
.orbit-workflow [data-sequence-state=waiting] .stage-orbit{border-color:#bbc6d2;background:#edf1f6}
.orbit-workflow [data-sequence-state=waiting] .stage-orbit>*,.orbit-workflow [data-sequence-state=waiting] .orbit-label,.orbit-workflow [data-sequence-state=waiting] .orbit-hint{opacity:.4}
@media(max-width:950px){.orbit-workflow .agent-stages{--orbit-radius:38px;--orbit-gap:12px}}
@media(max-width:680px){.orbit-workflow .agent-stages{--orbit-radius:36px}}
@media(max-width:360px){.orbit-workflow .agent-stages{--orbit-radius:31px;--orbit-gap:8px}}

@media(max-width:680px){.agent-detail{padding:16px 18px 20px}}
