/* Focused extensions to the approved portfolio design. */
[hidden] {
  display: none !important;
}
.desk-object {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.desk-object[data-draggable] {
  cursor: grab;
  -webkit-touch-callout: none;
}
.desk-object[data-draggable],
.desk-object[data-draggable] * {
  touch-action: none;
}
.desk-object.dragging {
  cursor: grabbing;
  filter: drop-shadow(0 8px 4px #25291f30);
}
.desk.is-dragging {
  user-select: none;
  -webkit-user-select: none;
}
.employer-group {
  border-left: 2px solid #b9c5ff;
  padding-left: 22px;
}
.experience-list .employer-group details:last-child {
  border-bottom: 0;
}
.employer-name {
  font-size: 28px;
  padding-top: 23px;
  letter-spacing: -0.04em;
}
.employer-name > span {
  display: block;
  font: 10px/1.8 var(--mono);
  color: #bbc2ad;
  margin-top: 8px;
}
.experience-list summary h4 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.experience-list summary {
  grid-template-columns: minmax(0, 1fr) 24px;
}
.experience-list summary .exp-toggle {
  align-self: center;
  justify-self: center;
  width: 20px;
  height: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.experience-location {
  font: 10px/1.8 var(--mono);
  margin-bottom: 13px;
}
.experience-intro > .experience-linkedin {
  margin-left: 20px;
}
.project-info > .project-status,
.project-status {
  font: 10px/1.9 var(--mono);
  color: var(--muted);
  margin-block: 0 15px;
}
.project-info > .project-status.wip-status {
  color: var(--blue-dark);
}
.project-info > .project-current {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
}
.external-offline {
  font: 10px/1.8 var(--mono);
  color: var(--muted);
}
.project-facts .external-offline {
  display: block;
  margin-top: 8px;
}
.page-hero > .project-status {
  margin-top: 24px;
  margin-bottom: -10px;
}
.wip-screenshot .browser-frame img {
  aspect-ratio: 1.18;
  object-fit: cover;
  object-position: top;
}
.wip-screenshot::after {
  content: "03 / LOCAL DEMO. WORK IN PROGRESS.";
}
.psx-visual {
  background: #e1e7da;
  padding: 30px;
}
.psx-visual::after {
  content: "04 / ARCHITECTURE SKETCH. WORK IN PROGRESS.";
}
.issue-case-image img {
  max-width: 850px;
  margin-inline: auto;
}
.resume-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding-block: 35px 70px;
}
.resume-note h3 {
  font-size: 29px;
  margin-block: 12px;
}
.resume-note p:not(.eyebrow) {
  max-width: 510px;
  color: var(--muted);
  font-size: 13px;
}
.resume-note .actions {
  flex-shrink: 0;
}
.coffee-invite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  min-height: 130px;
}
.coffee-invite > .mono {
  font-size: 10px;
  color: var(--muted);
}
.coffee-invite .patch-key {
  width: 110px;
  height: 90px;
  transform: rotate(-3deg);
}
.coffee-invite .patch-key:active {
  transform: translateY(5px) rotate(-3deg);
}
.desk-dialog.coffee-open {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  padding: 28px;
}
.coffee-open .dialog-close {
  position: sticky;
  top: 0;
  float: right;
  margin: -8px -8px -28px 0;
  background: var(--paper);
  z-index: 2;
}
.coffee-open h2 {
  font-size: 36px;
  margin-block: 12px;
}
.coffee-open .dialog-description {
  font-size: 13px !important;
}
.puzzle .puzzle-network {
  margin-block: 27px;
}
.puzzle .system-wire {
  height: 24px;
  background: none;
}
.puzzle .system-wire::after {
  content: none;
}
.puzzle .system-wire > svg {
  width: 100%;
  height: 24px;
  overflow: visible;
  display: block;
}
.puzzle .wire-line,
.puzzle .wire-arrow {
  fill: none;
  stroke: #849574;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.puzzle--archive [data-wire="right"] .wire-line,
.puzzle--archive [data-wire="right"] .wire-arrow {
  stroke: #e6b46f;
}
.puzzle--archive[data-verified="true"] [data-wire="right"] .wire-line {
  stroke: #b9c5ff;
}
.puzzle--archive[data-completed="true"] [data-wire="right"] .wire-line,
.puzzle--archive[data-completed="true"] [data-wire="right"] .wire-arrow {
  stroke: #afcc90;
}
.puzzle .signal-dot {
  opacity: 0;
  fill: none;
  stroke: var(--blue);
  stroke-width: 6px;
  transform-origin: 0 12px;
}
.puzzle--archive .signal-dot {
  stroke: #c1ccff;
}
.puzzle [data-transmission="failed"] .signal-dot {
  stroke: #b27526;
}
.puzzle--archive [data-transmission="failed"] .signal-dot {
  stroke: #f3b46b;
}
.puzzle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.puzzle-button {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 10px 13px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
  transition:
    background 160ms,
    border-color 160ms;
}
.puzzle-button:hover:not(:disabled) {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.puzzle-button:disabled {
  opacity: 0.5;
}
.puzzle-button.secondary-control {
  background: transparent;
  color: var(--ink);
  border-color: #a6aa98;
}
.puzzle--archive .puzzle-button {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.puzzle--archive .puzzle-button:hover:not(:disabled) {
  background: var(--yellow);
  border-color: var(--yellow);
}
.puzzle--archive .puzzle-button.secondary-control {
  color: var(--paper);
  background: transparent;
  border-color: #7d876b;
}
.puzzle--archive :focus-visible {
  outline-color: #c5ceff;
}
.puzzle-reset {
  min-height: 44px;
  margin-left: auto;
}
.puzzle-feedback {
  border-block: 1px solid var(--line);
  margin-top: 22px;
  padding-block: 17px;
}
.puzzle--archive .puzzle-feedback {
  border-color: #ffffff30;
}
.puzzle-phase {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--muted);
}
.puzzle--archive .puzzle-phase {
  color: #c0cbb3;
}
.puzzle.puzzle--coffee p.puzzle-result,
.puzzle--archive .puzzle-result {
  font: 11px/1.9 var(--mono);
  margin-block: 8px 0;
  min-height: 43px;
  color: var(--ink);
}
.puzzle--archive .puzzle-result {
  color: #e2e7d8;
}
.puzzle[data-completed="true"] .puzzle-phase::before {
  content: "✓ ";
}
.diagnostic-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  font: 9px/1.8 var(--mono);
  color: var(--muted);
  margin-top: 12px;
}
.diagnostic-summary strong {
  font-weight: 400;
}
.puzzle--archive .diagnostic-summary {
  color: #bac3ae;
}
.diagnostic-summary [data-result="failed"] {
  color: #9e4f16;
}
.puzzle--archive .diagnostic-summary [data-result="failed"] {
  color: #f2bb80;
}
.diagnostic-summary [data-result="passed"] {
  color: #3f6130;
}
.puzzle--archive .diagnostic-summary [data-result="passed"] {
  color: #b8d89a;
}
.puzzle-inspection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}
.puzzle-inspection summary {
  cursor: pointer;
  min-height: 38px;
  padding-block: 8px;
  font: 10px/1.8 var(--mono);
}
.puzzle-inspection fieldset {
  padding: 0;
  margin: 12px 0;
  border: 0;
}
.puzzle-inspection label {
  display: block;
  font-size: 11px;
  margin-bottom: 8px;
}
.puzzle-inspection input,
.puzzle-inspection select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #999f8b;
  background: var(--white);
  color: var(--ink);
  font: 12px var(--mono);
  padding: 10px;
  border-radius: 0;
}
.puzzle--archive .puzzle-inspection input,
.puzzle--archive .puzzle-inspection select {
  background: #303729;
  color: var(--paper);
  border-color: #818b73;
}
.endpoint-data {
  margin-block: 12px;
}
.endpoint-data > div {
  margin-bottom: 10px;
}
.endpoint-data dt {
  font: 9px/1.8 var(--mono);
  color: var(--muted);
}
.endpoint-data dd {
  font: 11px/1.8 var(--mono);
  margin: 1px 0 0;
  overflow-wrap: anywhere;
}
.puzzle--archive .endpoint-data dt {
  color: #bac3ae;
}
.puzzle.puzzle--coffee p.puzzle-hint {
  font: 10px/1.8 var(--mono);
  color: var(--muted);
}
.puzzle .puzzle-hint {
  font: 10px/1.8 var(--mono);
  color: #bac3ae;
}
.puzzle.puzzle--coffee p.puzzle-disclaimer {
  font: 9px/1.8 var(--mono);
  color: var(--muted);
  margin-top: 17px;
}
.puzzle-subtitle {
  font-size: 13px;
  color: #c3c9b8;
  margin-top: 8px;
}
.puzzle--coffee .system-node {
  border-color: #a7af9a;
  padding-inline: 6px;
}
.puzzle--coffee .system-node strong {
  font-size: 10px;
}
.puzzle--coffee .system-node .node-state {
  font-size: 8px;
  color: var(--muted);
}
.puzzle--coffee .system-node svg {
  stroke: #69755a;
  width: 31px;
  height: 31px;
}
.puzzle--coffee .system-wire {
  max-width: 45px;
}
.puzzle--archive .system-node .node-state {
  font-size: 9px;
}
@media (max-width: 900px) {
  .resume-note {
    align-items: start;
    flex-direction: column;
  }
  .experience-intro > .experience-linkedin {
    margin-left: 0;
    display: table;
  }
  .employer-name {
    font-size: 25px;
  }
  .employer-group {
    padding-left: 17px;
  }
  .experience-list summary h4 {
    font-size: 19px;
  }
  .puzzle-reset {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .employer-group {
    padding-left: 15px;
  }
  .experience-list summary h4 {
    font-size: 20px;
  }
  .project-info > .project-status {
    font-size: 9px;
  }
  .puzzle-actions {
    gap: 8px;
  }
  .puzzle-button {
    font-size: 10px;
    padding-inline: 10px;
  }
  .puzzle-inspection {
    gap: 14px;
  }
  .puzzle.puzzle--coffee p.puzzle-result,
  .puzzle--archive .puzzle-result {
    font-size: 10px;
  }
  .puzzle .system-node strong {
    font-size: 9px;
  }
  .puzzle--archive .system-node .node-state {
    font-size: 8px;
  }
  .puzzle .system-wire {
    min-width: 18px;
  }
  .coffee-invite {
    justify-content: flex-start;
    margin-top: 12px;
    gap: 26px;
  }
  .desk-dialog.coffee-open {
    padding: 23px 19px;
  }
  .coffee-open h2 {
    font-size: 31px;
  }
  .coffee-open .dialog-description {
    font-size: 12px !important;
  }
  .puzzle--coffee .system-node svg {
    width: 25px;
    height: 25px;
  }
  .puzzle--coffee .system-node {
    padding: 12px 4px;
  }
  .resume-note {
    padding-bottom: 45px;
  }
  .resume-note h3 {
    font-size: 27px;
  }
  .wip-screenshot .browser-frame img {
    aspect-ratio: 1.12;
  }
  .psx-visual {
    padding: 15px;
  }
}
@media (max-width: 380px) {
  .puzzle-inspection {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .puzzle--archive .puzzle-actions .puzzle-button {
    flex: 1 1 45%;
  }
  .puzzle--coffee .puzzle-actions .puzzle-button {
    flex: 1 1 100%;
  }
  .coffee-invite {
    gap: 20px;
  }
  .coffee-invite > .mono {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .puzzle-button,
  .coffee-invite .patch-key {
    transition: none;
  }
}
