.more-work-float {
  position: fixed;
  top: 82px;
  right: clamp(14px, 3vw, 42px);
  z-index: 19;
  width: 172px;
  color: var(--ink);
  filter: drop-shadow(0 16px 28px rgba(3, 12, 27, 0.22));
  transition: width 180ms ease;
}

.more-work-float[open] {
  width: 390px;
}

.more-work-float summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  padding: 9px 11px;
  color: var(--white);
  background: linear-gradient(115deg, rgba(8, 84, 102, 0.88), rgba(6, 19, 38, 0.95) 58%, rgba(68, 42, 75, 0.9));
  cursor: pointer;
  list-style: none;
  backdrop-filter: blur(14px);
}

.more-work-float summary::-webkit-details-marker { display: none; }

.more-work-summary-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  color: #8de5e9;
  background: rgba(255, 255, 255, 0.08);
}

.more-work-summary-icon svg,
.more-work-project-icon svg,
.more-work-chevron,
.more-work-external {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.more-work-summary-icon svg { width: 18px; height: 18px; }

.more-work-summary-text {
  min-width: 0;
  flex: 1;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.2;
}

.more-work-open { display: none; }

.more-work-open em {
  display: block;
  margin-top: 2px;
  color: #9be7e7;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
}

.more-work-float[open] .more-work-closed { display: none; }
.more-work-float[open] .more-work-open { display: block; }

.more-work-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 160ms ease;
}

.more-work-float[open] .more-work-chevron { transform: rotate(180deg); }

.more-work-float nav {
  display: grid;
  gap: 7px;
  overflow: hidden;
  margin-top: 7px;
  max-height: calc(100vh - 145px);
  overflow-y: auto;
  border: 1px solid rgba(198, 215, 226, 0.9);
  border-radius: var(--radius);
  padding: 8px;
  background: rgba(247, 251, 255, 0.96);
  backdrop-filter: blur(16px);
}

.more-work-float nav a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  min-height: 104px;
  border: 1px solid rgba(26, 80, 98, 0.12);
  border-radius: 7px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(20, 34, 59, 0.045);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.more-work-float nav a:hover,
.more-work-float nav a:focus-visible {
  border-color: rgba(8, 127, 140, 0.42);
  box-shadow: 0 12px 26px rgba(20, 34, 59, 0.1);
  transform: translateY(-2px);
}

.more-work-project-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: var(--teal-dark);
  background: linear-gradient(145deg, #e5f8f8, #f4fbff);
}

.more-work-project-icon.icon-rise { color: #a3583c; background: linear-gradient(145deg, #fff0e7, #fff9f4); }
.more-work-project-icon.icon-bench { color: #9b5c38; background: linear-gradient(145deg, #fff1e2, #fff9f2); }
.more-work-project-icon.icon-urban { color: #625194; background: linear-gradient(145deg, #eee9ff, #faf8ff); }
.more-work-project-icon.icon-gpt { color: #30715d; background: linear-gradient(145deg, #e5f5ec, #f5fcf8); }
.more-work-project-icon svg { width: 24px; height: 24px; }

.more-work-project-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.more-work-project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.more-work-project-top strong { font-size: 0.98rem; }

.more-work-project-top > span {
  border-radius: 999px;
  padding: 3px 7px;
  color: var(--teal-dark);
  background: var(--mist);
  font-size: 0.62rem;
  font-weight: 850;
  white-space: nowrap;
}

.more-work-project-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.more-work-external {
  width: 17px;
  height: 17px;
  color: #799098;
  transition: color 160ms ease, transform 160ms ease;
}

.more-work-float nav a:hover .more-work-external,
.more-work-float nav a:focus-visible .more-work-external {
  color: var(--teal);
  transform: translate(1px, -1px);
}

@media (max-width: 620px) {
  .more-work-float {
    top: 76px;
    right: 12px;
    width: 160px;
  }

  .more-work-float[open] {
    width: min(372px, calc(100vw - 24px));
  }
}
