.project-history{
  --history-work:var(--sand);
  --history-personal:var(--off);
  --history-school:#a89c8a;
  --history-competition:#d7c49a;
  --history-unset:var(--sand-dim);
}
.project-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.project-history-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.project-history-controls{display:flex;flex-wrap:wrap;gap:.65rem}
.project-view-filter select{min-height:44px;padding:.65rem 2.5rem .65rem .9rem;border:1px solid var(--dim);border-radius:0;background:var(--bg);color:var(--sand);font:400 .78rem var(--sans);letter-spacing:.06em;cursor:pointer;color-scheme:dark}
.project-view-filter select:focus-visible{outline:1px solid var(--sand);outline-offset:3px}
.project-count{margin-left:auto;font-size:.7rem;letter-spacing:.08em;color:var(--sand-dim)}
.project-history-table{position:relative}
.project-history-graph{position:absolute;top:0;left:0;width:48px;height:100%;pointer-events:none;overflow:visible}
.project-history-graph path{fill:none;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.project-history-trunk{stroke:var(--history-unset);opacity:.55}
.project-history-dot{fill:var(--project-node-color);stroke:var(--project-node-color);stroke-width:1;filter:drop-shadow(0 0 4px var(--project-node-color))}
.project-history-dot-core{fill:#eeeeee;opacity:.7}
.project-history-node.is-highlighted{--project-glow-opacity:.7}
.project-history-node.is-highlighted .project-history-dot{stroke-width:1.5;filter:drop-shadow(0 0 7px var(--project-node-color))}
.project-history-node.is-highlighted .project-history-dot-core{fill:#fff;opacity:1}
.project-history-halo{fill:none;stroke:var(--project-node-color);stroke-width:1;opacity:0;transform-origin:0 0;animation:project-node-glow 3.2s var(--project-pulse-delay,0s) ease-out infinite}
@keyframes project-node-glow{0%{transform:scale(.8);opacity:var(--project-glow-opacity,.4)}70%,100%{transform:scale(1.7);opacity:0}}
.projects-entering .project-history-node,.projects-entering .project-history-graph path{opacity:0}
.projects-entering .page-head,.projects-entering .project-history-toolbar,.projects-entering .project-table thead,
.projects-entering .project-row,.projects-entering .page-tail,.projects-entering .page-footer{animation:none;visibility:hidden;opacity:0}
.projects-entering.projects-revealing .page-head,.projects-entering.projects-revealing .project-history-toolbar,
.projects-entering.projects-revealing .project-table thead,.projects-entering.projects-revealing .project-row,
.projects-entering.projects-revealing .page-tail,.projects-entering.projects-revealing .page-footer{visibility:visible;opacity:var(--projects-reveal,0)}
.projects-entering .project-table th,.projects-entering .project-row td,.projects-entering .project-row,.projects-entering .page-main{border-color:transparent}
.projects-entering .project-history-halo,.project-glow-paused .project-history-halo{animation-play-state:paused}
[data-project-type="work"]{--project-type-color:var(--history-work)}
[data-project-type="personal"]{--project-type-color:var(--history-personal)}
[data-project-type="school"]{--project-type-color:var(--history-school)}
[data-project-type="competition"]{--project-type-color:var(--history-competition)}
[data-project-type="unset"]{--project-type-color:var(--history-unset)}
.project-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}
.project-col-graph{width:48px}
.project-col-type{width:128px}
.project-col-name{width:28%}
.project-col-updated{width:128px}
.project-table th{padding:.8rem 1rem .8rem 0;border-bottom:1px solid var(--line);font-size:.62rem;line-height:1.5;font-weight:400;letter-spacing:.15em;text-transform:uppercase;color:var(--sand)}
.project-table th:first-child{border:0}
.project-row{cursor:pointer;transition:background .2s}
.project-row:hover,.project-row:focus-within{background:rgba(200,184,154,.045)}
.project-row td{padding:1.35rem 1rem 1.35rem 0;border-bottom:1px solid var(--line);vertical-align:middle}
.project-row .project-graph-cell{border:0;padding:0}
.project-type-badge{display:inline-block;font-size:.95rem;line-height:1.4;color:var(--project-type-color);white-space:nowrap}
.project-unset{font-size:.8rem;color:var(--sand-dim)}
.project-title-button{display:block;width:100%;padding:.35rem 0;min-height:44px;border:0;background:none;text-align:left;font:400 clamp(1.2rem,1.8vw,1.5rem)/1.15 var(--serif);color:var(--off);text-decoration:none;cursor:pointer;transition:color .2s;overflow-wrap:anywhere}
.project-title-button:hover,.project-row:focus-within .project-title-button{color:var(--sand)}
.project-title-button:focus-visible{outline:1px solid var(--sand);outline-offset:5px}
.project-function-copy{font-size:.8rem;line-height:1.7;letter-spacing:.02em;color:#a89c8a;overflow-wrap:anywhere}
.project-updated{font-size:.95rem;line-height:1.4;font-variant-numeric:tabular-nums;color:var(--sand-dim);white-space:nowrap}
.project-mobile-label{display:none}
.project-history-empty{padding:3rem 1rem;border-bottom:1px solid var(--line);text-align:center;color:var(--sand-dim);font-size:.85rem;line-height:1.7}
.project-history-empty[hidden]{display:none}
.work-transitioning{overflow:hidden}
.work-transitioning>*{pointer-events:none}
.work-transitioning nav,.work-transitioning .page-head,.work-transitioning .project-history-toolbar,
.work-transitioning .project-table thead,.work-transitioning .page-tail,.work-transitioning .page-footer,
.work-transitioning .project-history-empty,.work-transitioning .project-modal{animation:none;opacity:0;transition:opacity .28s ease}
.work-transitioning .project-row{background:none;border-color:transparent}
.work-transitioning .project-row td,.work-transitioning .project-table th,.work-transitioning .page-main{border-color:transparent}
.work-transitioning .project-row td>*,.work-transitioning .project-history-graph{visibility:hidden}
.project-collapse-overlay{position:fixed;inset:0;z-index:1000;overflow:hidden;pointer-events:none}
.project-collapse-scene{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.project-collapse-text-layer{position:absolute;top:0;left:0;transform-origin:0 0;pointer-events:none}
.project-collapse-text{position:absolute;transform-origin:50% 50%;will-change:transform,opacity}
.project-collapse-core{filter:drop-shadow(0 0 10px var(--collapse-wave))}
.project-collapse-ring{fill:none;stroke:var(--collapse-wave);stroke-width:2;filter:drop-shadow(0 0 8px var(--collapse-wave))}
@media(max-width:1000px) and (min-width:701px){
  .project-col-type{width:120px}
  .project-col-updated{width:112px}
  .project-row td{padding-right:.75rem}
}
@media(max-width:700px){
  .project-history-toolbar{margin-bottom:1rem}
  .project-history-graph{width:32px}
  .project-table,.project-table tbody{display:block}
  .project-table colgroup{display:none}
  .project-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .project-row{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(0,1fr);grid-template-areas:"graph name name" "graph function function" "graph type updated";column-gap:0;row-gap:.6rem;padding:1.25rem 0;border-top:1px solid var(--line)}
  .project-row:last-child{border-bottom:1px solid var(--line)}
  .project-row td{display:block;min-width:0;padding:0 .65rem 0 0;border:0}
  .project-graph-cell{grid-area:graph}
  .project-type-cell{grid-area:type}
  .project-name-cell{grid-area:name}
  .project-function-cell{grid-area:function}
  .project-updated-cell{grid-area:updated}
  .project-title-button{padding:0;font-size:1.5rem;line-height:1.15}
  .project-function-copy{font-size:.9rem;line-height:1.65}
  .project-mobile-label{display:block;margin-bottom:.35rem;font-size:.58rem;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;color:var(--sand-dim)}
  .project-type-cell,.project-updated-cell{margin-top:.3rem}
  .project-unset{font-size:.78rem}
}
@media(prefers-reduced-motion:reduce){
  .project-history-halo{animation:none;opacity:.15}
}
